TrinityCore
Loading...
Searching...
No Matches
SpawnMetadata Struct Reference

#include <SpawnData.h>

+ Inheritance diagram for SpawnMetadata:

Public Member Functions

SpawnData const * ToSpawnData () const
 

Static Public Member Functions

static constexpr bool TypeInMask (SpawnObjectType type, SpawnObjectTypeMask mask)
 
static constexpr bool TypeHasData (SpawnObjectType type)
 
static constexpr bool TypeIsValid (SpawnObjectType type)
 

Public Attributes

SpawnObjectType const type
 
uint32 spawnId = 0
 
uint32 mapId = MAPID_INVALID
 
bool dbData = true
 
SpawnGroupTemplateData const * spawnGroupData = nullptr
 

Static Public Attributes

template<typename T >
static constexpr SpawnObjectType TypeFor = Trinity::Impl::SpawnObjectTypeForImpl<T>::value
 

Protected Member Functions

 SpawnMetadata (SpawnObjectType t)
 

Detailed Description

Definition at line 74 of file SpawnData.h.

Constructor & Destructor Documentation

◆ SpawnMetadata()

SpawnMetadata::SpawnMetadata ( SpawnObjectType  t)
inlineprotected

Definition at line 91 of file SpawnData.h.

Member Function Documentation

◆ ToSpawnData()

SpawnData const * SpawnMetadata::ToSpawnData ( ) const
inline

Definition at line 82 of file SpawnData.h.

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

◆ TypeHasData()

static constexpr bool SpawnMetadata::TypeHasData ( SpawnObjectType  type)
inlinestaticconstexpr

Definition at line 77 of file SpawnData.h.

+ Here is the caller graph for this function:

◆ TypeInMask()

static constexpr bool SpawnMetadata::TypeInMask ( SpawnObjectType  type,
SpawnObjectTypeMask  mask 
)
inlinestaticconstexpr

Definition at line 76 of file SpawnData.h.

◆ TypeIsValid()

static constexpr bool SpawnMetadata::TypeIsValid ( SpawnObjectType  type)
inlinestaticconstexpr

Definition at line 78 of file SpawnData.h.

+ Here is the caller graph for this function:

Member Data Documentation

◆ dbData

bool SpawnMetadata::dbData = true

Definition at line 87 of file SpawnData.h.

◆ mapId

uint32 SpawnMetadata::mapId = MAPID_INVALID

Definition at line 86 of file SpawnData.h.

◆ spawnGroupData

SpawnGroupTemplateData const* SpawnMetadata::spawnGroupData = nullptr

Definition at line 88 of file SpawnData.h.

◆ spawnId

uint32 SpawnMetadata::spawnId = 0

Definition at line 85 of file SpawnData.h.

◆ type

SpawnObjectType const SpawnMetadata::type

Definition at line 84 of file SpawnData.h.

◆ TypeFor

template<typename T >
constexpr SpawnObjectType SpawnMetadata::TypeFor = Trinity::Impl::SpawnObjectTypeForImpl<T>::value
staticconstexpr

Definition at line 80 of file SpawnData.h.


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