TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
WorldSession.h File Reference
#include "Common.h"
#include "SharedDefines.h"
#include "AddonMgr.h"
#include "DatabaseEnv.h"
#include "World.h"
#include "Packet.h"
#include "Cryptography/BigNumber.h"
#include "AccountMgr.h"
#include <unordered_set>
+ Include dependency graph for WorldSession.h:

Go to the source code of this file.

Classes

class  WorldPackets::Null
 
struct  AccountData
 
class  PacketFilter
 
class  MapSessionFilter
 
class  WorldSessionFilter
 
struct  PacketCounter
 
class  WorldSession
 Player session in the World. More...
 
union  WorldSession::ConnectToKey
 
class  WorldSession::DosProtection
 

Namespaces

 lfg
 
 rbac
 
 WorldPackets
 
 WorldPackets::Achievement
 
 WorldPackets::AuctionHouse
 
 WorldPackets::Auth
 
 WorldPackets::Bank
 
 WorldPackets::Battlefield
 
 WorldPackets::Battleground
 
 WorldPackets::Battlenet
 
 WorldPackets::BattlePet
 
 WorldPackets::BlackMarket
 
 WorldPackets::Calendar
 
 WorldPackets::Character
 
 WorldPackets::ClientConfig
 
 WorldPackets::Channel
 
 WorldPackets::Chat
 
 WorldPackets::Combat
 
 WorldPackets::Duel
 
 WorldPackets::EquipmentSet
 
 WorldPackets::GameObject
 
 WorldPackets::Garrison
 
 WorldPackets::Guild
 
 WorldPackets::GuildFinder
 
 WorldPackets::Inspect
 
 WorldPackets::Instance
 
 WorldPackets::Item
 
 WorldPackets::Loot
 
 WorldPackets::Mail
 
 WorldPackets::Misc
 
 WorldPackets::Movement
 
 WorldPackets::NPC
 
 WorldPackets::Party
 
 WorldPackets::Pet
 
 WorldPackets::Petition
 
 WorldPackets::Query
 
 WorldPackets::Quest
 
 WorldPackets::RaF
 
 WorldPackets::Reputation
 
 WorldPackets::Toy
 
 WorldPackets::Scenes
 
 WorldPackets::Social
 
 WorldPackets::Spells
 
 WorldPackets::Talent
 
 WorldPackets::Taxi
 
 WorldPackets::Ticket
 
 WorldPackets::Token
 
 WorldPackets::Totem
 
 WorldPackets::Trade
 
 WorldPackets::Vehicle
 
 WorldPackets::Voice
 
 WorldPackets::VoidStorage
 
 WorldPackets::Warden
 
 WorldPackets::Who
 
 google
 
 google::protobuf
 

Macros

#define NUM_ACCOUNT_DATA_TYPES   8
 
#define GLOBAL_CACHE_MASK   0x15
 
#define PER_CHARACTER_CACHE_MASK   0xEA
 
#define MAX_ACCOUNT_TUTORIAL_VALUES   8
 
#define DB2_REPLY_SPARSE   2442913102
 
#define DB2_REPLY_ITEM   1344507586
 

Enumerations

enum  AccountDataType {
  GLOBAL_CONFIG_CACHE = 0, PER_CHARACTER_CONFIG_CACHE = 1, GLOBAL_BINDINGS_CACHE = 2, PER_CHARACTER_BINDINGS_CACHE = 3,
  GLOBAL_MACROS_CACHE = 4, PER_CHARACTER_MACROS_CACHE = 5, PER_CHARACTER_LAYOUT_CACHE = 6, PER_CHARACTER_CHAT_CACHE = 7
}
 
enum  TutorialAction : uint8 { TUTORIAL_ACTION_UPDATE = 0, TUTORIAL_ACTION_CLEAR = 1, TUTORIAL_ACTION_RESET = 2 }
 
enum  PartyOperation { PARTY_OP_INVITE = 0, PARTY_OP_UNINVITE = 1, PARTY_OP_LEAVE = 2, PARTY_OP_SWAP = 4 }
 
enum  BarberShopResult { BARBER_SHOP_RESULT_SUCCESS = 0, BARBER_SHOP_RESULT_NO_MONEY = 1, BARBER_SHOP_RESULT_NOT_ON_CHAIR = 2, BARBER_SHOP_RESULT_NO_MONEY_2 = 3 }
 
enum  BFLeaveReason {
  BF_LEAVE_REASON_CLOSE = 1, BF_LEAVE_REASON_EXITED = 8, BF_LEAVE_REASON_LOW_LEVEL = 10, BF_LEAVE_REASON_NOT_WHILE_IN_RAID = 15,
  BF_LEAVE_REASON_DESERTER = 16
}
 
enum  ChatRestrictionType {
  ERR_CHAT_RESTRICTED = 0, ERR_CHAT_THROTTLED = 1, ERR_USER_SQUELCHED = 2, ERR_YELL_RESTRICTED = 3,
  ERR_CHAT_RAID_RESTRICTED = 4
}
 
enum  CharterTypes { GUILD_CHARTER_TYPE = 4, ARENA_TEAM_CHARTER_2v2_TYPE = 2, ARENA_TEAM_CHARTER_3v3_TYPE = 3, ARENA_TEAM_CHARTER_5v5_TYPE = 5 }
 
enum  DeclinedNameResult { DECLINED_NAMES_RESULT_SUCCESS = 0, DECLINED_NAMES_RESULT_ERROR = 1 }