mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-27 07:34:27 +00:00
Add all AvatarExpedition protos
Expedition system has almost done but still has some bug so it will be uploaded later
This commit is contained in:
parent
18b1c50d0a
commit
eaf0dd0b3b
19
proto/AvatarExpeditionAllDataRsp.proto
Normal file
19
proto/AvatarExpeditionAllDataRsp.proto
Normal file
@ -0,0 +1,19 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
import "AvatarExpeditionInfo.proto";
|
||||
|
||||
message AvatarExpeditionAllDataRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
CMD_ID = 1783;
|
||||
}
|
||||
|
||||
int32 retcode = 1;
|
||||
map<uint64, AvatarExpeditionInfo> expedition_info_map = 2;
|
||||
repeated uint32 open_expedition_list = 3;
|
||||
uint32 expedition_count_limit = 4;
|
||||
}
|
16
proto/AvatarExpeditionCallBackReq.proto
Normal file
16
proto/AvatarExpeditionCallBackReq.proto
Normal file
@ -0,0 +1,16 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
message AvatarExpeditionCallBackReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
NONE = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
CMD_ID = 1618;
|
||||
}
|
||||
|
||||
repeated uint64 avatar_guid = 1;
|
||||
}
|
17
proto/AvatarExpeditionCallBackRsp.proto
Normal file
17
proto/AvatarExpeditionCallBackRsp.proto
Normal file
@ -0,0 +1,17 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
import "AvatarExpeditionInfo.proto";
|
||||
|
||||
message AvatarExpeditionCallBackRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
CMD_ID = 1633;
|
||||
}
|
||||
|
||||
int32 retcode = 1;
|
||||
map<uint64, AvatarExpeditionInfo> expedition_info_map = 2;
|
||||
}
|
16
proto/AvatarExpeditionDataNotify.proto
Normal file
16
proto/AvatarExpeditionDataNotify.proto
Normal file
@ -0,0 +1,16 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
import "AvatarExpeditionInfo.proto";
|
||||
|
||||
message AvatarExpeditionDataNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
CMD_ID = 1621;
|
||||
}
|
||||
|
||||
map<uint64, AvatarExpeditionInfo> expedition_info_map = 1;
|
||||
}
|
16
proto/AvatarExpeditionGetRewardReq.proto
Normal file
16
proto/AvatarExpeditionGetRewardReq.proto
Normal file
@ -0,0 +1,16 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
message AvatarExpeditionGetRewardReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
NONE = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
CMD_ID = 1610;
|
||||
}
|
||||
|
||||
uint64 avatar_guid = 1;
|
||||
}
|
19
proto/AvatarExpeditionGetRewardRsp.proto
Normal file
19
proto/AvatarExpeditionGetRewardRsp.proto
Normal file
@ -0,0 +1,19 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
import "AvatarExpeditionInfo.proto";
|
||||
|
||||
import "ItemParam.proto";
|
||||
message AvatarExpeditionGetRewardRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
CMD_ID = 1670;
|
||||
}
|
||||
|
||||
int32 retcode = 1;
|
||||
map<uint64, AvatarExpeditionInfo> expedition_info_map = 2;
|
||||
repeated ItemParam item_list = 3;
|
||||
}
|
12
proto/AvatarExpeditionInfo.proto
Normal file
12
proto/AvatarExpeditionInfo.proto
Normal file
@ -0,0 +1,12 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
import "AvatarExpeditionState.proto";
|
||||
|
||||
message AvatarExpeditionInfo {
|
||||
AvatarExpeditionState state = 1;
|
||||
uint32 exp_id = 2;
|
||||
uint32 hour_time = 3;
|
||||
uint32 start_time = 4;
|
||||
float shorten_ratio = 5;
|
||||
}
|
18
proto/AvatarExpeditionStartReq.proto
Normal file
18
proto/AvatarExpeditionStartReq.proto
Normal file
@ -0,0 +1,18 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
message AvatarExpeditionStartReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
NONE = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
CMD_ID = 1609;
|
||||
}
|
||||
|
||||
uint64 avatar_guid = 1;
|
||||
uint32 exp_id = 2;
|
||||
uint32 hour_time = 3;
|
||||
}
|
17
proto/AvatarExpeditionStartRsp.proto
Normal file
17
proto/AvatarExpeditionStartRsp.proto
Normal file
@ -0,0 +1,17 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
import "AvatarExpeditionInfo.proto";
|
||||
|
||||
message AvatarExpeditionStartRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
CMD_ID = 1646;
|
||||
}
|
||||
|
||||
int32 retcode = 1;
|
||||
map<uint64, AvatarExpeditionInfo> expedition_info_map = 2;
|
||||
}
|
Loading…
Reference in New Issue
Block a user