mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-16 08:56:04 +01:00
Add cooking protos.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
message CookRecipeData {
|
||||
uint32 recipe_id = 1;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user