示例#1
0
 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()
     };
 }
示例#2
0
 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();
 }
示例#3
0
 public void Read(IStarReader reader)
 {
     Reason = reader.ReadString();
 }
示例#4
0
 public void Read(IStarReader reader)
 {
     Message = reader.ReadString();
     Mode = (SendMode)reader.ReadByte();
 }
示例#5
0
 public void ReadFrom(IStarReader reader)
 {
     Value = reader.ReadString();
 }