diff --git a/proto/CookDataNotify.proto b/proto/CookDataNotify.proto index ce1cddabc..b743c8c4d 100644 --- a/proto/CookDataNotify.proto +++ b/proto/CookDataNotify.proto @@ -1,16 +1,13 @@ syntax = "proto3"; +option java_package = "emu.grasscutter.net.proto"; + import "CookRecipeData.proto"; +// CmdId: 142 +// EnetChannelId: 0 +// EnetIsReliable: true message CookDataNotify { - enum CmdId { - option allow_alias = true; - NONE = 0; - ENET_CHANNEL_ID = 0; - ENET_IS_RELIABLE = 1; - CMD_ID = 156; - } - - uint32 grade = 1; + uint32 grade = 8; repeated CookRecipeData recipe_data_list = 2; } diff --git a/proto/CookGradeDataNotify.proto b/proto/CookGradeDataNotify.proto index 268c260d1..fd7dbd865 100644 --- a/proto/CookGradeDataNotify.proto +++ b/proto/CookGradeDataNotify.proto @@ -1,14 +1,10 @@ syntax = "proto3"; +option java_package = "emu.grasscutter.net.proto"; +// CmdId: 111 +// EnetChannelId: 0 +// EnetIsReliable: true message CookGradeDataNotify { - enum CmdId { - option allow_alias = true; - NONE = 0; - ENET_CHANNEL_ID = 0; - ENET_IS_RELIABLE = 1; - CMD_ID = 117; - } - - uint32 grade = 1; + uint32 grade = 6; } diff --git a/proto/CookRecipeData.proto b/proto/CookRecipeData.proto index 5afba55a8..a27953e5c 100644 --- a/proto/CookRecipeData.proto +++ b/proto/CookRecipeData.proto @@ -1,5 +1,6 @@ syntax = "proto3"; +option java_package = "emu.grasscutter.net.proto"; message CookRecipeData { uint32 recipe_id = 1; diff --git a/proto/CookRecipeDataNotify.proto b/proto/CookRecipeDataNotify.proto index be48a8972..c4a67e0dd 100644 --- a/proto/CookRecipeDataNotify.proto +++ b/proto/CookRecipeDataNotify.proto @@ -1,15 +1,12 @@ syntax = "proto3"; +option java_package = "emu.grasscutter.net.proto"; + import "CookRecipeData.proto"; +// CmdId: 101 +// EnetChannelId: 0 +// EnetIsReliable: true message CookRecipeDataNotify { - enum CmdId { - option allow_alias = true; - NONE = 0; - ENET_CHANNEL_ID = 0; - ENET_IS_RELIABLE = 1; - CMD_ID = 192; - } - CookRecipeData recipe_data = 1; } diff --git a/proto/PlayerCookArgsReq.proto b/proto/PlayerCookArgsReq.proto index 6b6d43eef..5ba09fbd8 100644 --- a/proto/PlayerCookArgsReq.proto +++ b/proto/PlayerCookArgsReq.proto @@ -1,16 +1,12 @@ syntax = "proto3"; +option java_package = "emu.grasscutter.net.proto"; +// CmdId: 104 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true message PlayerCookArgsReq { - enum CmdId { - option allow_alias = true; - ENET_CHANNEL_ID = 0; - NONE = 0; - ENET_IS_RELIABLE = 1; - IS_ALLOW_CLIENT = 1; - CMD_ID = 105; - } - - uint32 recipe_id = 1; - uint32 assist_avatar = 2; + uint32 recipe_id = 3; + uint32 assist_avatar = 15; } diff --git a/proto/PlayerCookArgsRsp.proto b/proto/PlayerCookArgsRsp.proto index ba5d9a33b..018ad59b4 100644 --- a/proto/PlayerCookArgsRsp.proto +++ b/proto/PlayerCookArgsRsp.proto @@ -1,15 +1,11 @@ syntax = "proto3"; +option java_package = "emu.grasscutter.net.proto"; +// CmdId: 105 +// EnetChannelId: 0 +// EnetIsReliable: true message PlayerCookArgsRsp { - enum CmdId { - option allow_alias = true; - NONE = 0; - ENET_CHANNEL_ID = 0; - ENET_IS_RELIABLE = 1; - CMD_ID = 162; - } - int32 retcode = 1; - float qte_range_ratio = 2; + float qte_range_ratio = 15; } diff --git a/proto/PlayerCookReq.proto b/proto/PlayerCookReq.proto index feacd2fa8..c5879a623 100644 --- a/proto/PlayerCookReq.proto +++ b/proto/PlayerCookReq.proto @@ -1,18 +1,14 @@ syntax = "proto3"; +option java_package = "emu.grasscutter.net.proto"; +// CmdId: 158 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true message PlayerCookReq { - enum CmdId { - option allow_alias = true; - ENET_CHANNEL_ID = 0; - NONE = 0; - ENET_IS_RELIABLE = 1; - IS_ALLOW_CLIENT = 1; - CMD_ID = 176; - } - - uint32 recipe_id = 1; + uint32 recipe_id = 6; uint32 qte_quality = 2; - uint32 assist_avatar = 3; - uint32 cook_count = 4; + uint32 assist_avatar = 11; + uint32 cook_count = 7; } diff --git a/proto/PlayerCookRsp.proto b/proto/PlayerCookRsp.proto index 1af43563e..c8389ffa1 100644 --- a/proto/PlayerCookRsp.proto +++ b/proto/PlayerCookRsp.proto @@ -1,21 +1,18 @@ syntax = "proto3"; +option java_package = "emu.grasscutter.net.proto"; + import "CookRecipeData.proto"; import "ItemParam.proto"; +// CmdId: 150 +// EnetChannelId: 0 +// EnetIsReliable: true message PlayerCookRsp { - enum CmdId { - option allow_alias = true; - NONE = 0; - ENET_CHANNEL_ID = 0; - ENET_IS_RELIABLE = 1; - CMD_ID = 180; - } - - int32 retcode = 1; - CookRecipeData recipe_data = 2; - repeated ItemParam item_list = 3; - uint32 qte_quality = 4; - uint32 cook_count = 5; - repeated ItemParam extral_item_list = 6; + int32 retcode = 9; + CookRecipeData recipe_data = 14; + repeated ItemParam item_list = 13; + uint32 qte_quality = 11; + uint32 cook_count = 15; + repeated ItemParam extral_item_list = 3; }