| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127 |
- syntax = "proto3";
- package ETModel;
- message Actor_Test // IActorMessage
- {
- int32 RpcId = 90;
- int64 ActorId = 93;
- string Info = 1;
- }
- message Actor_TestRequest // IActorLocationRequest
- {
- int32 RpcId = 90;
- int64 ActorId = 93;
- string request = 1;
- }
- message Actor_TestResponse // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- string response = 1;
- }
- message Actor_TransferRequest // IActorLocationRequest
- {
- int32 RpcId = 90;
- int64 ActorId = 93;
- int32 MapIndex = 1;
- }
- message Actor_TransferResponse // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- }
- message C2G_EnterMap // IRequest
- {
- int32 RpcId = 90;
- }
- message G2C_EnterMap // IResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- // 自己的unit id
- int64 UnitId = 1;
- // 所有的unit
- repeated UnitInfo Units = 2;
- }
- message UnitInfo
- {
- int64 UnitId = 1;
- float X = 2;
- float Y = 3;
- float Z = 4;
- }
- message Actor_CreateUnits // IActorMessage
- {
- int32 RpcId = 90;
- int64 ActorId = 93;
- repeated UnitInfo Units = 1;
- }
- message Frame_ClickMap // IActorLocationMessage
- {
- int32 RpcId = 90;
- int64 ActorId = 93;
- int64 Id = 94;
-
- float X = 1;
- float Y = 2;
- float Z = 3;
- }
- message M2C_PathfindingResult // IActorMessage
- {
- int64 ActorId = 93;
-
- 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 C2R_Ping // IRequest
- {
- int32 RpcId = 90;
- }
- message R2C_Ping // IResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- }
- message G2C_Test // IMessage
- {
- }
- 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;
- }
|