Merge branch 'main' of https://github.com/TheLostTree/Grasscutter-Protos into HEAD
This commit is contained in:
9
proto/AvatarFetterDataNotify.proto
Normal file
9
proto/AvatarFetterDataNotify.proto
Normal file
@@ -0,0 +1,9 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
import "AvatarFetterInfo.proto";
|
||||
|
||||
message AvatarFetterDataNotify {
|
||||
map<uint64, AvatarFetterInfo> fetterInfoMap = 1;
|
||||
}
|
||||
8
proto/AvatarFetterLevelRewardReq.proto
Normal file
8
proto/AvatarFetterLevelRewardReq.proto
Normal file
@@ -0,0 +1,8 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
message AvatarFetterLevelRewardReq {
|
||||
uint64 avatarGuid = 1;
|
||||
uint32 fetterLevel = 2;
|
||||
}
|
||||
10
proto/AvatarFetterLevelRewardRsp.proto
Normal file
10
proto/AvatarFetterLevelRewardRsp.proto
Normal file
@@ -0,0 +1,10 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
message AvatarFetterLevelRewardRsp {
|
||||
int32 retcode = 1;
|
||||
uint64 avatarGuid = 2;
|
||||
uint32 fetterLevel = 3;
|
||||
uint32 rewardId = 4;
|
||||
}
|
||||
8
proto/ChangeMailStarNotify.proto
Normal file
8
proto/ChangeMailStarNotify.proto
Normal file
@@ -0,0 +1,8 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
message ChangeMailStarNotify {
|
||||
repeated uint32 mailIdList = 1;
|
||||
bool isStar = 2;
|
||||
}
|
||||
7
proto/DelMailReq.proto
Normal file
7
proto/DelMailReq.proto
Normal file
@@ -0,0 +1,7 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
message DelMailReq {
|
||||
repeated uint32 mailIdList = 1;
|
||||
}
|
||||
8
proto/DelMailRsp.proto
Normal file
8
proto/DelMailRsp.proto
Normal file
@@ -0,0 +1,8 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
message DelMailRsp {
|
||||
int32 retcode = 1;
|
||||
repeated uint32 mailIdList = 2;
|
||||
}
|
||||
10
proto/EquipParam.proto
Normal file
10
proto/EquipParam.proto
Normal file
@@ -0,0 +1,10 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
message EquipParam {
|
||||
uint32 itemId = 1;
|
||||
uint32 itemNum = 2;
|
||||
uint32 itemLevel = 3;
|
||||
uint32 PromoteLevel = 4;
|
||||
}
|
||||
13
proto/EvtDoSkillSuccNotify.proto
Normal file
13
proto/EvtDoSkillSuccNotify.proto
Normal file
@@ -0,0 +1,13 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
import "ForwardType.proto";
|
||||
import "Vector.proto";
|
||||
|
||||
message EvtDoSkillSuccNotify {
|
||||
ForwardType forwardType = 1;
|
||||
uint32 casterId = 2;
|
||||
uint32 skillId = 3;
|
||||
Vector forward = 4;
|
||||
}
|
||||
10
proto/FetterState.proto
Normal file
10
proto/FetterState.proto
Normal file
@@ -0,0 +1,10 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
enum FetterState {
|
||||
NONE = 0;
|
||||
NOT_OPEN = 1;
|
||||
OPEN = 2;
|
||||
FINISH = 3;
|
||||
}
|
||||
7
proto/GetAllMailReq.proto
Normal file
7
proto/GetAllMailReq.proto
Normal file
@@ -0,0 +1,7 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
message GetAllMailReq {
|
||||
bool isGiftMail = 1;
|
||||
}
|
||||
11
proto/GetAllMailRsp.proto
Normal file
11
proto/GetAllMailRsp.proto
Normal file
@@ -0,0 +1,11 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
import "MailData.proto";
|
||||
|
||||
message GetAllMailRsp {
|
||||
int32 retcode = 1;
|
||||
repeated MailData mailList = 2;
|
||||
bool isTruncated = 3;
|
||||
}
|
||||
7
proto/GetMailItemReq.proto
Normal file
7
proto/GetMailItemReq.proto
Normal file
@@ -0,0 +1,7 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
message GetMailItemReq {
|
||||
repeated uint32 mailIdList = 1;
|
||||
}
|
||||
11
proto/GetMailItemRsp.proto
Normal file
11
proto/GetMailItemRsp.proto
Normal file
@@ -0,0 +1,11 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
import "EquipParam.proto";
|
||||
|
||||
message GetMailItemRsp {
|
||||
int32 retcode = 1;
|
||||
repeated uint32 mailIdList = 2;
|
||||
repeated EquipParam itemList = 3;
|
||||
}
|
||||
10
proto/MailChangeNotify.proto
Normal file
10
proto/MailChangeNotify.proto
Normal file
@@ -0,0 +1,10 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
import "MailData.proto";
|
||||
|
||||
message MailChangeNotify {
|
||||
repeated MailData mailList = 1;
|
||||
repeated uint32 delMailIdList = 2;
|
||||
}
|
||||
20
proto/MailData.proto
Normal file
20
proto/MailData.proto
Normal file
@@ -0,0 +1,20 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
import "MailTextContent.proto";
|
||||
import "MailItem.proto";
|
||||
|
||||
message MailData {
|
||||
uint32 mailId = 1;
|
||||
MailTextContent mailTextContent = 4;
|
||||
repeated MailItem itemList = 7;
|
||||
uint32 sendTime = 8;
|
||||
uint32 expireTime = 9;
|
||||
uint32 importance = 10;
|
||||
bool isRead = 11;
|
||||
bool isAttachmentGot = 12;
|
||||
uint32 configId = 13;
|
||||
repeated string argumentList = 14;
|
||||
uint32 stateValue = 15;
|
||||
}
|
||||
11
proto/MailItem.proto
Normal file
11
proto/MailItem.proto
Normal file
@@ -0,0 +1,11 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
import "ItemParam.proto";
|
||||
import "MaterialDeleteInfo.proto";
|
||||
|
||||
message MailItem {
|
||||
ItemParam itemParam = 1;
|
||||
MaterialDeleteInfo deleteInfo = 2;
|
||||
}
|
||||
9
proto/MailTextContent.proto
Normal file
9
proto/MailTextContent.proto
Normal file
@@ -0,0 +1,9 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
message MailTextContent {
|
||||
string title = 1;
|
||||
string content = 2;
|
||||
string sender = 3;
|
||||
}
|
||||
9
proto/NpcTalkReq.proto
Normal file
9
proto/NpcTalkReq.proto
Normal file
@@ -0,0 +1,9 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
message NpcTalkReq {
|
||||
uint32 npc_entity_id = 1;
|
||||
uint32 talk_id = 3;
|
||||
uint32 entity_id = 4;
|
||||
}
|
||||
10
proto/NpcTalkRsp.proto
Normal file
10
proto/NpcTalkRsp.proto
Normal file
@@ -0,0 +1,10 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
message NpcTalkRsp {
|
||||
int32 retcode = 1;
|
||||
uint32 npc_entity_id = 2;
|
||||
uint32 cur_talk_id = 4;
|
||||
uint32 entity_id = 5;
|
||||
}
|
||||
7
proto/ReadMailNotify.proto
Normal file
7
proto/ReadMailNotify.proto
Normal file
@@ -0,0 +1,7 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
message ReadMailNotify {
|
||||
repeated uint32 mailIdList = 1;
|
||||
}
|
||||
17
proto/SceneTransToPointReq.proto
Normal file
17
proto/SceneTransToPointReq.proto
Normal file
@@ -0,0 +1,17 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
message SceneTransToPointReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
CMD_ID = 219;
|
||||
}
|
||||
|
||||
uint32 sceneId = 1;
|
||||
uint32 pointId = 2;
|
||||
}
|
||||
17
proto/SceneTransToPointRsp.proto
Normal file
17
proto/SceneTransToPointRsp.proto
Normal file
@@ -0,0 +1,17 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
message SceneTransToPointRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
CMD_ID = 220;
|
||||
}
|
||||
|
||||
int32 retcode = 1;
|
||||
uint32 sceneId = 2;
|
||||
uint32 pointId = 3;
|
||||
}
|
||||
10
proto/SetEntityClientDataNotify.proto
Normal file
10
proto/SetEntityClientDataNotify.proto
Normal file
@@ -0,0 +1,10 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
import "EntityClientData.proto";
|
||||
|
||||
message SetEntityClientDataNotify {
|
||||
uint32 entityId = 1;
|
||||
EntityClientData entityClientData = 2;
|
||||
}
|
||||
8
proto/SetPlayerBirthdayReq.proto
Normal file
8
proto/SetPlayerBirthdayReq.proto
Normal file
@@ -0,0 +1,8 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
import "proto/Birthday.proto";
|
||||
|
||||
message SetPlayerBirthdayReq {
|
||||
Birthday birth = 1;
|
||||
}
|
||||
8
proto/SetPlayerBirthdayRsp.proto
Normal file
8
proto/SetPlayerBirthdayRsp.proto
Normal file
@@ -0,0 +1,8 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
import "proto/Birthday.proto";
|
||||
|
||||
message SetPlayerBirthdayRsp {
|
||||
Birthday birth = 1;
|
||||
}
|
||||
10
proto/SitReq.proto
Normal file
10
proto/SitReq.proto
Normal file
@@ -0,0 +1,10 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
import "Vector.proto";
|
||||
|
||||
message SitReq {
|
||||
uint64 chair_id = 1;
|
||||
Vector position = 2;
|
||||
}
|
||||
11
proto/SitRsp.proto
Normal file
11
proto/SitRsp.proto
Normal file
@@ -0,0 +1,11 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
import "Vector.proto";
|
||||
|
||||
message SitRsp {
|
||||
uint32 entity_id = 2;
|
||||
Vector position = 3;
|
||||
uint64 chair_id = 4;
|
||||
}
|
||||
10
proto/WorldPlayerLocationInfo.proto
Normal file
10
proto/WorldPlayerLocationInfo.proto
Normal file
@@ -0,0 +1,10 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
import "PlayerLocationInfo.proto";
|
||||
|
||||
message WorldPlayerLocationInfo {
|
||||
uint32 sceneId = 1;
|
||||
PlayerLocationInfo playerLoc = 2;
|
||||
}
|
||||
@@ -2,8 +2,8 @@ syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
import "PlayerLocationInfo.proto";
|
||||
import "WorldPlayerLocationInfo.proto";
|
||||
|
||||
message WorldPlayerLocationNotify {
|
||||
repeated PlayerLocationInfo playerLocList = 1;
|
||||
repeated WorldPlayerLocationInfo playerLocList = 2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user