|
|
|
syntax = "proto3";
|
|
|
|
package ET;
|
|
|
|
|
|
|
|
//ResponseType M2C_TestResponse
|
|
|
|
message C2M_TestRequest // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
string request = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_TestResponse // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
string response = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType Actor_TransferResponse
|
|
|
|
message Actor_TransferRequest // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 MapIndex = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Actor_TransferResponse // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType G2C_EnterMap
|
|
|
|
message C2G_EnterMap // IRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message G2C_EnterMap // IResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 1;
|
|
|
|
int32 Error = 2;
|
|
|
|
string Message = 3;
|
|
|
|
// 自己unitId
|
|
|
|
int64 MyId = 4;
|
|
|
|
}
|
|
|
|
|
|
|
|
message MoveInfo
|
|
|
|
{
|
|
|
|
repeated float X = 1;
|
|
|
|
repeated float Y = 2;
|
|
|
|
repeated float Z = 3;
|
|
|
|
|
|
|
|
float A = 4;
|
|
|
|
float B = 5;
|
|
|
|
float C = 6;
|
|
|
|
float W = 7;
|
|
|
|
int32 TurnSpeed = 8;
|
|
|
|
}
|
|
|
|
|
|
|
|
message BuildingProto
|
|
|
|
{
|
|
|
|
int64 Id = 1;
|
|
|
|
int32 ConfigId = 2;
|
|
|
|
float X = 3;
|
|
|
|
float Y = 4;
|
|
|
|
int32 Durable = 5;
|
|
|
|
FarmlandProto Farmland = 6;
|
|
|
|
int32 IsUpgrade = 7;
|
|
|
|
CabinProto Cabin = 8;
|
|
|
|
}
|
|
|
|
|
|
|
|
message PeopleProto
|
|
|
|
{
|
|
|
|
int64 Id = 1;
|
|
|
|
string Name = 2;
|
|
|
|
int32 ConfigId = 3;
|
|
|
|
int32 LaborLevel = 4;
|
|
|
|
int32 LaborExp = 5;
|
|
|
|
int32 Level = 6;
|
|
|
|
int32 Exp = 7;
|
|
|
|
int32 Age = 8;
|
|
|
|
int32 BehaveType = 9;
|
|
|
|
int64 TargetId = 10;
|
|
|
|
float X = 11;
|
|
|
|
float Y = 12;
|
|
|
|
repeated SkillProto SkillList = 16; //技能列表
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
message ResAttriProto
|
|
|
|
{
|
|
|
|
int32 ConfigId = 1;
|
|
|
|
int32 CurrAmount = 2; //当前采集了多少
|
|
|
|
int32 MaxAmount = 3; //资源上限
|
|
|
|
}
|
|
|
|
message ResourceProto
|
|
|
|
{
|
|
|
|
int64 Id = 1;
|
|
|
|
int32 ConfigId = 2;
|
|
|
|
float X = 3;
|
|
|
|
float Y = 4;
|
|
|
|
int32 MatureState = 5;
|
|
|
|
long MonsterGroupId = 6;
|
|
|
|
repeated ResAttriProto resAttriList = 7;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
message ItemProto
|
|
|
|
{
|
|
|
|
int64 Id = 1;
|
|
|
|
int32 ConfigId = 2;
|
|
|
|
int64 Amount = 3;
|
|
|
|
int64 CreateTime = 4;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
message GatherProto
|
|
|
|
{
|
|
|
|
int64 Id = 1;
|
|
|
|
int64 ResPointId = 2;
|
|
|
|
repeated int64 PeopleIdList = 3;
|
|
|
|
repeated int64 PreparePeopleIdList = 4;
|
|
|
|
int32 ResConfigId = 5;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
message ConstructProto
|
|
|
|
{
|
|
|
|
int64 Id = 1;
|
|
|
|
float X = 2;
|
|
|
|
float Y = 3;
|
|
|
|
int64 UpdateTime = 4;
|
|
|
|
float ConStructSpeed = 5;
|
|
|
|
int32 ConfigId = 6;
|
|
|
|
int32 IsConstructed = 7;
|
|
|
|
int32 Progress = 8;
|
|
|
|
repeated int64 PeopleIdList = 9;
|
|
|
|
repeated int64 PreparePeopleIdList = 10;
|
|
|
|
int64 BuildingId = 11;
|
|
|
|
}
|
|
|
|
|
|
|
|
message SynthesisProto
|
|
|
|
{
|
|
|
|
int32 ConfigId = 1;
|
|
|
|
int64 UpdateTime = 2;
|
|
|
|
int64 CurrAmount = 3;
|
|
|
|
int64 MaxAmount = 4;
|
|
|
|
int32 Progress = 5;
|
|
|
|
int32 State = 6;
|
|
|
|
}
|
|
|
|
|
|
|
|
message MenuProto
|
|
|
|
{
|
|
|
|
int32 ConfigId = 1;
|
|
|
|
int32 Proficiency = 2;
|
|
|
|
int32 State = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
message PrescriptionProto
|
|
|
|
{
|
|
|
|
int32 ConfigId = 1;
|
|
|
|
int32 Proficiency = 2;
|
|
|
|
int32 State = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
message UnitProto
|
|
|
|
{
|
|
|
|
int64 Id = 1;
|
|
|
|
int64 Food = 2;
|
|
|
|
int64 Water = 3;
|
|
|
|
int32 SilverTael = 4;
|
|
|
|
int32 GoldIngot = 5;
|
|
|
|
int32 Season = 6;
|
|
|
|
int32 GameTime = 7;
|
|
|
|
repeated BuildingProto Buildings = 8;
|
|
|
|
repeated PeopleProto PeopleList = 9;
|
|
|
|
repeated ResourceProto ResourceList = 10;
|
|
|
|
repeated ItemProto Store = 11;
|
|
|
|
repeated GatherProto GatherList = 12;
|
|
|
|
repeated ConstructProto ConstructList = 13;
|
|
|
|
repeated SynthesisProto SynthesisList = 14;
|
|
|
|
repeated MenuProto MenuList = 15;
|
|
|
|
repeated PrescriptionProto PrescriptionList = 16;
|
|
|
|
int32 Prosperity = 17;
|
|
|
|
int32 Scale = 18;
|
|
|
|
int32 Day = 19;
|
|
|
|
string Name = 20;
|
|
|
|
int32 EventSeed = 21;
|
|
|
|
repeated string EventNames = 22;
|
|
|
|
repeated int64 FighterList = 24;
|
|
|
|
repeated MonsterGroupProto MonsterGroupList = 25;
|
|
|
|
WeatherProto Weather = 26;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_CreateUnits // IActorMessage
|
|
|
|
{
|
|
|
|
repeated UnitProto Units = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_CreateMyUnit // IActorMessage
|
|
|
|
{
|
|
|
|
UnitProto Unit = 1;
|
|
|
|
int64 SceneInstanceId = 2;
|
|
|
|
string SceneName = 3;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_StartSceneChange // IActorMessage
|
|
|
|
{
|
|
|
|
int64 SceneInstanceId = 1;
|
|
|
|
string SceneName = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_RemoveUnits // IActorMessage
|
|
|
|
{
|
|
|
|
repeated int64 Units = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message C2M_PathfindingResult // IActorLocationMessage
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
|
|
|
|
float X = 1;
|
|
|
|
float Y = 2;
|
|
|
|
float Z = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
message C2M_Stop // IActorLocationMessage
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_PathfindingResult // IActorMessage
|
|
|
|
{
|
|
|
|
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 M2C_Stop // IActorMessage
|
|
|
|
{
|
|
|
|
int32 Error = 1;
|
|
|
|
|
|
|
|
int64 Id = 2;
|
|
|
|
float X = 3;
|
|
|
|
float Y = 4;
|
|
|
|
float Z = 5;
|
|
|
|
|
|
|
|
float A = 6;
|
|
|
|
float B = 7;
|
|
|
|
float C = 8;
|
|
|
|
float W = 9;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType G2C_Ping
|
|
|
|
message C2G_Ping // IRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
}
|
|
|
|
|
|
|
|
message G2C_Ping // IResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
|
|
|
|
int64 Time = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
message G2C_Test // IMessage
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType M2C_Reload
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType R2C_Login
|
|
|
|
message C2R_Login // IRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
string Account = 1; // 帐号
|
|
|
|
string Password = 2; // 密码
|
|
|
|
}
|
|
|
|
|
|
|
|
message R2C_Login // IResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
string Address = 1;
|
|
|
|
int64 Key = 2;
|
|
|
|
int64 GateId = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType G2C_LoginGate
|
|
|
|
message C2G_LoginGate // IRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int64 Key = 1; // 帐号
|
|
|
|
int64 GateId = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message G2C_LoginGate // IResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
int64 PlayerId = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message G2C_TestHotfixMessage // IMessage
|
|
|
|
{
|
|
|
|
string Info = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType M2C_TestRobotCase
|
|
|
|
message C2M_TestRobotCase // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 N = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_TestRobotCase // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
int32 N = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType M2C_TransferMap
|
|
|
|
message C2M_TransferMap // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_TransferMap // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType A2C_LoginAccount
|
|
|
|
message C2A_LoginAccount // IRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
string AccountName = 1;
|
|
|
|
string Password = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message A2C_LoginAccount // IResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
string Token = 1;
|
|
|
|
int64 AccountId = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message A2C_Disconnect // IMessage
|
|
|
|
{
|
|
|
|
int32 Error = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message ServerInfoProto
|
|
|
|
{
|
|
|
|
int32 Id = 1;
|
|
|
|
int32 Status = 2;
|
|
|
|
string ServerName = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType A2C_ServerInfosResponse
|
|
|
|
message C2A_ServerInfosRequest // IRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
string Token = 1;
|
|
|
|
int64 AccountId = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message A2C_ServerInfosResponse // IResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
repeated ServerInfoProto ServerInfoList = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message RoleInfoProto
|
|
|
|
{
|
|
|
|
int64 Id = 1;
|
|
|
|
string Name = 2;
|
|
|
|
int32 State = 3;
|
|
|
|
int64 AccountId = 4;
|
|
|
|
int64 LastLoginTime = 5;
|
|
|
|
int64 CreateTime = 6;
|
|
|
|
int32 ServerId = 7;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType A2C_CreateRole
|
|
|
|
message C2A_CreateRole // IRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
string Token = 1;
|
|
|
|
int64 AccountId = 2;
|
|
|
|
string Name = 3;
|
|
|
|
int32 ServerId = 4;
|
|
|
|
int32 Gender = 5;
|
|
|
|
}
|
|
|
|
|
|
|
|
message A2C_CreateRole // IResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
RoleInfoProto RoleInfo = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType A2C_GetRoles
|
|
|
|
message C2A_GetRoles // IRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
string Token = 1;
|
|
|
|
int64 AccountId = 2;
|
|
|
|
int32 ServerId = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
message A2C_GetRoles // IResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
repeated RoleInfoProto RoleInfo = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType A2C_DeleteRole
|
|
|
|
message C2A_DeleteRole // IRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
string Token = 1;
|
|
|
|
int64 AccountId = 2;
|
|
|
|
int32 ServerId = 3;
|
|
|
|
int64 RoleInfoId = 4;
|
|
|
|
}
|
|
|
|
|
|
|
|
message A2C_DeleteRole // IResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
int64 DeletedRoleInfoId = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType A2C_GetRealmKey
|
|
|
|
message C2A_GetRealmKey // IRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
string Token = 1;
|
|
|
|
int64 AccountId = 2;
|
|
|
|
int32 ServerId = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
message A2C_GetRealmKey // IResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
string RealmKey = 1;
|
|
|
|
string RealmAddress = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType R2C_LoginRealm
|
|
|
|
message C2R_LoginRealm // IRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int64 AccountId = 1;
|
|
|
|
string RealmTokenKey = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message R2C_LoginRealm // IResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
string GateSessionKey = 1;
|
|
|
|
string GateAddress = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType G2C_LoginGameGate
|
|
|
|
message C2G_LoginGameGate // IRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int64 AccountId = 1;
|
|
|
|
int64 RoleId = 2;
|
|
|
|
string GateTokenKey = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
message G2C_LoginGameGate // IResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
int64 PlayerId = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType G2C_EnterGame
|
|
|
|
message C2G_EnterGame // IRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
}
|
|
|
|
|
|
|
|
message G2C_EnterGame // IResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
|
|
|
|
int64 UnitId = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//ResponseType M2C_RemoveBuilding
|
|
|
|
message C2M_RemoveBuilding // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int64 Id = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_RemoveBuilding // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
|
|
|
|
int64 Id = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType M2C_GameTime
|
|
|
|
message C2M_GameTime // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_GameTime // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
|
|
|
|
int32 GameTime = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType M2C_GatherResource
|
|
|
|
message C2M_GatherResource // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int64 ResPointId = 1;
|
|
|
|
repeated int64 PeopleIdList = 2;
|
|
|
|
int32 ResConfigId = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_GatherResource // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
|
|
|
|
int64 GatherId = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType M2C_StartGatherResource
|
|
|
|
message C2M_StartGatherResource // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int64 GatherId = 1;
|
|
|
|
int64 PeopleId = 2;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_StartGatherResource // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType M2C_StopGather
|
|
|
|
message C2M_StopGather // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int64 GatherId = 1;
|
|
|
|
int64 PeopleId = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_StopGather // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_RemoveEntity // IActorMessage
|
|
|
|
{
|
|
|
|
int64 Id = 1;
|
|
|
|
int32 EntityType = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//ResponseType M2C_GetStore
|
|
|
|
message C2M_GetStore // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_GetStore // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
repeated ItemProto Store = 7;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType M2C_PeopleMove
|
|
|
|
message C2M_PeopleMove // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int64 PeopleId = 1;
|
|
|
|
float X = 2;
|
|
|
|
float Y = 3;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_PeopleMove // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_NotifyUpdateConstructProgress // IActorMessage
|
|
|
|
{
|
|
|
|
repeated int64 Ks = 1;
|
|
|
|
repeated int32 Vs = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_UpdateGather // IActorMessage
|
|
|
|
{
|
|
|
|
repeated GatherProto GatherList = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType M2C_CreateConstruct
|
|
|
|
message C2M_CreateConstruct // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 ConfigId = 1;
|
|
|
|
float X = 2;
|
|
|
|
float Y = 3;
|
|
|
|
long BuildingId = 4;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_CreateConstruct // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
int64 Id = 1;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//ResponseType M2C_CancelConstruct
|
|
|
|
message C2M_CancelConstruct // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int64 Id = 1;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_CancelConstruct // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
int64 Id = 1;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//ResponseType M2C_GoConstruct
|
|
|
|
message C2M_GoConstruct // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int64 Id = 1;
|
|
|
|
repeated int64 PeopleIdList = 2;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_GoConstruct // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType M2C_StartConstruct
|
|
|
|
message C2M_StartConstruct // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int64 Id = 1;
|
|
|
|
int64 peopleId = 2;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_StartConstruct // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType M2C_StopConstruct
|
|
|
|
message C2M_StopConstruct // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int64 Id = 1;
|
|
|
|
int64 peopleId = 2;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_StopConstruct // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_NotifyUpdatePeople // IActorMessage
|
|
|
|
{
|
|
|
|
int64 Id = 1;
|
|
|
|
repeated int32 Ks = 2;
|
|
|
|
repeated int64 Vs = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_NotifyConstructFinish // IActorMessage
|
|
|
|
{
|
|
|
|
int64 ConstructId = 1;
|
|
|
|
int64 BuildingId = 2;
|
|
|
|
int64 ChildId = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_NotifyUpdateValley // IActorMessage
|
|
|
|
{
|
|
|
|
repeated int32 Ks = 1;
|
|
|
|
repeated int64 Vs = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_NotifyGatherFinish // IActorMessage
|
|
|
|
{
|
|
|
|
int64 GatherId = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType M2C_StartSynthesis
|
|
|
|
message C2M_StartSynthesis // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 ConfigId = 1;
|
|
|
|
int64 MaxAmount = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_StartSynthesis // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType M2C_GetSynthesis
|
|
|
|
message C2M_GetSynthesis // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_GetSynthesis // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
|
|
|
|
repeated SynthesisProto SynthesisList = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType M2C_EndSynthesis
|
|
|
|
message C2M_EndSynthesis // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 ConfigId = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_EndSynthesis // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_NotifySynthesisUpdate // IActorMessage
|
|
|
|
{
|
|
|
|
repeated ItemProto Items = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_NotifySynthesisWithState // IActorMessage
|
|
|
|
{
|
|
|
|
repeated int32 ConfigIds = 1;
|
|
|
|
int32 State = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType M2C_Cheat
|
|
|
|
message C2M_Cheat // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Type = 1;
|
|
|
|
int32 Id = 2;
|
|
|
|
uint32 Num = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_Cheat // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType M2C_StartCuisine
|
|
|
|
message C2M_StartCuisine // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Id = 1;
|
|
|
|
int64 MaxAmount = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_StartCuisine // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType M2C_DevelopRecipe
|
|
|
|
message C2M_DevelopRecipe // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
repeated int32 Ids = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_DevelopRecipe // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
int32 Id = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType M2C_StopRecipeGame
|
|
|
|
message C2M_StopRecipeGame // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Result = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_StopRecipeGame // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
int32 MixtureId = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType M2C_GetMenu
|
|
|
|
message C2M_GetMenu // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_GetMenu // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
repeated MenuProto MenuList = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType M2C_DropItem
|
|
|
|
message C2M_DropItem // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 ConfigId = 1;
|
|
|
|
int32 Amount = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_DropItem // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType M2C_UseItem
|
|
|
|
message C2M_UseItem // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 ConfigId = 1;
|
|
|
|
int32 Amount = 2;
|
|
|
|
int64 Id = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_UseItem // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType M2C_UpgradeScale
|
|
|
|
message C2M_UpgradeScale // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_UpgradeScale // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
int32 Scale = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_NotifyNightEvent // IActorMessage
|
|
|
|
{
|
|
|
|
int32 EventSeed = 1;
|
|
|
|
int32 NightTime = 2;
|
|
|
|
int32 Time = 3;
|
|
|
|
repeated string EventNames = 4;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType M2C_RootOutResource
|
|
|
|
message C2M_RootOutResource // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int64 ResourceId = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_RootOutResource // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType M2C_CreateResource
|
|
|
|
message C2M_CreateResource // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 ResourceConfigId = 1;
|
|
|
|
float X = 2;
|
|
|
|
float Y = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_CreateResource // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
int64 ResourceId = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType M2C_UseSaplingItem
|
|
|
|
message C2M_UseSaplingItem // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 ItemId = 1;
|
|
|
|
float X = 2;
|
|
|
|
float Y = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_UseSaplingItem // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
int64 ResourceId = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType M2C_Embattle
|
|
|
|
message C2M_Embattle // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
repeated int32 Ks = 1;
|
|
|
|
repeated int64 Vs = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_Embattle // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType M2C_EnterBattle
|
|
|
|
message C2M_EnterBattle // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int64 EnemyId = 1;
|
|
|
|
int32 BattleType = 2; //1 PVP,2 PVE
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_EnterBattle // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
repeated FighterProto FighterList = 1;
|
|
|
|
repeated FighterProto EnemyList = 2;
|
|
|
|
int32 Seed = 3;
|
|
|
|
int64 BattleId = 4;
|
|
|
|
}
|
|
|
|
|
|
|
|
message SkillProto
|
|
|
|
{
|
|
|
|
int64 Id = 1;
|
|
|
|
int32 ConfigId = 2;
|
|
|
|
int32 Level = 3;
|
|
|
|
int32 CoolTime = 4;
|
|
|
|
|
|
|
|
}
|
|
|
|
message FighterProto
|
|
|
|
{
|
|
|
|
int64 Id = 1;
|
|
|
|
string Name = 2;
|
|
|
|
int32 ConfigId = 3;
|
|
|
|
int32 Pos = 4; //1-9,位置
|
|
|
|
bool IsAlive = 5; //false 死亡,true 活着
|
|
|
|
repeated int32 Ks = 6;
|
|
|
|
repeated int64 Vs = 7;
|
|
|
|
int32 AtkId = 8;
|
|
|
|
repeated SkillProto SkillList = 9; //技能列表
|
|
|
|
int32 FightType = 10;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType M2C_ExitBattle
|
|
|
|
message C2M_ExitBattle // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_ExitBattle // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType M2C_BattleAtkOver
|
|
|
|
message C2M_BattleAtkOver // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_BattleAtkOver // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
int32 Seed = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType M2C_UseSkill
|
|
|
|
message C2M_UseSkill // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int64 AtkId = 1;
|
|
|
|
int32 SkillId = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_UseSkill // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType M2C_TestReplaceSkill
|
|
|
|
message C2M_TestReplaceSkill // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int64 PeopleId = 1;
|
|
|
|
int32 OldSkillId = 2;
|
|
|
|
int32 NewSkillId = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_TestReplaceSkill // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
}
|
|
|
|
|
|
|
|
message MonsterGroupProto
|
|
|
|
{
|
|
|
|
int64 Id = 1;
|
|
|
|
int32 ConfigId = 2;
|
|
|
|
int32 Seed = 3;
|
|
|
|
float X = 4;
|
|
|
|
float Y = 5;
|
|
|
|
int64 ResId = 6;
|
|
|
|
int32 RefreshType = 7;
|
|
|
|
int32 RefreshParm = 8;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//ResponseType M2C_RepairBuilding
|
|
|
|
message C2M_RepairBuilding // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int64 PeopleId = 1;
|
|
|
|
int64 Id = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_RepairBuilding // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_NotifyResourceAttri // IActorMessage
|
|
|
|
{
|
|
|
|
repeated int64 IdList = 1;
|
|
|
|
repeated int32 Ks = 2;
|
|
|
|
repeated int32 Vs = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType M2C_BuildingDurable
|
|
|
|
message C2M_BuildingDurable // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int64 PeopleId = 1;
|
|
|
|
int64 BuildingId = 2; //0表示所有的建筑
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_BuildingDurable // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
repeated long IdList = 1;
|
|
|
|
repeated int32 Vs = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType M2C_ConstructFinish
|
|
|
|
message C2M_ConstructFinish // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int64 ConstructId = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_ConstructFinish // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
message FarmlandProto
|
|
|
|
{
|
|
|
|
int64 Id = 1;
|
|
|
|
int32 CropCfgId = 2;
|
|
|
|
int32 PlantCfgId = 3;
|
|
|
|
int32 Duration = 4;
|
|
|
|
int32 ExProduct = 5;
|
|
|
|
int32 FarmlandState = 6;
|
|
|
|
long PeopleId = 7;
|
|
|
|
long CabinId = 8;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType M2C_FarmlandPlant
|
|
|
|
message C2M_FarmlandPlant // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int64 FarmlandId = 1;
|
|
|
|
int64 PeopleId = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_FarmlandPlant // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType M2C_FarmlandHarvest
|
|
|
|
message C2M_FarmlandHarvest // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int64 FarmlandId = 1;
|
|
|
|
int64 PeopleId = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_FarmlandHarvest // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType M2C_FarmlandSeed
|
|
|
|
message C2M_FarmlandSeed // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int64 FarmlandId = 1;
|
|
|
|
int32 CropCfgId = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_FarmlandSeed // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType M2C_ChangeBehave
|
|
|
|
message C2M_ChangeBehave // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int64 TargetId = 1;
|
|
|
|
int32 BehaveType = 2;
|
|
|
|
int64 PeopleId = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_ChangeBehave // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType M2C_CheatItemList
|
|
|
|
message C2M_CheatItemList // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
repeated int32 ConfigIds = 1;
|
|
|
|
repeated int32 Nums = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_CheatItemList // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType M2C_GoFarmlandPlant
|
|
|
|
message C2M_GoFarmlandPlant // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int64 FarmlandId = 1 ;
|
|
|
|
int64 PeopleId = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_GoFarmlandPlant // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType M2C_GoFarmlandHarvest
|
|
|
|
message C2M_GoFarmlandHarvest // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int64 FarmlandId = 1 ;
|
|
|
|
int64 PeopleId = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_GoFarmlandHarvest // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType M2C_FarmlandRipe
|
|
|
|
message C2M_FarmlandRipe // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int64 FarmlandId = 1 ;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_FarmlandRipe // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_NtfFarmlandRipe // IActorMessage
|
|
|
|
{
|
|
|
|
repeated int64 FarmlandIds = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_NtfFarmlandRipeProgress // IActorMessage
|
|
|
|
{
|
|
|
|
repeated int64 FarmlandIds = 1;
|
|
|
|
repeated int32 Progresses = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message CabinProto
|
|
|
|
{
|
|
|
|
int64 Id = 1;
|
|
|
|
int64 PeopleId = 2;
|
|
|
|
repeated int64 FarmlandIds = 3;
|
|
|
|
int32 ResidentState = 4;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType M2C_GoCabin
|
|
|
|
message C2M_GoCabin // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int64 PeopleId = 1 ;
|
|
|
|
int64 CabinId = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_GoCabin // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType M2C_ArriveCabin
|
|
|
|
message C2M_ArriveCabin // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int64 PeopleId = 1 ;
|
|
|
|
int64 CabinId = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_ArriveCabin // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType M2C_CabinAddFarmland
|
|
|
|
message C2M_CabinAddFarmland // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
repeated int64 FarmlandIds = 1 ;
|
|
|
|
int64 CabinId = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_CabinAddFarmland // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
repeated int64 FarmlandIds = 1 ;
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType M2C_CabinSeed
|
|
|
|
message C2M_CabinSeed // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int64 FarmlandId = 1;
|
|
|
|
int32 CropCfgId = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_CabinSeed // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType M2C_CabinUpdateFarmlands
|
|
|
|
message C2M_CabinUpdateFarmlands // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
repeated int64 FarmlandIds = 1;
|
|
|
|
long CabinId = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_CabinUpdateFarmlands // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
//ResponseType M2C_CabinHarvest
|
|
|
|
message C2M_CabinHarvest // IActorLocationRequest
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int64 FarmlandId = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_CabinHarvest // IActorLocationResponse
|
|
|
|
{
|
|
|
|
int32 RpcId = 90;
|
|
|
|
int32 Error = 91;
|
|
|
|
string Message = 92;
|
|
|
|
}
|
|
|
|
|
|
|
|
message WeatherProto
|
|
|
|
{
|
|
|
|
int64 Id = 1;
|
|
|
|
int32 ConfigId = 2;
|
|
|
|
int32 State = 3; //1表示天气生效中
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
message M2C_NtfWeatherStart // IActorMessage
|
|
|
|
{
|
|
|
|
int32 WeatherCfgId = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
message M2C_NtfWeatherEnd // IActorMessage
|
|
|
|
{
|
|
|
|
int32 WeatherCfgId = 1;
|
|
|
|
|
|
|
|
}
|