Beispiel #1
0
        public void Write(GamePacketWriter writer)
        {
            writer.Write(TimeTillLogout);
            writer.Write(Unknown0);
            writer.Write(Unknown1);
            writer.Write(Unknown2);

            // these are both probably arrays of uints
            byte[] unknown3 = new byte[120];
            writer.WriteBytes(unknown3);
            byte[] unknown4 = new byte[152];
            writer.WriteBytes(unknown4);
        }
Beispiel #2
0
 public void Write(GamePacketWriter writer)
 {
     writer.Write(RealmId, 14u);
     writer.Write(ResidenceId);
     writer.Write(NeighbourhoodId);
     writer.Write(CharacterIdOwner);
     writer.Write(GuildIdOwner);
     writer.Write(1, 14u);
     writer.Write(TileId);
     writer.WriteStringWide(Name);
     writer.Write(PropertyInfoId);
     writer.Write(ResidenceInfoId);
     writer.Write(Roof);
     writer.Write(WallpaperExterior);
     writer.Write(Entryway);
     writer.Write(Door);
     writer.Write(Sky);
     writer.Write(Music);
     writer.Write(Ground);
     writer.Write(Flags, 32u);
     writer.Write(ResourceSharing);
     writer.Write(GardenSharing);
     writer.WriteBytes(new byte[64]);
     writer.Write(ResidenceDeleted);
 }
Beispiel #3
0
        public void Write(GamePacketWriter writer)
        {
            writer.Write(ZoneMapId);
            writer.Write(Count / 8);

            writer.WriteBytes(ZoneMapBits.GetBuffer());
        }
Beispiel #4
0
        public void Write(GamePacketWriter writer)
        {
            writer.WriteBytes(UnlockedFlair.GetBuffer());

            writer.Write(PetCustomisations.Count, 32u);
            foreach (var petCustomization in PetCustomisations)
            {
                petCustomization.Write(writer);
            }
        }
Beispiel #5
0
 public void Write(GamePacketWriter writer)
 {
     writer.Write(Address);
     writer.Write(Port);
     writer.WriteBytes(SessionKey, 16u);
     writer.Write(AccountId);
     writer.WriteStringWide(Realm);
     writer.Write(Flags);
     writer.Write(Type, 2);
     writer.Write(NoteTextId, 21u);
 }
Beispiel #6
0
 public void Write(GamePacketWriter writer)
 {
     writer.Write(Unknown0);
     writer.WriteBytes(SessionKey, 16u);
     GatewayData.Write(writer);
     writer.Write(Unknown1C);
     writer.WriteStringWide(RealmName);
     writer.Write(Flags);
     writer.Write(Type, 2u);
     writer.Write(NoteTextId, 21u);
 }
 public void Write(GamePacketWriter writer)
 {
     writer.Write(Host);
     writer.Write(Port);
     writer.WriteBytes(SessionKey, 16u);
     writer.Write(AccountId);
     writer.WriteStringWide(Realm);
     writer.Write(Unknown1);
     writer.Write(Type, 2);
     writer.Write(Unknown3, 21);
 }
Beispiel #8
0
        public void Write(GamePacketWriter writer)
        {
            writer.Write(UniqueId);
            writer.Write(ItemId, 18u);
            writer.Write(Quantity);
            writer.Write(Unk3);
            writer.Write(Unk4);
            writer.Write(Unk5);
            writer.Write(Unk6);
            writer.Write(Unk7, 18u);
            writer.WriteBytes(Unk8, 20u);
            writer.WriteBytes(Unk9, 32u);

            writer.Write(CurrencyAmount, 2u);
            foreach (CurrencyType type in CurrencyTypeId)
            {
                writer.Write(type, 4u);
            }

            writer.Write(UnkE);
        }
Beispiel #9
0
 public void Write(GamePacketWriter writer)
 {
     writer.Write(RealmId);
     writer.WriteStringWide(RealmName);
     writer.Write(Unknown2);
     writer.Write(Unknown3);
     writer.Write(Type, 2u);
     writer.Write(Status, 3u);
     writer.Write(Population, 3u);
     writer.Write(Unknown7);
     writer.WriteBytes(Unknown8, 16u);
     AccountRealmInfo.Write(writer);
     writer.Write(UnknownC);
     writer.Write(UnknownD);
     writer.Write(UnknownE);
     writer.Write(UnknownF);
 }
Beispiel #10
0
            public void Write(GamePacketWriter writer)
            {
                writer.Write(Unknown0);
                writer.WriteStringWide(Realm);
                writer.Write(Unknown2);
                writer.Write(Unknown3);
                writer.Write(Type, 2);
                writer.Write(Status, 3);
                writer.Write(Population, 3);
                writer.Write(Unknown7);
                writer.WriteBytes(new byte[16], 16u);

                writer.Write(Unknown8, 14);
                writer.Write(Unknown9);
                writer.WriteStringWide(UnknownA);
                writer.Write(UnknownB);

                writer.Write(UnknownC);
                writer.Write(UnknownD);
                writer.Write(UnknownE);
                writer.Write(UnknownF);
            }
 public void Write(GamePacketWriter writer)
 {
     writer.Write(Data.Length + 4);
     writer.WriteBytes(Data);
 }
Beispiel #12
0
 public void Write(GamePacketWriter writer)
 {
     writer.WriteBytes(new byte[14]);
 }