2021-04-08 20:09:59 +08:00
|
|
|
syntax = "proto3";
|
|
|
|
package ET;
|
|
|
|
/// 传送unit
|
|
|
|
//ResponseType M2M_TrasferUnitResponse
|
|
|
|
message M2M_TrasferUnitRequest // IActorRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int64 ActorId = 93;
|
|
|
|
Unit Unit = 1;
|
|
|
|
}
|
|
|
|
message M2M_TrasferUnitResponse // IActorResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
int64 InstanceId = 1;
|
|
|
|
}
|
|
|
|
//ResponseType A2M_Reload
|
|
|
|
message M2A_Reload // IActorRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int64 ActorId = 93;
|
|
|
|
}
|
|
|
|
message A2M_Reload // IActorResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
}
|
|
|
|
//ResponseType G2G_LockResponse
|
|
|
|
message G2G_LockRequest // IActorRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int64 ActorId = 93;
|
|
|
|
int64 Id = 1;
|
|
|
|
string Address = 2;
|
|
|
|
}
|
|
|
|
message G2G_LockResponse // IActorResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
}
|
|
|
|
//ResponseType G2G_LockReleaseResponse
|
|
|
|
message G2G_LockReleaseRequest // IActorRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int64 ActorId = 93;
|
|
|
|
int64 Id = 1;
|
|
|
|
string Address = 2;
|
|
|
|
}
|
|
|
|
message G2G_LockReleaseResponse // IActorResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
}
|
|
|
|
//ResponseType ObjectAddResponse
|
|
|
|
message ObjectAddRequest // IActorRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int64 ActorId = 93;
|
|
|
|
int64 Key = 1;
|
|
|
|
int64 InstanceId = 2;
|
|
|
|
}
|
|
|
|
message ObjectAddResponse // IActorResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
}
|
|
|
|
//ResponseType ObjectLockResponse
|
|
|
|
message ObjectLockRequest // IActorRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int64 ActorId = 93;
|
|
|
|
int64 Key = 1;
|
|
|
|
int64 InstanceId = 2;
|
|
|
|
int32 Time = 3;
|
|
|
|
}
|
|
|
|
message ObjectLockResponse // IActorResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
}
|
|
|
|
//ResponseType ObjectUnLockResponse
|
|
|
|
message ObjectUnLockRequest // IActorRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int64 ActorId = 93;
|
|
|
|
int64 Key = 1;
|
|
|
|
int64 OldInstanceId = 2;
|
|
|
|
int64 InstanceId = 3;
|
|
|
|
}
|
|
|
|
message ObjectUnLockResponse // IActorResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
}
|
|
|
|
//ResponseType ObjectRemoveResponse
|
|
|
|
message ObjectRemoveRequest // IActorRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int64 ActorId = 93;
|
|
|
|
int64 Key = 1;
|
|
|
|
}
|
|
|
|
message ObjectRemoveResponse // IActorResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
}
|
|
|
|
//ResponseType ObjectGetResponse
|
|
|
|
message ObjectGetRequest // IActorRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int64 ActorId = 93;
|
|
|
|
int64 Key = 1;
|
|
|
|
}
|
|
|
|
message ObjectGetResponse // IActorResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
int64 InstanceId = 1;
|
|
|
|
}
|
|
|
|
//ResponseType G2R_GetLoginKey
|
|
|
|
message R2G_GetLoginKey // IActorRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int64 ActorId = 93;
|
|
|
|
string DataStr = 1;
|
|
|
|
LoginType LoginType = 2;
|
|
|
|
bool IsLogin = 5;
|
|
|
|
string Ip = 6;
|
2021-04-24 17:39:11 +08:00
|
|
|
string Identify=7;
|
2021-04-08 20:09:59 +08:00
|
|
|
}
|
|
|
|
message G2R_GetLoginKey // IActorResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
string Username = 1;
|
|
|
|
string Password = 2;
|
|
|
|
int64 GateId = 3;
|
|
|
|
int64 Key = 4;
|
|
|
|
}
|
|
|
|
//ResponseType M2G_CreateUnit
|
|
|
|
message G2M_CreateUnit // IActorRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int64 ActorId = 93;
|
|
|
|
int64 PlayerId = 1;
|
|
|
|
int64 GateSessionId = 2;
|
|
|
|
}
|
|
|
|
message M2G_CreateUnit // IActorResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
// 自己的unit id
|
|
|
|
int64 UnitId = 1;
|
|
|
|
bool IsOnLine =2;
|
|
|
|
}
|
|
|
|
//ResponseType M2R_DeleteUser
|
|
|
|
message R2M_DeleteUser // IActorRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int64 ActorId = 93;
|
|
|
|
int64 UserId = 1;
|
|
|
|
int64 GateSessionId = 2;
|
|
|
|
}
|
|
|
|
message M2R_DeleteUser // IActorResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
// 自己的unit id
|
|
|
|
int64 UnitId = 1;
|
|
|
|
bool IsOnLine =2;
|
|
|
|
}
|
|
|
|
message G2M_UserOffLine // IActorMessage
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int64 ActorId = 93;
|
|
|
|
int64 Id = 1;
|
|
|
|
}
|
|
|
|
message G2M_UserOnLine // IActorMessage
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int64 ActorId = 93;
|
|
|
|
int64 Id = 1;
|
|
|
|
}
|