![]() |
TrinityCore
|
Enumerations | |
| enum class | TypeID { Object = 0 , Item = 1 , Container = 2 , Unit = 3 , Player = 4 , GameObject = 5 , DynamicObject = 6 , Corpse = 7 , AreaTrigger = 8 , SceneObject = 9 , Conversation = 10 , Max } |
| enum | RealmFlags : uint8 { REALM_FLAG_NONE = 0x00 , REALM_FLAG_VERSION_MISMATCH = 0x01 , REALM_FLAG_OFFLINE = 0x02 , REALM_FLAG_SPECIFYBUILD = 0x04 , REALM_FLAG_UNK1 = 0x08 , REALM_FLAG_UNK2 = 0x10 , REALM_FLAG_RECOMMENDED = 0x20 , REALM_FLAG_NEW = 0x40 , REALM_FLAG_FULL = 0x80 } |
Functions | |
| constexpr ::TypeID | ConvertLegacyTypeID (TypeID legacyTypeID) |
| constexpr TypeMask | ConvertLegacyTypeMask (uint32 legacyTypeMask) |
| constexpr uint8 | format_as (RealmFlags e) |
| constexpr ::RealmFlags | ConvertLegacyRealmFlags (RealmFlags legacyRealmFlags) |
| constexpr RealmPopulationState | ConvertLegacyPopulationState (RealmFlags legacyRealmFlags, float population) |
| enum Trinity::Legacy::RealmFlags : uint8 |
|
strong |
| Enumerator | |
|---|---|
| Object | |
| Item | |
| Container | |
| Unit | |
| Player | |
| GameObject | |
| DynamicObject | |
| Corpse | |
| AreaTrigger | |
| SceneObject | |
| Conversation | |
| Max | |
Definition at line 460 of file ObjectGuid.h.
|
inlineconstexpr |
Definition at line 79 of file Realm.h.
References Full, High, Low, Medium, New, Offline, REALM_FLAG_FULL, REALM_FLAG_NEW, REALM_FLAG_OFFLINE, REALM_FLAG_RECOMMENDED, and Recommended.
|
inline |
Definition at line 71 of file Realm.h.
References None, REALM_FLAG_VERSION_MISMATCH, and VersionMismatch.
Definition at line 476 of file ObjectGuid.h.
References AreaTrigger, Container, Conversation, Corpse, DynamicObject, GameObject, Item, Object, Player, SceneObject, TYPEID_AREATRIGGER, TYPEID_CONTAINER, TYPEID_CONVERSATION, TYPEID_CORPSE, TYPEID_DYNAMICOBJECT, TYPEID_GAMEOBJECT, TYPEID_ITEM, TYPEID_OBJECT, TYPEID_PLAYER, TYPEID_SCENEOBJECT, TYPEID_UNIT, and Unit.
Referenced by ConvertLegacyTypeMask(), and ConditionMgr::isConditionTypeValid().
Definition at line 507 of file ObjectGuid.h.
References ConvertLegacyTypeID(), Max, and Object.
Referenced by ConditionMgr::isConditionTypeValid().
|
inlineconstexpr |