| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241 |
- syntax = "proto3";
- package ET;
- //ResponseType M2C_TestResponse
- message C2M_TestRequest // IActorLocationRequest
- {
- int32 RpcId = 90;
- string request = 1;
- }
- message M2C_TestResponse // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- string response = 1;
- }
- //ResponseType Actor_TransferResponse
- message Actor_TransferRequest // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 MapIndex = 1;
- }
- message Actor_TransferResponse // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- }
- //ResponseType G2C_EnterMap
- message C2G_EnterMap // IRequest
- {
- int32 RpcId = 1;
- }
- message G2C_EnterMap // IResponse
- {
- int32 RpcId = 1;
- int32 Error = 2;
- string Message = 3;
- // 自己unitId
- int64 MyId = 4;
- }
- message MoveInfo
- {
- repeated float X = 1;
- repeated float Y = 2;
- repeated float Z = 3;
- float A = 4;
- float B = 5;
- float C = 6;
- float W = 7;
- int32 TurnSpeed = 8;
- }
- message UnitInfo
- {
- int64 UnitId = 1;
- int32 ConfigId = 2;
- int32 Type = 3;
- float X = 4;
- float Y = 5;
- float Z = 6;
- float ForwardX = 7;
- float ForwardY = 8;
- float ForwardZ = 9;
- repeated int32 Ks = 10;
- repeated int64 Vs = 11;
- MoveInfo MoveInfo = 12;
- }
- message M2C_CreateUnits // IActorMessage
- {
- repeated UnitInfo Units = 2;
- }
- message M2C_CreateMyUnit // IActorMessage
- {
- UnitInfo Unit = 1;
- }
- message M2C_StartSceneChange // IActorMessage
- {
- int64 SceneInstanceId = 1;
- string SceneName = 2;
- }
- message M2C_RemoveUnits // IActorMessage
- {
- repeated int64 Units = 2;
- }
- message C2M_PathfindingResult // IActorLocationMessage
- {
- int32 RpcId = 90;
- float X = 1;
- float Y = 2;
- float Z = 3;
- }
- message C2M_Stop // IActorLocationMessage
- {
- int32 RpcId = 90;
- }
- message M2C_PathfindingResult // IActorMessage
- {
- int64 Id = 1;
- float X = 2;
- float Y = 3;
- float Z = 4;
- repeated float Xs = 5;
- repeated float Ys = 6;
- repeated float Zs = 7;
- }
- message M2C_Stop // IActorMessage
- {
- int32 Error = 1;
- int64 Id = 2;
- float X = 3;
- float Y = 4;
- float Z = 5;
- float A = 6;
- float B = 7;
- float C = 8;
- float W = 9;
- }
- //ResponseType G2C_Ping
- message C2G_Ping // IRequest
- {
- int32 RpcId = 90;
- }
- message G2C_Ping // IResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int64 Time = 1;
- }
- message G2C_Test // IMessage
- {
- }
- //ResponseType M2C_Reload
- message C2M_Reload // IRequest
- {
- int32 RpcId = 90;
- string Account = 1;
- string Password = 2;
- }
- message M2C_Reload // IResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- }
- //ResponseType R2C_Login
- message C2R_Login // IRequest
- {
- int32 RpcId = 90;
- string Account = 1; // 帐号
- string Password = 2; // 密码
- }
- message R2C_Login // IResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- string Address = 1;
- int64 Key = 2;
- int64 GateId = 3;
- }
- //ResponseType G2C_LoginGate
- message C2G_LoginGate // IRequest
- {
- int32 RpcId = 90;
- int64 Key = 1; // 帐号
- int64 GateId = 2;
- }
- message G2C_LoginGate // IResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int64 PlayerId = 1;
- }
- message G2C_TestHotfixMessage // IMessage
- {
- string Info = 1;
- }
- //ResponseType M2C_TestRobotCase
- message C2M_TestRobotCase // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 N = 1;
- }
- message M2C_TestRobotCase // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 N = 1;
- }
- //ResponseType M2C_TransferMap
- message C2M_TransferMap // IActorLocationRequest
- {
- int32 RpcId = 1;
- }
- message M2C_TransferMap // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- }
-
|