Exemplo n.º 1
0
 public UnicodeMessagePacket(PacketReader reader)
     : base(0xAE, "Unicode Message")
 {
     _serial = reader.ReadInt32();
     _model = reader.ReadInt16();
     _msgType = (MessageType)reader.ReadByte();
     _hue = reader.ReadInt16();
     _font = reader.ReadInt16();
     _language = reader.ReadInt32();
     _speakerName = reader.ReadString(30);
     _spokenText = reader.ReadUnicodeString((reader.Buffer.Length - 48) / 2);
 }