123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237 |
- syntax = "proto3";
- package ET;
- import 'Common.proto';
- message HttpGetRouterResponse
- {
- repeated string Realms = 1;
- repeated string Routers = 2;
- }
- message RouterSync
- {
- uint32 ConnectId = 1;
- string Address = 2;
- }
- message C2M_TestRequest
- {
- int32 RpcId = 1;
- string request = 2;
- }
- message M2C_TestResponse
- {
- int32 RpcId = 1;
- int32 Error = 2;
- string Message = 3;
- string response = 4;
- }
- message Actor_TransferRequest
- {
- int32 RpcId = 1;
- int32 MapIndex = 2;
- }
- message Actor_TransferResponse
- {
- int32 RpcId = 1;
- int32 Error = 2;
- string Message = 3;
- }
- message C2G_EnterMap
- {
- int32 RpcId = 1;
- }
- message G2C_EnterMap
- {
- int32 RpcId = 1;
- int32 Error = 2;
- string Message = 3;
-
- int64 MyId = 4;
- }
- message M2C_CreateUnits
- {
- repeated UnitInfo Units = 1;
- }
- message M2C_CreateMyUnit
- {
- UnitInfo Unit = 1;
- }
- message M2C_StartSceneChange
- {
- int64 SceneInstanceId = 1;
- string SceneName = 2;
- }
- message C2M_PathfindingResult
- {
- int32 RpcId = 1;
- Unity.Mathematics.float3 Position = 2;
- }
- message M2C_PathfindingResult
- {
- int64 Id = 1;
- Unity.Mathematics.float3 Position = 2;
- repeated Unity.Mathematics.float3 Points = 3;
- }
- message C2G_Ping
- {
- int32 RpcId = 1;
- }
- message G2C_Ping
- {
- int32 RpcId = 1;
- int32 Error = 2;
- string Message = 3;
- int64 Time = 4;
- }
- message G2C_Test
- {
- }
- message C2M_Reload
- {
- int32 RpcId = 1;
- string Account = 2;
- string Password = 3;
- }
- message M2C_Reload
- {
- int32 RpcId = 1;
- int32 Error = 2;
- string Message = 3;
- }
- message C2R_Login
- {
- int32 RpcId = 1;
- string Account = 2;
- string Password = 3;
- int32 Channel = 4;
- }
- message R2C_Login
- {
- int32 RpcId = 1;
- int32 Error = 2;
- string Message = 3;
- string Address = 4;
- int64 Key = 5;
- int64 GameId = 6;
- }
- message C2G_LoginGame
- {
- int32 RpcId = 1;
- int64 Key = 2;
- int64 GameId = 3;
- }
- message G2C_LoginGame
- {
- int32 RpcId = 1;
- int32 Error = 2;
- string Message = 3;
- int64 RoomId = 4;
- PlayerInfo Player = 5;
- }
- message C2G_GetGameplayList
- {
- int32 RpcId = 1;
- }
- message G2C_GetGameplayList
- {
- int32 RpcId = 1;
- int32 Error = 2;
- string Message = 3;
- }
- message C2G_CreatRoom
- {
- int32 RpcId = 1;
- int32 Type = 2;
- }
- message G2C_CreatRoom
- {
- int32 RpcId = 1;
- int32 Error = 2;
- string Message = 3;
- RoomInfo Info = 4;
- }
- message C2G_JoinRoom
- {
- int32 RpcId = 1;
- int32 RoomId = 2;
- }
- message G2C_JoinRoom
- {
- int32 RpcId = 1;
- int32 Error = 2;
- string Message = 3;
- }
- message G2C_JoinRoomPush
- {
- RoomInfo info = 1;
- }
- message G2C_TestHotfixMessage
- {
- string Info = 1;
- }
- message C2M_TransferMap
- {
- int32 RpcId = 1;
- }
- message M2C_TransferMap
- {
- int32 RpcId = 1;
- int32 Error = 2;
- string Message = 3;
- }
- message C2G_Benchmark
- {
- int32 RpcId = 1;
- }
- message G2C_Benchmark
- {
- int32 RpcId = 1;
- int32 Error = 2;
- string Message = 3;
- }
|