18 #ifndef CharacterPackets_h__
19 #define CharacterPackets_h__
183 void Read()
override;
216 void Read()
override;
236 void Read()
override;
262 void Read()
override;
284 void Read()
override;
330 void Read()
override;
358 void Read()
override;
368 void Read()
override;
417 void Read()
override;
511 void Read()
override;
535 void Read()
override;
545 void Read()
override;
567 void Read()
override;
577 void Read()
override;
587 void Read()
override;
597 void Read()
override;
646 void Read()
override;
656 void Read()
override;
666 void Read()
override;
677 void Read()
override;
726 void Read()
override;
745 #endif // CharacterPackets_h__
BarberShopResult Result
Definition: CharacterPackets.h:613
BarberShopResult
Definition: WorldSession.h:789
WorldPacket const * Write() override
Definition: CharacterPackets.cpp:116
Definition: CharacterPackets.h:721
CharacterRenameRequest(WorldPacket &&packet)
Definition: CharacterPackets.h:234
Definition: Opcodes.h:1502
GenerateRandomCharacterNameResult()
Definition: CharacterPackets.h:339
std::string CharName
Definition: CharacterPackets.h:701
void Read() override
Definition: CharacterPackets.cpp:215
ReorderCharacters(WorldPacket &&packet)
Definition: CharacterPackets.cpp:326
uint8 FacialHair
Definition: CharacterPackets.h:125
Definition: CharacterPackets.h:592
Definition: CharacterPackets.h:651
Definition: CharacterPackets.h:392
uint8 FaceID
Definition: CharacterPackets.h:68
int32 ClientToken
Definition: CharacterPackets.h:95
std::list< CharacterInfo > Characters
all characters on the list
Definition: CharacterPackets.h:174
int32 ServerRegionID
Definition: CharacterPackets.h:527
uint8 HairColor
Definition: CharacterPackets.h:124
SetFactionNotAtWar(WorldPacket &&packet)
Definition: CharacterPackets.h:654
SetFactionVisible(bool visible)
Definition: CharacterPackets.h:685
uint32 CustomizationFlag
Character customization flags.
Definition: CharacterPackets.h:132
std::string CharName
Definition: CharacterPackets.h:71
WorldPacket const * Write() override
Definition: CharacterPackets.cpp:508
Definition: CharacterPackets.h:480
uint8 HairColor
Definition: CharacterPackets.h:49
void Read() override
Definition: CharacterPackets.cpp:332
Definition: CharacterPackets.h:325
Definition: Opcodes.h:389
Definition: CharacterPackets.h:641
CharRaceOrFactionChange(WorldPacket &&packet)
Definition: CharacterPackets.h:282
Position Pos
Definition: CharacterPackets.h:431
SetActionBarToggles(WorldPacket &&packet)
Definition: CharacterPackets.h:533
ObjectGuid Guid
Guid of the player that is logging in.
Definition: CharacterPackets.h:419
int32 TotalTime
Definition: CharacterPackets.h:557
float FarClip
Visibility distance (for terrain)
Definition: CharacterPackets.h:420
uint8 ServerExpansionLevel
Definition: CharacterPackets.h:525
Definition: CharacterPackets.h:350
Definition: Opcodes.h:935
uint8 Class
Definition: CharacterPackets.h:119
uint8 ListPosition
Order of the characters in list.
Definition: CharacterPackets.h:117
uint8 HairColorID
Definition: CharacterPackets.h:72
Definition: Opcodes.h:264
Definition: Opcodes.h:162
Definition: CharacterPackets.h:672
Definition: Opcodes.h:974
TitleEarned(OpcodeServer opcode)
Definition: CharacterPackets.h:634
int32 MapId
Definition: CharacterPackets.h:128
Definition: CharacterPackets.h:231
Definition: CharacterPackets.h:65
bool Instant
Definition: CharacterPackets.h:477
Definition: CharacterPackets.h:469
uint32 Flags3
Character flags 3.
Definition: CharacterPackets.h:133
std::string Name
Definition: CharacterPackets.h:53
bool IsDeletedCharacters
used for character undelete list
Definition: CharacterPackets.h:172
WorldPacket const * Write() override
Definition: CharacterPackets.cpp:358
CharCustomize(WorldPacket &&packet)
Definition: CharacterPackets.h:260
uint8 Sex
Definition: CharacterPackets.h:45
uint32 NewHairStyle
Definition: CharacterPackets.h:599
Definition: Opcodes.h:263
WorldPacket const * Write() override
Definition: CharacterPackets.cpp:386
Definition: Opcodes.h:572
uint8 Face
Definition: CharacterPackets.h:122
Definition: SharedDefines.h:101
ObjectGuid Guid
Definition: CharacterPackets.h:62
Definition: Opcodes.h:643
void Read() override
Definition: CharacterPackets.h:397
std::list< RestrictedFactionChangeRuleInfo > FactionChangeRestrictions
Definition: CharacterPackets.h:175
Definition: CharacterPackets.h:506
int32 ProfessionIds[2]
Definition: CharacterPackets.h:146
Definition: CharacterPackets.h:59
Class used to access individual fields of database query result.
Definition: Field.h:56
ObjectGuid CharacterGuid
User specified variables.
Definition: CharacterPackets.h:94
RequestPlayedTime(WorldPacket &&packet)
Definition: CharacterPackets.h:543
WorldPacket const * Write() override
Definition: CharacterPackets.cpp:426
G3D::Vector3 PreLoadPosition
Definition: CharacterPackets.h:129
Definition: Opcodes.h:894
std::string Name
Server side data.
Definition: CharacterPackets.h:98
WorldPacket const * Write() override
Definition: CharacterPackets.cpp:198
Definition: Opcodes.h:509
CharCustomizeResponse()
Definition: CharacterPackets.h:695
void Read() override
Definition: CharacterPackets.cpp:366
uint32 MaxCooldown
Max. cooldown until next free character restoration. Displayed in undelete confirm message...
Definition: CharacterPackets.h:408
uint8 Class
Definition: CharacterPackets.h:44
Definition: Opcodes.h:385
uint8 Code
Result code.
Definition: CharacterPackets.h:228
WorldPacket const * Write() override
Definition: CharacterPackets.h:503
Definition: Opcodes.h:1512
Definition: Opcodes.h:1592
uint8 ServerExpansionTier
Definition: CharacterPackets.h:524
uint8 SexID
Definition: CharacterPackets.h:702
void Read() override
Definition: CharacterPackets.cpp:503
Definition: Opcodes.h:638
uint8 FactionIndex
Definition: CharacterPackets.h:648
bool State
Definition: CharacterPackets.h:669
Definition: CharacterPackets.h:423
Definition: CharacterPackets.h:158
void Read() override
Definition: CharacterPackets.cpp:309
WorldPacket const * Write() override
Definition: CharacterPackets.cpp:209
bool ShowCloak
Definition: CharacterPackets.h:569
void Read() override
Definition: CharacterPackets.cpp:400
Definition: Opcodes.h:1195
Array< ReorderInfo > Entries
Definition: CharacterPackets.h:360
SetTitle(WorldPacket &&packet)
Definition: CharacterPackets.h:585
Definition: CharacterPackets.h:104
uint32 NewSkinColor
Definition: CharacterPackets.h:602
PlayerLogin(WorldPacket &&packet)
Definition: CharacterPackets.h:415
Definition: Opcodes.h:644
Definition: Opcodes.h:619
uint8 Race
Definition: CharacterPackets.h:333
WorldPacket const * Write() override
Definition: CharacterPackets.cpp:349
void Read() override
Definition: CharacterPackets.cpp:204
LogoutRequest(WorldPacket &&packet)
Definition: CharacterPackets.h:464
Definition: CharacterPackets.h:498
Definition: Opcodes.h:231
Definition: WorldSession.h:791
WorldPacket _worldPacket
Definition: Packet.h:43
int32 ZoneId
Definition: CharacterPackets.h:127
uint8 Face
Definition: CharacterPackets.h:47
Definition: Opcodes.h:896
InventoryType
Definition: ItemTemplate.h:330
void Read() override
Definition: CharacterPackets.cpp:551
Definition: Opcodes.h:603
Definition: CharacterPackets.h:517
uint32 CreatureDisplayId
PetCreatureDisplayID.
Definition: CharacterPackets.h:140
uint32 DisplayId
Definition: CharacterPackets.h:150
uint8 Level
Definition: CharacterPackets.h:126
uint8 Reason
Definition: CharacterPackets.h:625
Definition: Opcodes.h:777
void Read() override
Definition: CharacterPackets.h:495
std::string Name
Definition: CharacterPackets.h:306
CreateCharacter(WorldPacket &&packet)
Definition: CharacterPackets.h:181
uint8 Code
Result code.
Definition: CharacterPackets.h:208
uint8 FacialHairStyleID
Definition: CharacterPackets.h:311
ObjectGuid Guid
Definition: CharacterPackets.h:321
ObjectGuid Player
Definition: CharacterPackets.h:739
bool Success
Definition: CharacterPackets.h:171
RestrictedFactionChangeRuleInfo(int32 mask, uint8 race)
Definition: CharacterPackets.h:160
DeclinedName DeclinedNames
Definition: CharacterPackets.h:729
int32 Mask
Definition: CharacterPackets.h:163
Definition: CharacterPackets.h:245
Definition: CharacterPackets.h:682
ShowingHelm(WorldPacket &&packet)
Definition: CharacterPackets.h:575
Definition: Opcodes.h:947
uint8 FacialHairStyleID
Definition: CharacterPackets.h:73
uint32 CurrentCooldown
Current cooldown until next free character restoration. (in sec)
Definition: CharacterPackets.h:409
CharacterRenameResult()
Definition: CharacterPackets.h:248
uint8 Result
Definition: CharacterPackets.h:253
Definition: CharacterPackets.h:279
WorldPacket const * Write() override
Definition: CharacterPackets.cpp:406
Definition: CharacterPackets.h:530
WorldPacket const * Write() override
Definition: CharacterPackets.cpp:564
uint8 HairColorID
Definition: CharacterPackets.h:309
Definition: CharacterPackets.h:710
Definition: Opcodes.h:161
void Read() override
Definition: CharacterPackets.cpp:178
uint8 Race
User specified variables.
Definition: CharacterPackets.h:43
CharDelete(WorldPacket &&packet)
Definition: CharacterPackets.h:214
Definition: CharacterPackets.h:211
WorldPacket const * Write() override
Definition: CharacterPackets.cpp:380
Definition: Opcodes.h:163
BarberShopResultServer()
Definition: CharacterPackets.h:609
PlayedTime()
Definition: CharacterPackets.h:553
SetFactionAtWar(WorldPacket &&packet)
Definition: CharacterPackets.h:644
Definition: Opcodes.h:889
uint8 SkinID
Definition: CharacterPackets.h:74
bool ReferAFriend
Definition: CharacterPackets.h:628
GenerateRandomCharacterName(WorldPacket &&packet)
Definition: CharacterPackets.h:328
uint32 DisplayEnchantId
Definition: CharacterPackets.h:151
Definition: CharacterPackets.h:412
Definition: Opcodes.h:1366
uint8 RaceID
Definition: CharacterPackets.h:313
SetPlayerDeclinedNamesResult()
Definition: CharacterPackets.h:735
WorldPacket const * Write() override
Definition: CharacterPackets.cpp:466
LoginFailureReason
Definition: CharacterPackets.h:435
uint8 SkinID
Definition: CharacterPackets.h:308
void Read() override
Definition: CharacterPackets.cpp:416
Definition: CharacterPackets.h:301
ObjectGuid CharGUID
Definition: CharacterPackets.h:718
LoadingScreenNotify(WorldPacket &&packet)
Definition: CharacterPackets.h:509
Definition: CharacterPackets.h:148
SetPlayerDeclinedNames(WorldPacket &&packet)
Definition: CharacterPackets.h:724
uint8 SkinID
Definition: CharacterPackets.h:703
LoginVerifyWorld()
Definition: CharacterPackets.h:426
float GroupBonus
Definition: CharacterPackets.h:627
Definition: CharacterPackets.h:29
uint8 FaceID
Definition: CharacterPackets.h:312
ObjectGuid GuildGuid
Definition: CharacterPackets.h:130
time_t RaidOrigin
Definition: CharacterPackets.h:526
void Read() override
Definition: CharacterPackets.cpp:436
uint32 Index
Definition: CharacterPackets.h:638
OpcodeServer
Definition: Opcodes.h:725
uint8 Result
Definition: CharacterPackets.h:320
int32 Amount
Definition: CharacterPackets.h:626
Definition: Opcodes.h:1044
EnumCharactersResult()
Definition: CharacterPackets.h:167
InitialSetup()
Definition: CharacterPackets.h:520
Optional< uint8 > HairStyleID
Definition: CharacterPackets.h:88
Optional< uint8 > HairColorID
Definition: CharacterPackets.h:79
Definition: Opcodes.h:617
ObjectGuid Victim
Definition: CharacterPackets.h:623
void Read() override
Definition: CharacterPackets.cpp:441
WorldPacket const * Write() override
Definition: CharacterPackets.cpp:527
SetFactionInactive(WorldPacket &&packet)
Definition: CharacterPackets.h:664
std::string Name
Definition: CharacterPackets.h:86
uint8 Result
Definition: CharacterPackets.h:717
void Read() override
Definition: CharacterPackets.cpp:451
bool Showing
Definition: CharacterPackets.h:514
uint8 HairColorID
Definition: CharacterPackets.h:704
Definition: CharacterPackets.h:661
Definition: Opcodes.h:1197
int32_t int32
Definition: Define.h:146
std::shared_ptr< CharRaceOrFactionChangeInfo > RaceOrFactionChangeInfo
Definition: CharacterPackets.h:298
OpcodeClient GetOpcode() const
Definition: Packet.h:72
ObjectGuid CharGUID
Definition: CharacterPackets.h:700
uint32_t uint32
Definition: Define.h:150
UndeleteCooldownStatusResponse()
Definition: CharacterPackets.h:403
void Read() override
Definition: CharacterPackets.cpp:342
VisualItemInfo VisualItems[INVENTORY_SLOT_BAG_END]
Definition: CharacterPackets.h:155
Definition: CharacterPackets.h:138
uint8 NewPosition
Definition: CharacterPackets.h:353
ObjectGuid Guid
Definition: CharacterPackets.h:115
Definition: CharacterPackets.h:77
WorldPacket const * Write() override
Definition: CharacterPackets.cpp:543
Definition: CharacterPackets.h:451
Definition: Opcodes.h:1591
struct WorldPackets::Character::EnumCharactersResult::CharacterInfo::PetInfo Pet
uint8 FactionIndex
Definition: CharacterPackets.h:658
bool FactionChange
Definition: CharacterPackets.h:85
uint8 FacialHairStyle
Definition: CharacterPackets.h:50
ObjectGuid CharGUID
Definition: CharacterPackets.h:69
int32 LevelTime
Definition: CharacterPackets.h:558
boost::optional< T > Optional
Optional helper class to wrap optional values within.
Definition: Common.h:170
Definition: Opcodes.h:627
ObjectGuid Guid
Guid of the character to delete.
Definition: CharacterPackets.h:218
SetWatchedFaction(WorldPacket &&packet)
Definition: CharacterPackets.h:675
CharFactionChangeResult()
Definition: CharacterPackets.h:316
Definition: Opcodes.h:1193
bool FirstLogin
Definition: CharacterPackets.h:134
Definition: CharacterPackets.h:101
int32 MapID
Definition: CharacterPackets.h:513
uint8 Skin
Definition: CharacterPackets.h:46
void Read() override
Definition: CharacterPackets.h:466
Definition: inftrees.h:24
Definition: BattlegroundMgr.h:57
uint8 RaceID
Definition: CharacterPackets.h:80
uint8 HairStyle
Definition: CharacterPackets.h:123
Definition: CharacterPackets.h:363
LogoutComplete()
Definition: CharacterPackets.h:483
std::string Name
Definition: CharacterPackets.h:116
std::shared_ptr< CharacterCreateInfo > CreateInfo
Definition: CharacterPackets.h:198
Definition: Opcodes.h:694
WorldPacket const * Write() override
Definition: CharacterPackets.cpp:394
uint8 OutfitId
Definition: CharacterPackets.h:51
uint8 Mask
Definition: CharacterPackets.h:537
CreateChar()
Definition: CharacterPackets.h:204
Definition: SharedDefines.h:166
Definition: Opcodes.h:1194
ObjectGuid Player
Definition: CharacterPackets.h:728
AlterApperance(WorldPacket &&packet)
Definition: CharacterPackets.h:595
Definition: Opcodes.h:895
CharacterInfo(Field *fields)
Initialize the struct with values from QueryResult.
Definition: CharacterPackets.cpp:23
CharCustomizeFailed()
Definition: CharacterPackets.h:713
uint8 FacialHairStyleID
Definition: CharacterPackets.h:706
LogoutCancelAck()
Definition: CharacterPackets.h:501
Optional< uint8 > FaceID
Definition: CharacterPackets.h:87
Definition: CharacterPackets.h:336
Definition: CharacterPackets.h:400
bool BoostInProgress
Definition: CharacterPackets.h:145
std::string NewName
Definition: CharacterPackets.h:61
Definition: CharacterPackets.h:40
LogoutCancel(WorldPacket &&packet)
Definition: CharacterPackets.h:493
Definition: CharacterPackets.h:347
uint8 Race
Definition: CharacterPackets.h:164
int32 Original
Definition: CharacterPackets.h:624
uint32 Flags
Character flag.
Definition: CharacterPackets.h:131
uint32 NewFacialHair
Definition: CharacterPackets.h:601
int32 LogoutResult
Definition: CharacterPackets.h:476
uint8 FaceID
Definition: CharacterPackets.h:707
Optional< CharFactionChangeDisplayInfo > Display
Definition: CharacterPackets.h:322
Definition: CharacterPackets.h:490
uint8 Sex
Definition: CharacterPackets.h:332
uint8 SexID
Definition: CharacterPackets.h:307
WorldPacket const * Write() override
Definition: CharacterPackets.cpp:460
bool TriggerScriptEvent
Definition: CharacterPackets.h:547
uint8 unkWod61x
Definition: CharacterPackets.h:135
void Read() override
Definition: CharacterPackets.h:37
uint32 NewHairColor
Definition: CharacterPackets.h:600
WorldPacket const * Write() override
Definition: CharacterPackets.cpp:315
Optional< uint8 > FacialHairStyleID
Definition: CharacterPackets.h:83
DeleteChar()
Definition: CharacterPackets.h:224
Definition: CharacterPackets.h:606
Definition: CharacterPackets.h:732
Optional< ObjectGuid > Guid
Definition: CharacterPackets.h:254
Definition: CharacterPackets.h:631
Definition: Opcodes.h:1500
Definition: Opcodes.h:1121
uint8 Skin
Definition: CharacterPackets.h:121
uint32 Reason
Definition: CharacterPackets.h:432
uint8 HairStyleID
Definition: CharacterPackets.h:67
uint8_t uint8
Definition: Define.h:152
Definition: Position.h:27
void Read() override
Definition: CharacterPackets.cpp:446
void Read() override
Definition: CharacterPackets.cpp:250
Definition: CharacterPackets.h:572
#define ASSERT
Definition: Errors.h:55
Definition: CharacterPackets.h:178
std::shared_ptr< CharacterUndeleteInfo > UndeleteInfo
Definition: CharacterPackets.h:374
ShowingCloak(WorldPacket &&packet)
Definition: CharacterPackets.h:565
uint32 FactionIndex
Definition: CharacterPackets.h:689
LogXPGain()
Definition: CharacterPackets.h:619
uint8 HairStyleID
Definition: CharacterPackets.h:310
Definition: CharacterPackets.h:461
CreatureFamily
Definition: SharedDefines.h:3576
void Read() override
Definition: CharacterPackets.cpp:492
void Read() override
Definition: CharacterPackets.cpp:497
std::string Name
Definition: CharacterPackets.h:252
LoginFailureReason Code
Definition: CharacterPackets.h:458
Definition: Opcodes.h:297
Definition: ObjectGuid.h:189
bool ShowHelm
Definition: CharacterPackets.h:579
Optional< int32 > TemplateSet
Definition: CharacterPackets.h:52
LogoutResponse()
Definition: CharacterPackets.h:472
CharacterUndeleteInfo const * UndeleteInfo
Definition: CharacterPackets.h:388
WorldPacket const * Write() override
Definition: CharacterPackets.cpp:480
uint8 SexID
Definition: CharacterPackets.h:81
Definition: Opcodes.h:887
uint32 LastPlayedTime
Definition: CharacterPackets.h:136
uint8 HairStyleID
Definition: CharacterPackets.h:705
Definition: CharacterPackets.h:582
Definition: Opcodes.h:387
uint32 NewFace
Definition: CharacterPackets.h:603
WorldPacket const * Write() override
Definition: CharacterPackets.cpp:222
uint8 SexID
Definition: CharacterPackets.h:70
bool TriggerEvent
Definition: CharacterPackets.h:559
ObjectGuid Guid
Definition: CharacterPackets.h:84
Definition: CharacterPackets.h:201
uint8 HairStyle
Definition: CharacterPackets.h:48
CharacterLoginFailed(LoginFailureReason code)
Definition: CharacterPackets.h:454
uint32 Index
Definition: CharacterPackets.h:668
Definition: Opcodes.h:618
Definition: Opcodes.h:645
UndeleteCharacterResponse()
Definition: CharacterPackets.h:380
EnumCharacters(WorldPacket &&packet)
Definition: CharacterPackets.h:32
std::shared_ptr< CharacterRenameInfo > RenameInfo
Definition: CharacterPackets.h:242
Definition: CharacterPackets.h:221
Definition: CharacterPackets.h:304
Definition: CharacterPackets.h:692
uint8 Race
Definition: CharacterPackets.h:118
UndeleteCharacter(WorldPacket &&packet)
Definition: CharacterPackets.h:366
void Read() override
Definition: CharacterPackets.cpp:421
uint8 Sex
Definition: CharacterPackets.h:120
Definition: CharacterPackets.h:550
Optional< uint8 > SkinID
Definition: CharacterPackets.h:82
int32 ResultCode
Definition: CharacterPackets.h:740
Definition: WorldPacket.h:26
WorldPacket const * Write() override
Definition: CharacterPackets.cpp:372
uint32 FactionIndex
Definition: CharacterPackets.h:679
Definition: CharacterPackets.h:616
void Read() override
Definition: CharacterPackets.cpp:237
Definition: Opcodes.h:289
void Read() override
Definition: CharacterPackets.cpp:487
std::string Name
Definition: CharacterPackets.h:343
int32 MapID
Definition: CharacterPackets.h:430
bool Success
Definition: CharacterPackets.h:344
int32 TitleID
Definition: CharacterPackets.h:589
ObjectGuid PlayerGUID
Definition: CharacterPackets.h:352
Definition: Opcodes.h:1196
Definition: Opcodes.h:160
WorldPacket const * Write() override
Definition: CharacterPackets.cpp:286
Definition: CharacterPackets.h:562
Definition: CharacterPackets.h:377
uint8 CharCount
Server side data.
Definition: CharacterPackets.h:56
uint32 Result
Definition: CharacterPackets.h:389
ObjectGuid SwitchToCharacter
Definition: CharacterPackets.h:487
Definition: SharedDefines.h:95
GetUndeleteCharacterCooldownStatus(WorldPacket &&packet)
Definition: CharacterPackets.h:395
Definition: PacketUtilities.h:68
Definition: CharacterPackets.h:257
bool OnCooldown
Definition: CharacterPackets.h:407
Definition: CharacterPackets.h:540
std::shared_ptr< CharCustomizeInfo > CustomizeInfo
Definition: CharacterPackets.h:274
Definition: CharacterPackets.h:91