public void Deserialize(byte[] bytes, ref int offset) { this.username = ByteSerializer.DeserializeString(bytes, ref offset); this.position = ByteSerializer.DeserializeVector3(bytes, ref offset); this.pointerMode = (PointerMode)ByteSerializer.DeserializeInt(bytes, ref offset); this.pointerColor = ByteSerializer.DeserializeColor(bytes, ref offset); }