public void Read(IStarReader reader) { ReceivedMessage = new ChatReceivedMessage { Context = new MessageContext { Mode = (Mode)reader.ReadByte(), ChannelName = reader.ReadString() }, ClientId = reader.ReadInt32(), FromNick = reader.ReadString(), Text = reader.ReadString() }; }
public void Read(IStarReader reader) { AssetDigest = reader.ReadUInt8Array(); Uuid = reader.Serializer.Deserialize<IUuid>(reader); PlayerName = reader.ReadString(); PlayerSpecies = reader.ReadString(); ShipChunks = reader.Serializer.Deserialize<Dictionary<byte[], Maybe<byte[]>>>(reader); ShipUpgrades = reader.Serializer.Deserialize<IShipUpgrades>(reader); Account = reader.ReadString(); }
public void Read(IStarReader reader) { Reason = reader.ReadString(); }
public void Read(IStarReader reader) { Message = reader.ReadString(); Mode = (SendMode)reader.ReadByte(); }
public void ReadFrom(IStarReader reader) { Value = reader.ReadString(); }