Beispiel #1
0
        public void Deserialize(ImgeneusPacket packetStream)
        {
            TimeInterval = packetStream.Read <short>();
            var messageLength = packetStream.Read <byte>();

            // Message always ends with an empty character
#if EP8_V2 || SHAIYA_US
            Message = packetStream.ReadString(messageLength, Encoding.Unicode);
#else
            Message = packetStream.ReadString(messageLength);
#endif
        }
Beispiel #2
0
 public void Deserialize(ImgeneusPacket packetStream)
 {
     MobId = packetStream.Read <int>();
 }