Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
ElunaCompatibility.h File Reference
#include <optional>
Include dependency graph for ElunaCompatibility.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

using Difficulty = DifficultyID
template<typename T>
using Optional = std::optional<T>

Functions

WorldObjectElunaGetWorldObject (WorldObject const &context, uint64 guid)

Variables

static constexpr LootState GO_ACTIVATED = LootState::GO_ACTIVATED
static constexpr LootState GO_JUST_DEACTIVATED = LootState::GO_JUST_DEACTIVATED
static constexpr LootState GO_NOT_READY = LootState::GO_NOT_READY
static constexpr LootState GO_READY = LootState::GO_READY
static constexpr GOState GO_STATE_ACTIVE = GOState::GO_STATE_ACTIVE
static constexpr GOState GO_STATE_ACTIVE_ALTERNATIVE = GOState::GO_STATE_ACTIVE_ALTERNATIVE
static constexpr GOState GO_STATE_READY = GOState::GO_STATE_READY
static constexpr TempSummonType TEMPSUMMON_CORPSE_DESPAWN = TempSummonType::TEMPSUMMON_CORPSE_DESPAWN
static constexpr TempSummonType TEMPSUMMON_CORPSE_TIMED_DESPAWN = TempSummonType::TEMPSUMMON_CORPSE_TIMED_DESPAWN
static constexpr TempSummonType TEMPSUMMON_DEAD_DESPAWN = TempSummonType::TEMPSUMMON_DEAD_DESPAWN
static constexpr TempSummonType TEMPSUMMON_MANUAL_DESPAWN = TempSummonType::TEMPSUMMON_MANUAL_DESPAWN
static constexpr TempSummonType TEMPSUMMON_TIMED_DESPAWN = TempSummonType::TEMPSUMMON_TIMED_DESPAWN
static constexpr TempSummonType TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT = TempSummonType::TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT
static constexpr TempSummonType TEMPSUMMON_TIMED_OR_CORPSE_DESPAWN = TempSummonType::TEMPSUMMON_TIMED_OR_CORPSE_DESPAWN
static constexpr TempSummonType TEMPSUMMON_TIMED_OR_DEAD_DESPAWN = TempSummonType::TEMPSUMMON_TIMED_OR_DEAD_DESPAWN
static constexpr TypeID TYPEID_CONTAINER = TypeID::TYPEID_CONTAINER
static constexpr TypeID TYPEID_CORPSE = TypeID::TYPEID_CORPSE
static constexpr TypeID TYPEID_DYNAMICOBJECT = TypeID::TYPEID_DYNAMICOBJECT
static constexpr TypeID TYPEID_GAMEOBJECT = TypeID::TYPEID_GAMEOBJECT
static constexpr TypeID TYPEID_ITEM = TypeID::TYPEID_ITEM
static constexpr TypeID TYPEID_OBJECT = TypeID::TYPEID_OBJECT
static constexpr TypeID TYPEID_PLAYER = TypeID::TYPEID_PLAYER
static constexpr TypeID TYPEID_UNIT = TypeID::TYPEID_UNIT

Typedef Documentation

◆ Difficulty

Definition at line 14 of file ElunaCompatibility.h.

◆ Optional

template<typename T>
using Optional = std::optional<T>

Definition at line 12 of file ElunaCompatibility.h.

Function Documentation

◆ ElunaGetWorldObject()

Variable Documentation

◆ GO_ACTIVATED

LootState GO_ACTIVATED = LootState::GO_ACTIVATED
staticconstexpr

Definition at line 40 of file ElunaCompatibility.h.

Referenced by LuaGameObject::SetLootState().

◆ GO_JUST_DEACTIVATED

LootState GO_JUST_DEACTIVATED = LootState::GO_JUST_DEACTIVATED
staticconstexpr

Definition at line 41 of file ElunaCompatibility.h.

Referenced by LuaGameObject::SetLootState().

◆ GO_NOT_READY

LootState GO_NOT_READY = LootState::GO_NOT_READY
staticconstexpr

Definition at line 38 of file ElunaCompatibility.h.

Referenced by LuaGameObject::SetLootState().

◆ GO_READY

LootState GO_READY = LootState::GO_READY
staticconstexpr

Definition at line 39 of file ElunaCompatibility.h.

Referenced by LuaGameObject::SetLootState().

◆ GO_STATE_ACTIVE

◆ GO_STATE_ACTIVE_ALTERNATIVE

◆ GO_STATE_READY

GOState GO_STATE_READY = GOState::GO_STATE_READY
staticconstexpr

Definition at line 35 of file ElunaCompatibility.h.

Referenced by LuaGameObject::SetGoState().

◆ TEMPSUMMON_CORPSE_DESPAWN

TempSummonType TEMPSUMMON_CORPSE_DESPAWN = TempSummonType::TEMPSUMMON_CORPSE_DESPAWN
staticconstexpr

Definition at line 29 of file ElunaCompatibility.h.

Referenced by LuaUnit::SpawnCreature(), and LuaGameObject::SummonCreature().

◆ TEMPSUMMON_CORPSE_TIMED_DESPAWN

◆ TEMPSUMMON_DEAD_DESPAWN

◆ TEMPSUMMON_MANUAL_DESPAWN

◆ TEMPSUMMON_TIMED_DESPAWN

◆ TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT

◆ TEMPSUMMON_TIMED_OR_CORPSE_DESPAWN

◆ TEMPSUMMON_TIMED_OR_DEAD_DESPAWN

◆ TYPEID_CONTAINER

TypeID TYPEID_CONTAINER = TypeID::TYPEID_CONTAINER
staticconstexpr

Definition at line 18 of file ElunaCompatibility.h.

◆ TYPEID_CORPSE

TypeID TYPEID_CORPSE = TypeID::TYPEID_CORPSE
staticconstexpr

Definition at line 23 of file ElunaCompatibility.h.

Referenced by Eluna::Push(), and Eluna::Push().

◆ TYPEID_DYNAMICOBJECT

TypeID TYPEID_DYNAMICOBJECT = TypeID::TYPEID_DYNAMICOBJECT
staticconstexpr

Definition at line 22 of file ElunaCompatibility.h.

◆ TYPEID_GAMEOBJECT

TypeID TYPEID_GAMEOBJECT = TypeID::TYPEID_GAMEOBJECT
staticconstexpr

Definition at line 21 of file ElunaCompatibility.h.

Referenced by LuaPlayer::GossipAddQuests(), Eluna::Push(), and Eluna::Push().

◆ TYPEID_ITEM

TypeID TYPEID_ITEM = TypeID::TYPEID_ITEM
staticconstexpr

Definition at line 17 of file ElunaCompatibility.h.

Referenced by LuaUnit::CastSpell().

◆ TYPEID_OBJECT

◆ TYPEID_PLAYER

◆ TYPEID_UNIT