Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
LuaEngine.cpp File Reference
#include "LuaEngine.h"
#include "LuaFunctions.h"
#include "Config.h"
#include "HookMgr.h"
#include <dirent.h>
#include <sys/stat.h>
Include dependency graph for LuaEngine.cpp:

Go to the source code of this file.

Macros

#define TC_LOG_ERROR   SF_LOG_ERROR
#define TC_LOG_INFO   SF_LOG_INFO

Functions

template<typename T>
const char * GetTName ()
template<>
const char * GetTName< AuctionHouseObject > ()
template<>
const char * GetTName< Aura > ()
template<>
const char * GetTName< Corpse > ()
template<>
const char * GetTName< Creature > ()
template<>
const char * GetTName< GameObject > ()
template<>
const char * GetTName< Group > ()
template<>
const char * GetTName< Guild > ()
template<>
const char * GetTName< Item > ()
template<>
const char * GetTName< Map > ()
template<>
const char * GetTName< Object > ()
template<>
const char * GetTName< Player > ()
template<>
const char * GetTName< QueryResult > ()
template<>
const char * GetTName< Quest > ()
template<>
const char * GetTName< Spell > ()
template<>
const char * GetTName< Unit > ()
template<>
const char * GetTName< Vehicle > ()
template<>
const char * GetTName< Weather > ()
template<>
const char * GetTName< WorldObject > ()
template<>
const char * GetTName< WorldPacket > ()
void StartEluna (bool restart)

Macro Definition Documentation

◆ TC_LOG_ERROR

#define TC_LOG_ERROR   SF_LOG_ERROR

Definition at line 13 of file LuaEngine.cpp.

Referenced by Eluna::Initialize(), and Eluna::LoadDirectory().

◆ TC_LOG_INFO

#define TC_LOG_INFO   SF_LOG_INFO

Definition at line 12 of file LuaEngine.cpp.

Referenced by StartEluna().

Function Documentation

◆ GetTName()

template<typename T>
const char * GetTName ( )

◆ GetTName< AuctionHouseObject >()

template<>
const char * GetTName< AuctionHouseObject > ( )

Definition at line 39 of file LuaEngine.cpp.

◆ GetTName< Aura >()

template<>
const char * GetTName< Aura > ( )

Definition at line 31 of file LuaEngine.cpp.

◆ GetTName< Corpse >()

template<>
const char * GetTName< Corpse > ( )

Definition at line 37 of file LuaEngine.cpp.

◆ GetTName< Creature >()

template<>
const char * GetTName< Creature > ( )

Definition at line 25 of file LuaEngine.cpp.

◆ GetTName< GameObject >()

template<>
const char * GetTName< GameObject > ( )

Definition at line 26 of file LuaEngine.cpp.

◆ GetTName< Group >()

template<>
const char * GetTName< Group > ( )

Definition at line 28 of file LuaEngine.cpp.

◆ GetTName< Guild >()

template<>
const char * GetTName< Guild > ( )

Definition at line 29 of file LuaEngine.cpp.

◆ GetTName< Item >()

template<>
const char * GetTName< Item > ( )

Definition at line 33 of file LuaEngine.cpp.

◆ GetTName< Map >()

template<>
const char * GetTName< Map > ( )

Definition at line 36 of file LuaEngine.cpp.

◆ GetTName< Object >()

template<>
const char * GetTName< Object > ( )

Definition at line 21 of file LuaEngine.cpp.

◆ GetTName< Player >()

template<>
const char * GetTName< Player > ( )

Definition at line 24 of file LuaEngine.cpp.

◆ GetTName< QueryResult >()

template<>
const char * GetTName< QueryResult > ( )

Definition at line 30 of file LuaEngine.cpp.

◆ GetTName< Quest >()

template<>
const char * GetTName< Quest > ( )

Definition at line 35 of file LuaEngine.cpp.

◆ GetTName< Spell >()

template<>
const char * GetTName< Spell > ( )

Definition at line 34 of file LuaEngine.cpp.

◆ GetTName< Unit >()

template<>
const char * GetTName< Unit > ( )

Definition at line 23 of file LuaEngine.cpp.

◆ GetTName< Vehicle >()

template<>
const char * GetTName< Vehicle > ( )

Definition at line 27 of file LuaEngine.cpp.

◆ GetTName< Weather >()

template<>
const char * GetTName< Weather > ( )

Definition at line 38 of file LuaEngine.cpp.

◆ GetTName< WorldObject >()

template<>
const char * GetTName< WorldObject > ( )

Definition at line 22 of file LuaEngine.cpp.

◆ GetTName< WorldPacket >()

template<>
const char * GetTName< WorldPacket > ( )

Definition at line 32 of file LuaEngine.cpp.

◆ StartEluna()

void StartEluna ( bool restart)