public override void Deserialize(NetworkReader reader) { this.playerControllerId = (short) reader.ReadUInt16(); this.msgData = reader.ReadBytesAndSize(); if (this.msgData == null) { this.msgSize = 0; } else { this.msgSize = this.msgData.Length; } }