123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192 |
- syntax = "proto3";
- // using
- package ET;
- //ResponseType ObjectQueryResponse
- message ObjectQueryRequest // IActorRequest
- {
- int32 RpcId = 1;
- int64 Key = 2;
- int64 InstanceId = 3;
- }
- message ObjectQueryResponse // IActorResponse
- {
- int32 RpcId = 1;
- int32 Error = 2;
- string Message = 3;
- bytes Entity = 4;
- }
- //ResponseType A2M_Reload
- message M2A_Reload // IActorRequest
- {
- int32 RpcId = 1;
- }
- message A2M_Reload // IActorResponse
- {
- int32 RpcId = 1;
- int32 Error = 2;
- string Message = 3;
- }
- //ResponseType G2G_LockResponse
- message G2G_LockRequest // IActorRequest
- {
- int32 RpcId = 1;
- int64 Id = 2;
- string Address = 3;
- }
- message G2G_LockResponse // IActorResponse
- {
- int32 RpcId = 1;
- int32 Error = 2;
- string Message = 3;
- }
- //ResponseType G2G_LockReleaseResponse
- message G2G_LockReleaseRequest // IActorRequest
- {
- int32 RpcId = 1;
- int64 Id = 2;
- string Address = 3;
- }
- message G2G_LockReleaseResponse // IActorResponse
- {
- int32 RpcId = 1;
- int32 Error = 2;
- string Message = 3;
- }
- //ResponseType ObjectAddResponse
- message ObjectAddRequest // IActorRequest
- {
- int32 RpcId = 1;
- int64 Key = 2;
- int64 InstanceId = 3;
- }
- message ObjectAddResponse // IActorResponse
- {
- int32 RpcId = 1;
- int32 Error = 2;
- string Message = 3;
- }
- //ResponseType ObjectLockResponse
- message ObjectLockRequest // IActorRequest
- {
- int32 RpcId = 1;
- int64 Key = 2;
- int64 InstanceId = 3;
- int32 Time = 4;
- }
- message ObjectLockResponse // IActorResponse
- {
- int32 RpcId = 1;
- int32 Error = 2;
- string Message = 3;
- }
- //ResponseType ObjectUnLockResponse
- message ObjectUnLockRequest // IActorRequest
- {
- int32 RpcId = 1;
- int64 Key = 2;
- int64 OldInstanceId = 3;
- int64 InstanceId = 4;
- }
- message ObjectUnLockResponse // IActorResponse
- {
- int32 RpcId = 1;
- int32 Error = 2;
- string Message = 3;
- }
- //ResponseType ObjectRemoveResponse
- message ObjectRemoveRequest // IActorRequest
- {
- int32 RpcId = 1;
- int64 Key = 2;
- }
- message ObjectRemoveResponse // IActorResponse
- {
- int32 RpcId = 1;
- int32 Error = 2;
- string Message = 3;
- }
- //ResponseType ObjectGetResponse
- message ObjectGetRequest // IActorRequest
- {
- int32 RpcId = 1;
- int64 Key = 2;
- }
- message ObjectGetResponse // IActorResponse
- {
- int32 RpcId = 1;
- int32 Error = 2;
- string Message = 3;
- int64 InstanceId = 4;
- }
- message R2G_LoginVerifySuccess // IActorLocationMessage
- {
- int32 RpcId = 1;
- int64 UserId = 2;
- string Token = 3;
- }
- message G2M_SessionDisconnect // IActorLocationMessage
- {
- int32 RpcId = 1;
- }
- //ResponseType M2M_UnitTransferResponse
- message M2M_UnitTransferRequest // IActorRequest
- {
- int32 RpcId = 1;
- int64 OldInstanceId = 2;
- bytes Unit = 3;
- repeated bytes Entitys = 4;
- }
- message M2M_UnitTransferResponse // IActorResponse
- {
- int32 RpcId = 1;
- int32 Error = 2;
- string Message = 3;
- }
- message R2G_LiveComment // IActorMessage
- {
- string OpenId = 1;
- int64 RoomId = 2;
- string Content = 3; // 评论内容
- string NickName = 4;
- string Url = 5;
- }
- message R2G_LiveGift // IActorMessage
- {
- string OpenId = 1;
- int64 RoomId = 2;
- string NickName = 3;
- string Url = 4;
- string GiftId = 5;
- int64 GiftNum = 6; // 送出的礼物数量
- int64 GiftValue = 7; // 礼物总价值,单位分
- }
- message R2G_LiveLike // IActorMessage
- {
- string OpenId = 1;
- int64 RoomId = 2;
- string NickName = 3;
- string Url = 4;
- int64 Likes = 5;
- }
|