修改钓组相关协议

This commit is contained in:
2025-09-01 23:57:34 +08:00
parent 7cdad80c7a
commit 61d20b5729
16 changed files with 240 additions and 146 deletions

View File

@@ -54,7 +54,7 @@ message Map2C_RoleGearStateNotify // ICustomRouteMessage,MapRoute
message Map2C_RoleGearChangeNotify // ICustomRouteMessage,MapRoute
{
int64 Id = 1;
UnitGearInfo Gears = 2; //钓组数据
GearInfo Gears = 2; //钓组数据
}
///玩家位置变化

View File

@@ -120,10 +120,5 @@ message SkillInfo
message GearInfo
{
int64 Rod = 1;
int64 Line = 2;
int64 Bobber = 3;
int64 Hook = 4;
int64 Bait = 5;
int64 Weight = 6;
int64 Reel = 7;
repeated int64 Rigs = 2; //钓组配件
}

View File

@@ -1,24 +1,3 @@
message UnitGearItemInfo
{
int64 Id = 1; //唯一id
int32 ConfigId = 2; //配置id
}
message UnitGearInfo
{
UnitGearItemInfo Rod = 1;
UnitGearItemInfo Reel = 2;
UnitGearItemInfo Bobber = 3;
UnitGearItemInfo Hook = 4;
UnitGearItemInfo Bait = 5;
UnitGearItemInfo Lure = 6;
UnitGearItemInfo Weight = 7;
UnitGearItemInfo Line = 8;
UnitGearItemInfo Leader = 9;
UnitGearItemInfo Feeder = 10;
}
message Vector3Info
{
float x = 1;
@@ -53,7 +32,7 @@ message MapUnitInfo
RoleSimpleInfo RoleInfo = 2; //基础信息
MapUnitPositionInfo Location = 3; //位置信息
UnitStateInfo State = 4; //状态信息
UnitGearInfo Gears = 5; //钓组数据
GearInfo Gears = 5; //钓组数据
UnitFishingInfo FishingInfo = 6; //钓鱼状态信息
repeated KeyValueInt32 KV = 7; //属性信息
}