定义
This commit is contained in:
@@ -100,11 +100,10 @@ namespace Fantasy
|
||||
{
|
||||
Rod = default;
|
||||
Rigs.Clear();
|
||||
LineLength = default;
|
||||
ReelSpeed = default;
|
||||
State = default;
|
||||
Position = default;
|
||||
Rotation = default;
|
||||
Propertys.Clear();
|
||||
#if FANTASY_NET || FANTASY_UNITY
|
||||
GetScene().MessagePoolComponent.Return<GearInfo>(this);
|
||||
#endif
|
||||
@@ -114,15 +113,13 @@ namespace Fantasy
|
||||
[ProtoMember(2)]
|
||||
public List<long> Rigs = new List<long>();
|
||||
[ProtoMember(3)]
|
||||
public float LineLength { get; set; }
|
||||
[ProtoMember(4)]
|
||||
public float ReelSpeed { get; set; }
|
||||
[ProtoMember(5)]
|
||||
public int State { get; set; }
|
||||
[ProtoMember(6)]
|
||||
[ProtoMember(4)]
|
||||
public Vector3Info Position { get; set; }
|
||||
[ProtoMember(7)]
|
||||
[ProtoMember(5)]
|
||||
public Vector3Info Rotation { get; set; }
|
||||
[ProtoMember(6)]
|
||||
public List<KeyValueInt32> Propertys = new List<KeyValueInt32>();
|
||||
}
|
||||
[ProtoContract]
|
||||
public partial class UnitStateInfo : AMessage, IProto
|
||||
|
||||
Reference in New Issue
Block a user