协议修改

This commit is contained in:
2025-09-25 23:22:07 +08:00
parent ddffaac7b3
commit 5218bc7585
16 changed files with 159 additions and 125 deletions

View File

@@ -13,26 +13,12 @@ message RoleBaseInfo
VipInfo VipInfo = 7; //vip信息
}
message KeyValueStringInt64
{
string Key = 1; //键
int64 Value = 2; //值
}
message KeyValueInt32
{
int32 Key = 1; //键
int32 Value = 2; //值
}
message KeyValueInt64
{
int64 Key = 1; //键
int64 Value = 2; //值
}
message KeyValueString
{
string Key = 1; //键
string Value = 2; //值
int32 Key = 1; //键
int64 Value = 2; //
}
@@ -105,7 +91,7 @@ message ActivityInfo
int64 Id = 1; //活动id
int64 StartTime = 2; //开始时间
int64 EndTime = 3; //结束时间
repeated KeyValueStringInt64 Data = 4; //活动数据
repeated KeyValueInt64 Data = 4; //活动数据
}
///技能情况

View File

@@ -23,20 +23,17 @@ message QuaternionInfo
message GearInfo
{
int64 Rod = 1;
repeated int64 Rigs = 2; //钓组配件
float LineLength = 3; //线长度
float ReelSpeed = 4; //收线速度
int32 State = 5; //杆子状态
Vector3Info Position = 6; //钓组当前位置
Vector3Info Rotation = 7; //钓组方向
repeated int64 Rigs = 2; //钓组配件
Vector3Info Position = 3; //钓组当前位置
Vector3Info Rotation = 4; //钓组方向
repeated KeyValueInt64 Propertys = 5; //钓组参数信息
}
message UnitStateInfo
{
int32 State = 1; //状态id
repeated string Args = 2; //状态参数
repeated KeyValueInt64 Propertys = 2; //状态参数信息
}
message MapUnitInfo
@@ -46,7 +43,7 @@ message MapUnitInfo
Vector3Info Position = 3; //当前位置
Vector3Info Rotation = 4; //角色方向
UnitStateInfo State = 5; //状态信息
repeated GearInfo Gears = 7; //钓组数据
repeated KeyValueInt32 Propertys = 8; //属性信息
repeated GearInfo Gears = 6; //钓组数据
repeated KeyValueInt64 Propertys = 7; //属性信息
}