public InputPacket(NetDataReader reader) { Entity = reader.GetEntity(); var x = reader.GetFloat(); var y = reader.GetFloat(); Aim = new Vector2(x, y); }
public InputPacket(NetDataReader reader) { Timestamp = reader.GetFloat(); Entity = reader.GetEntity(); Direction = reader.GetVec2(); }
public VelocityPacket(NetDataReader reader) { Timestamp = reader.GetFloat(); Entity = reader.GetEntity(); Velocity = reader.GetVec3(); }