Пример #1
0
        public override void Read(byte[] packet)
        {
            ProtocolReader reader = new ProtocolReader(packet);

            this.Name = reader.ReadString();
            this.ObjectId = reader.ReadInt32();
            this.ObjectType = reader.ReadInt16();
            this.Texture1Id = reader.ReadInt32();
            this.Texture2Id = reader.ReadInt32();
            this.NumStars = reader.ReadInt32();
            this.Recipient = reader.ReadString();
            this.Text = reader.ReadString();
            this.CleanText = reader.ReadString();
        }
Пример #2
0
        public override void Read(byte[] packet)
        {
            ProtocolReader reader = new ProtocolReader(packet);

            this.Name       = reader.ReadString();
            this.ObjectId   = reader.ReadInt32();
            this.ObjectType = reader.ReadInt16();
            this.Texture1Id = reader.ReadInt32();
            this.Texture2Id = reader.ReadInt32();
            this.NumStars   = reader.ReadInt32();
            this.Recipient  = reader.ReadString();
            this.Text       = reader.ReadString();
            this.CleanText  = reader.ReadString();
        }
Пример #3
0
        public override void Read(byte[] packet)
        {
            ProtocolReader reader = new ProtocolReader(packet);

            this.ErrorId = reader.ReadInt32();
            this.ErrorDescription = reader.ReadString();
        }
        public override void Read(byte[] packet)
        {
            ProtocolReader reader = new ProtocolReader(packet);

            this.ObjectId = reader.ReadInt32();
            this.Text = reader.ReadString();
        }
        public override void Read(byte[] packet)
        {
            ProtocolReader reader = new ProtocolReader(packet);

            this.ObjectId = reader.ReadInt32();
            this.Text     = reader.ReadString();
        }
Пример #6
0
        public override void Read(byte[] packet)
        {
            ProtocolReader reader = new ProtocolReader(packet);

            this.ErrorId          = reader.ReadInt32();
            this.ErrorDescription = reader.ReadString();
        }
Пример #7
0
        public override void Read(byte[] packet)
        {
            ProtocolReader reader = new ProtocolReader(packet);

            this.Width               = reader.ReadInt32();
            this.Height              = reader.ReadInt32();
            this.Name                = reader.ReadString();
            this.FP                  = reader.ReadUInt32();
            this.Background          = reader.ReadInt32();
            this.AllowPlayerTeleport = reader.ReadBool();
            this.ShowDisplays        = reader.ReadBool();
            this.ExtraXml            = reader.ReadVector <string>(new ReadItemDelegate(reader.ReadLongString));
        }
Пример #8
0
        public override void Read(byte[] packet)
        {
            ProtocolReader reader = new ProtocolReader(packet);

            this.Width = reader.ReadInt32();
            this.Height = reader.ReadInt32();
            this.Name = reader.ReadString();
            this.FP = reader.ReadUInt32();
            this.Background = reader.ReadInt32();
            this.AllowPlayerTeleport = reader.ReadBool();
            this.ShowDisplays = reader.ReadBool();
            this.ExtraXml = reader.ReadVector<string>(new ReadItemDelegate(reader.ReadLongString));
        }