TrinityCore
Loading...
Searching...
No Matches
Battlenet::GameAccountInfo Struct Reference

#include <Session.h>

Public Member Functions

void LoadResult (Field const *fields)
 

Public Attributes

uint32 Id
 
std::string Name
 
std::string DisplayName
 
time_t BanDate
 
time_t UnbanDate
 
bool IsBanned
 
bool IsPermanenetlyBanned
 
AccountTypes SecurityLevel
 
std::unordered_map< uint32, uint8 > CharacterCounts
 
std::unordered_map< std::string, LastPlayedCharacterInfo, Trinity::TransparentHash< std::string_view >, std::equal_to<> > LastPlayedCharacters
 

Detailed Description

Definition at line 48 of file Session.h.

Member Function Documentation

◆ LoadResult()

void Battlenet::GameAccountInfo::LoadResult ( Field const *  fields)

Definition at line 53 of file Session.cpp.

References Field::GetString(), Field::GetUInt32(), and Name.

Member Data Documentation

◆ BanDate

time_t Battlenet::GameAccountInfo::BanDate

Definition at line 55 of file Session.h.

◆ CharacterCounts

std::unordered_map<uint32 , uint8> Battlenet::GameAccountInfo::CharacterCounts

Definition at line 61 of file Session.h.

Referenced by Battlenet::Services::Shared::GameUtilities::GetRealmList().

◆ DisplayName

std::string Battlenet::GameAccountInfo::DisplayName

Definition at line 54 of file Session.h.

◆ Id

uint32 Battlenet::GameAccountInfo::Id

◆ IsBanned

bool Battlenet::GameAccountInfo::IsBanned

◆ IsPermanenetlyBanned

bool Battlenet::GameAccountInfo::IsPermanenetlyBanned

◆ LastPlayedCharacters

std::unordered_map<std::string , LastPlayedCharacterInfo, Trinity::TransparentHash<std::string_view>, std::equal_to<> > Battlenet::GameAccountInfo::LastPlayedCharacters

Definition at line 62 of file Session.h.

◆ Name

std::string Battlenet::GameAccountInfo::Name

Definition at line 53 of file Session.h.

Referenced by Battlenet::Services::Shared::GameUtilities::JoinRealm().

◆ SecurityLevel

◆ UnbanDate

time_t Battlenet::GameAccountInfo::UnbanDate

Definition at line 56 of file Session.h.


The documentation for this struct was generated from the following files: