fix crouching????

This commit is contained in:
Mister_Nebula 2020-08-10 17:11:14 +01:00
parent 05fd10a50c
commit f7224c2382

View File

@ -3,21 +3,24 @@ using UnityEngine.Networking;
namespace QSB.Messaging
{
public class AnimTriggerMessage : PlayerMessage
public class AnimTriggerMessage : MessageBase
{
public short TriggerId;
public uint SenderId;
public float Value;
public override void Deserialize(NetworkReader reader)
{
Value = reader.ReadSingle();
TriggerId = reader.ReadInt16();
SenderId = reader.ReadPackedUInt32();
}
public override void Serialize(NetworkWriter writer)
{
writer.Write(Value);
writer.Write(TriggerId);
writer.Write(SenderId);
}
}
}