Compare commits

...

6 Commits

Author SHA1 Message Date
Melledy
5da2e7c1a4 Merge pull request #2 from Yazawazi/main
Add SceneTransToPoint
2022-04-20 14:35:00 -07:00
Yazawazi
4893a4e916 SceneTransToPoint 2022-04-21 05:33:33 +08:00
Melledy
ba51f31096 Merge branch 'main' of https://github.com/Grasscutters/Grasscutter-Protos 2022-04-20 05:21:51 -07:00
Melledy
2d4e545546 Add EvtDoSkillSuccNotify and SetEntityClientDataNotify 2022-04-20 05:21:49 -07:00
Melledy
641126084f Merge pull request #1 from w4123/main
Add NpcTalk* protos
2022-04-20 05:08:17 -07:00
w4123
ddedd0fe25 Add NpcTalk* protos 2022-04-20 20:00:12 +08:00
6 changed files with 76 additions and 0 deletions

View 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;
}

9
proto/NpcTalkReq.proto Normal file
View 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
View 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;
}

View 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;
}

View 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;
}

View 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;
}