Messages: removed OverrideTransformMessages because it wasn't used anywhere

This commit is contained in:
vis2k 2018-07-19 11:36:57 +02:00
parent 5ce07ac0a4
commit 5c0cc5b99c

View File

@ -290,30 +290,6 @@ public override void Serialize(NetworkWriter writer)
} }
} }
class OverrideTransformMessage : MessageBase
{
public NetworkInstanceId netId;
public byte[] payload;
public bool teleport;
public int time;
public override void Deserialize(NetworkReader reader)
{
netId = reader.ReadNetworkId();
payload = reader.ReadBytesAndSize();
teleport = reader.ReadBoolean();
time = (int)reader.ReadPackedUInt32();
}
public override void Serialize(NetworkWriter writer)
{
writer.Write(netId);
writer.WriteBytesAndSize(payload);
writer.Write(teleport);
writer.WritePackedUInt32((uint)time);
}
}
class AnimationMessage : MessageBase class AnimationMessage : MessageBase
{ {
public NetworkInstanceId netId; public NetworkInstanceId netId;