protected override bool OnRead() { bool bufferReadValid = true; this.VirtualPlayer = GameNetworkMessage.ReadVirtualPlayerReferenceToPacket(ref bufferReadValid); this.GoldAmount = GameNetworkMessage.ReadIntFromPacket(CompressionBasic.RoundGoldAmountCompressionInfo, ref bufferReadValid); return(bufferReadValid); }