Otclient  14/8/2020
luavaluecasts.cpp File Reference
#include "luavaluecasts.h"
#include "luainterface.h"
#include <framework/otml/otmlnode.h>
Include dependency graph for luavaluecasts.cpp:

Go to the source code of this file.

Functions

int push_luavalue (bool b)
 
bool luavalue_cast (int index, bool &b)
 
int push_luavalue (int i)
 
bool luavalue_cast (int index, int &i)
 
int push_luavalue (double d)
 
bool luavalue_cast (int index, double &d)
 
int push_luavalue (const char *cstr)
 
int push_luavalue (const std::string &str)
 
bool luavalue_cast (int index, std::string &str)
 
int push_luavalue (const LuaCppFunction &func)
 
int push_luavalue (const Color &color)
 
bool luavalue_cast (int index, Color &color)
 
int push_luavalue (const Rect &rect)
 
bool luavalue_cast (int index, Rect &rect)
 
int push_luavalue (const Point &point)
 
bool luavalue_cast (int index, Point &point)
 
int push_luavalue (const Size &size)
 
bool luavalue_cast (int index, Size &size)
 
void push_otml_subnode_luavalue (const OTMLNodePtr &node)
 
int push_luavalue (const OTMLNodePtr &node)
 
bool luavalue_cast (int index, OTMLNodePtr &node)
 
bool luavalue_cast (int index, LuaObjectPtr &obj)
 

Function Documentation

◆ luavalue_cast() [1/10]

bool luavalue_cast ( int  index,
bool &  b 
)

Definition at line 34 of file luavaluecasts.cpp.

Here is the call graph for this function:

◆ luavalue_cast() [2/10]

bool luavalue_cast ( int  index,
Color color 
)

Definition at line 111 of file luavaluecasts.cpp.

Here is the call graph for this function:

◆ luavalue_cast() [3/10]

bool luavalue_cast ( int  index,
double &  d 
)

Definition at line 62 of file luavaluecasts.cpp.

Here is the call graph for this function:

◆ luavalue_cast() [4/10]

bool luavalue_cast ( int  index,
int &  i 
)

Definition at line 47 of file luavaluecasts.cpp.

Here is the call graph for this function:

◆ luavalue_cast() [5/10]

bool luavalue_cast ( int  index,
LuaObjectPtr obj 
)

Definition at line 326 of file luavaluecasts.cpp.

Here is the call graph for this function:

◆ luavalue_cast() [6/10]

bool luavalue_cast ( int  index,
OTMLNodePtr node 
)

Definition at line 284 of file luavaluecasts.cpp.

Here is the call graph for this function:

◆ luavalue_cast() [7/10]

bool luavalue_cast ( int  index,
Point point 
)

Definition at line 179 of file luavaluecasts.cpp.

Here is the call graph for this function:

◆ luavalue_cast() [8/10]

bool luavalue_cast ( int  index,
Rect rect 
)

Definition at line 147 of file luavaluecasts.cpp.

Here is the call graph for this function:

◆ luavalue_cast() [9/10]

bool luavalue_cast ( int  index,
Size size 
)

Definition at line 207 of file luavaluecasts.cpp.

Here is the call graph for this function:

◆ luavalue_cast() [10/10]

bool luavalue_cast ( int  index,
std::string &  str 
)

Definition at line 83 of file luavaluecasts.cpp.

Here is the call graph for this function:

◆ push_luavalue() [1/11]

int push_luavalue ( bool  b)

Definition at line 28 of file luavaluecasts.cpp.

Here is the call graph for this function:

◆ push_luavalue() [2/11]

int push_luavalue ( const char *  cstr)

Definition at line 71 of file luavaluecasts.cpp.

Here is the call graph for this function:

◆ push_luavalue() [3/11]

int push_luavalue ( const Color color)

Definition at line 97 of file luavaluecasts.cpp.

Here is the call graph for this function:

◆ push_luavalue() [4/11]

int push_luavalue ( const LuaCppFunction func)

Definition at line 90 of file luavaluecasts.cpp.

Here is the call graph for this function:

◆ push_luavalue() [5/11]

int push_luavalue ( const OTMLNodePtr node)

Definition at line 267 of file luavaluecasts.cpp.

Here is the call graph for this function:

◆ push_luavalue() [6/11]

int push_luavalue ( const Point point)

Definition at line 169 of file luavaluecasts.cpp.

Here is the call graph for this function:

◆ push_luavalue() [7/11]

int push_luavalue ( const Rect rect)

Definition at line 133 of file luavaluecasts.cpp.

Here is the call graph for this function:

◆ push_luavalue() [8/11]

int push_luavalue ( const Size size)

Definition at line 197 of file luavaluecasts.cpp.

Here is the call graph for this function:

◆ push_luavalue() [9/11]

int push_luavalue ( const std::string &  str)

Definition at line 77 of file luavaluecasts.cpp.

Here is the call graph for this function:

◆ push_luavalue() [10/11]

int push_luavalue ( double  d)

Definition at line 56 of file luavaluecasts.cpp.

Here is the call graph for this function:

◆ push_luavalue() [11/11]

int push_luavalue ( int  i)

Definition at line 41 of file luavaluecasts.cpp.

Here is the call graph for this function:

◆ push_otml_subnode_luavalue()

void push_otml_subnode_luavalue ( const OTMLNodePtr node)

Definition at line 225 of file luavaluecasts.cpp.

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