123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192 |
- syntax = "proto3";
- package ET;
- message ObjectQueryRequest
- {
- int32 RpcId = 1;
- int64 Key = 2;
- int64 InstanceId = 3;
- }
- message ObjectQueryResponse
- {
- int32 RpcId = 1;
- int32 Error = 2;
- string Message = 3;
- bytes Entity = 4;
- }
- message M2A_Reload
- {
- int32 RpcId = 1;
- }
- message A2M_Reload
- {
- int32 RpcId = 1;
- int32 Error = 2;
- string Message = 3;
- }
- message G2G_LockRequest
- {
- int32 RpcId = 1;
- int64 Id = 2;
- string Address = 3;
- }
- message G2G_LockResponse
- {
- int32 RpcId = 1;
- int32 Error = 2;
- string Message = 3;
- }
- message G2G_LockReleaseRequest
- {
- int32 RpcId = 1;
- int64 Id = 2;
- string Address = 3;
- }
- message G2G_LockReleaseResponse
- {
- int32 RpcId = 1;
- int32 Error = 2;
- string Message = 3;
- }
- message ObjectAddRequest
- {
- int32 RpcId = 1;
- int64 Key = 2;
- int64 InstanceId = 3;
- }
- message ObjectAddResponse
- {
- int32 RpcId = 1;
- int32 Error = 2;
- string Message = 3;
- }
- message ObjectLockRequest
- {
- int32 RpcId = 1;
- int64 Key = 2;
- int64 InstanceId = 3;
- int32 Time = 4;
- }
- message ObjectLockResponse
- {
- int32 RpcId = 1;
- int32 Error = 2;
- string Message = 3;
- }
- message ObjectUnLockRequest
- {
- int32 RpcId = 1;
- int64 Key = 2;
- int64 OldInstanceId = 3;
- int64 InstanceId = 4;
- }
- message ObjectUnLockResponse
- {
- int32 RpcId = 1;
- int32 Error = 2;
- string Message = 3;
- }
- message ObjectRemoveRequest
- {
- int32 RpcId = 1;
- int64 Key = 2;
- }
- message ObjectRemoveResponse
- {
- int32 RpcId = 1;
- int32 Error = 2;
- string Message = 3;
- }
- message ObjectGetRequest
- {
- int32 RpcId = 1;
- int64 Key = 2;
- }
- message ObjectGetResponse
- {
- int32 RpcId = 1;
- int32 Error = 2;
- string Message = 3;
- int64 InstanceId = 4;
- }
- message R2G_LoginVerifySuccess
- {
- int32 RpcId = 1;
- int64 UserId = 2;
- string Token = 3;
- }
- message G2M_SessionDisconnect
- {
- int32 RpcId = 1;
- }
- message M2M_UnitTransferRequest
- {
- int32 RpcId = 1;
- int64 OldInstanceId = 2;
- bytes Unit = 3;
- repeated bytes Entitys = 4;
- }
- message M2M_UnitTransferResponse
- {
- int32 RpcId = 1;
- int32 Error = 2;
- string Message = 3;
- }
- message R2G_LiveComment
- {
- string OpenId = 1;
- int64 RoomId = 2;
- string Content = 3;
- string NickName = 4;
- string Url = 5;
- }
- message R2G_LiveGift
- {
- string OpenId = 1;
- int64 RoomId = 2;
- string NickName = 3;
- string Url = 4;
- string GiftId = 5;
- int64 GiftNum = 6;
- int64 GiftValue = 7;
- }
- message R2G_LiveLike
- {
- string OpenId = 1;
- int64 RoomId = 2;
- string NickName = 3;
- string Url = 4;
- int64 Likes = 5;
- }
|