进入和离开地图和房间协议合并
This commit is contained in:
@@ -385,27 +385,4 @@ namespace Fantasy
|
||||
[ProtoMember(3)]
|
||||
public int Exp { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 玩家当前使用钓组信息
|
||||
/// </summary>
|
||||
[ProtoContract]
|
||||
public partial class GearInfo : AMessage, IProto
|
||||
{
|
||||
public static GearInfo Create(Scene scene)
|
||||
{
|
||||
return scene.MessagePoolComponent.Rent<GearInfo>();
|
||||
}
|
||||
public override void Dispose()
|
||||
{
|
||||
Rod = default;
|
||||
Rigs.Clear();
|
||||
#if FANTASY_NET || FANTASY_UNITY
|
||||
GetScene().MessagePoolComponent.Return<GearInfo>(this);
|
||||
#endif
|
||||
}
|
||||
[ProtoMember(1)]
|
||||
public long Rod { get; set; }
|
||||
[ProtoMember(2)]
|
||||
public List<long> Rigs = new List<long>();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user