新增逻辑
This commit is contained in:
@@ -99,25 +99,31 @@ namespace Fantasy
|
||||
}
|
||||
public override void Dispose()
|
||||
{
|
||||
Rod = default;
|
||||
Rigs.Clear();
|
||||
Item = default;
|
||||
Binds.Clear();
|
||||
Position = default;
|
||||
Rotation = default;
|
||||
Propertys.Clear();
|
||||
InUse = default;
|
||||
InHand = default;
|
||||
#if FANTASY_NET || FANTASY_UNITY
|
||||
GetScene().MessagePoolComponent.Return<GearInfo>(this);
|
||||
#endif
|
||||
}
|
||||
[ProtoMember(1)]
|
||||
public long Rod { get; set; }
|
||||
public ItemInfo Item { get; set; }
|
||||
[ProtoMember(2)]
|
||||
public List<long> Rigs = new List<long>();
|
||||
public List<ItemInfo> Binds = new List<ItemInfo>();
|
||||
[ProtoMember(3)]
|
||||
public Vector3Info Position { get; set; }
|
||||
[ProtoMember(4)]
|
||||
public Vector3Info Rotation { get; set; }
|
||||
[ProtoMember(5)]
|
||||
public List<KeyValueInt64> Propertys = new List<KeyValueInt64>();
|
||||
[ProtoMember(6)]
|
||||
public bool InUse { get; set; }
|
||||
[ProtoMember(7)]
|
||||
public bool InHand { get; set; }
|
||||
}
|
||||
[ProtoContract]
|
||||
public partial class UnitStateInfo : AMessage
|
||||
|
||||
Reference in New Issue
Block a user