Ejemplo n.º 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();
        }
Ejemplo n.º 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();
        }
Ejemplo n.º 3
0
        public override void Read(byte[] packet)
        {
            ProtocolReader reader = new ProtocolReader(packet);

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

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

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

            this.ErrorId          = reader.ReadInt32();
            this.ErrorDescription = reader.ReadString();
        }
Ejemplo n.º 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));
        }
Ejemplo n.º 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));
        }