TrinityCore
Loading...
Searching...
No Matches
TransmogMgr Namespace Reference

Classes

struct  TransmogOutfitSlotAndOptionInfo
 

Functions

void Load ()
 
ItemModifiedAppearanceEntry const * GetItemModifiedAppearance (uint32 itemId, uint32 appearanceModId)
 
ItemModifiedAppearanceEntry const * GetDefaultItemModifiedAppearance (uint32 itemId)
 
TransmogIllusionEntry const * GetTransmogIllusionForSpellItemEnchantment (uint32 spellItemEnchantmentId)
 
std::span< TransmogSetEntry const *const > GetTransmogSetsForItemModifiedAppearance (uint32 itemModifiedAppearanceId)
 
std::span< TransmogSetItemEntry const *const > GetTransmogSetItems (uint32 transmogSetId)
 
std::span< TransmogOutfitEntryEntry const *const > GetAutomaticallyUnlockedOutfits ()
 
std::span< TransmogOutfitSlotAndOptionInfo const > GetAllSlots ()
 
TransmogOutfitSlotAndOptionInfo const * GetSlotAndOption (TransmogOutfitSlot slot, TransmogOutfitSlotOption slotOption)
 
TransmogOutfitSlotAndOptionInfo const * GetSlotAndOption (EquipmentSlots inventorySlot, TransmogOutfitSlotOption slotOption)
 
std::span< TransmogSituationEntry const *const > GetDefaultSituations ()
 
TransmogOutfitEntryEntry const * GetNextOutfitToUnlock (TransmogOutfitEntrySource source, Player const *player)
 
bool ValidateSituations (std::span< WorldPackets::Transmogrification::TransmogOutfitSituationInfo const > situations)
 
bool ValidateSlots (std::span< WorldPackets::Transmogrification::TransmogOutfitSlotData const > slots)
 

Variables

constexpr std::array< std::string_view, TOTAL_LOCALESDefaultOutfitName
 
constexpr uint32 DefaultOutfitIcon = 134400
 

Function Documentation

◆ GetAllSlots()

std::span< TransmogMgr::TransmogOutfitSlotAndOptionInfo const > TransmogMgr::GetAllSlots ( )

Definition at line 289 of file TransmogMgr.cpp.

+ Here is the caller graph for this function:

◆ GetAutomaticallyUnlockedOutfits()

std::span< TransmogOutfitEntryEntry const *const > TransmogMgr::GetAutomaticallyUnlockedOutfits ( )

Definition at line 284 of file TransmogMgr.cpp.

+ Here is the caller graph for this function:

◆ GetDefaultItemModifiedAppearance()

ItemModifiedAppearanceEntry const * TransmogMgr::GetDefaultItemModifiedAppearance ( uint32  itemId)

Definition at line 259 of file TransmogMgr.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetDefaultSituations()

std::span< TransmogSituationEntry const *const > TransmogMgr::GetDefaultSituations ( )

Definition at line 312 of file TransmogMgr.cpp.

+ Here is the caller graph for this function:

◆ GetItemModifiedAppearance()

ItemModifiedAppearanceEntry const * TransmogMgr::GetItemModifiedAppearance ( uint32  itemId,
uint32  appearanceModId 
)

Definition at line 246 of file TransmogMgr.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetNextOutfitToUnlock()

TransmogOutfitEntryEntry const * TransmogMgr::GetNextOutfitToUnlock ( TransmogOutfitEntrySource  source,
Player const *  player 
)

Definition at line 317 of file TransmogMgr.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetSlotAndOption() [1/2]

TransmogMgr::TransmogOutfitSlotAndOptionInfo const * TransmogMgr::GetSlotAndOption ( EquipmentSlots  inventorySlot,
TransmogOutfitSlotOption  slotOption 
)

Definition at line 303 of file TransmogMgr.cpp.

◆ GetSlotAndOption() [2/2]

TransmogMgr::TransmogOutfitSlotAndOptionInfo const * TransmogMgr::GetSlotAndOption ( TransmogOutfitSlot  slot,
TransmogOutfitSlotOption  slotOption 
)

Definition at line 294 of file TransmogMgr.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetTransmogIllusionForSpellItemEnchantment()

TransmogIllusionEntry const * TransmogMgr::GetTransmogIllusionForSpellItemEnchantment ( uint32  spellItemEnchantmentId)

Definition at line 264 of file TransmogMgr.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetTransmogSetItems()

std::span< TransmogSetItemEntry const *const > TransmogMgr::GetTransmogSetItems ( uint32  transmogSetId)

Definition at line 279 of file TransmogMgr.cpp.

+ Here is the caller graph for this function:

◆ GetTransmogSetsForItemModifiedAppearance()

std::span< TransmogSetEntry const *const > TransmogMgr::GetTransmogSetsForItemModifiedAppearance ( uint32  itemModifiedAppearanceId)

Definition at line 269 of file TransmogMgr.cpp.

+ Here is the caller graph for this function:

◆ Load()

void TransmogMgr::Load ( )

Definition at line 143 of file TransmogMgr.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ValidateSituations()

bool TransmogMgr::ValidateSituations ( std::span< WorldPackets::Transmogrification::TransmogOutfitSituationInfo const >  situations)

Definition at line 343 of file TransmogMgr.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ValidateSlots()

bool TransmogMgr::ValidateSlots ( std::span< WorldPackets::Transmogrification::TransmogOutfitSlotData const >  slots)

Definition at line 389 of file TransmogMgr.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ DefaultOutfitIcon

constexpr uint32 TransmogMgr::DefaultOutfitIcon = 134400
inlineconstexpr

Definition at line 69 of file TransmogMgr.h.

◆ DefaultOutfitName

constexpr std::array<std::string_view, TOTAL_LOCALES> TransmogMgr::DefaultOutfitName
inlineconstexpr
Initial value:
=
{
"Outfit"sv,
"\354\235\230\354\203\201"sv,
"Tenue"sv,
"Outfit"sv,
"\345\244\226\350\247\202\346\226\271\346\241\210"sv,
"\346\234\215\350\243\235"sv,
"Atuendo"sv,
"Indumentaria"sv,
"\320\241\320\275\320\260\321\200\321\217\320\266\320\265\320\275\320\270\320\265"sv,
""sv,
"Roupa"sv,
"Completo"sv
}

Definition at line 53 of file TransmogMgr.h.