#include "Globals.h"
#include "tolua++/include/tolua++.h"
#include "../World.h"
#include "../UUID.h"
#include "ManualBindings.h"
#include "LuaState.h"
#include "PluginLua.h"
#include "LuaChunkStay.h"
Go to the source code of this file.
static bool CheckParamVectorOr3Numbers |
( |
cLuaState & |
L, |
|
|
const char * |
a_VectorName, |
|
|
int |
a_Index, |
|
|
int & |
a_NextIndex |
|
) |
| |
|
static |
Check that a Lua parameter is either a vector or 3 numbers in sequence.
- Parameters
-
| L | The Lua state |
| a_VectorName | name of the vector class e.g. "Vector3<int>" |
| a_Index | Index to the start of the vector in the parameter list |
[out] | a_NextIndex | Index of the next parameter after the vector |
- Return values
-
true | if the parameter is a vector or 3 numbers |
Definition at line 22 of file ManualBindings_World.cpp.
template<typename T >
static bool GetStackVectorOr3Numbers |
( |
cLuaState & |
L, |
|
|
int |
a_Index, |
|
|
Vector3< T > & |
a_Return |
|
) |
| |
|
static |
static int tolua_cWorld_BroadcastBlockAction |
( |
lua_State * |
tolua_S | ) |
|
|
static |
static int tolua_cWorld_BroadcastParticleEffect |
( |
lua_State * |
tolua_S | ) |
|
|
static |
static int tolua_cWorld_BroadcastSoundEffect |
( |
lua_State * |
tolua_S | ) |
|
|
static |
static int tolua_cWorld_BroadcastSoundParticleEffect |
( |
lua_State * |
tolua_S | ) |
|
|
static |
static int tolua_cWorld_ChunkStay |
( |
lua_State * |
tolua_S | ) |
|
|
static |
static int tolua_cWorld_DoExplosionAt |
( |
lua_State * |
tolua_S | ) |
|
|
static |
static int tolua_cWorld_DoWithNearestPlayer |
( |
lua_State * |
tolua_S | ) |
|
|
static |
static int tolua_cWorld_DoWithPlayerByUUID |
( |
lua_State * |
tolua_S | ) |
|
|
static |
static int tolua_cWorld_ForEachLoadedChunk |
( |
lua_State * |
tolua_S | ) |
|
|
static |
static int tolua_cWorld_GetBlockInfo |
( |
lua_State * |
tolua_S | ) |
|
|
static |
static int tolua_cWorld_GetBlockTypeMeta |
( |
lua_State * |
tolua_S | ) |
|
|
static |
static int tolua_cWorld_GetSignLines |
( |
lua_State * |
tolua_S | ) |
|
|
static |
static int tolua_cWorld_PrepareChunk |
( |
lua_State * |
tolua_S | ) |
|
|
static |
static int tolua_cWorld_QueueTask |
( |
lua_State * |
tolua_S | ) |
|
|
static |
static int tolua_cWorld_ScheduleTask |
( |
lua_State * |
tolua_S | ) |
|
|
static |
static int tolua_cWorld_SetSignLines |
( |
lua_State * |
tolua_S | ) |
|
|
static |
static int tolua_cWorld_SpawnSplitExperienceOrbs |
( |
lua_State * |
tolua_S | ) |
|
|
static |
static int tolua_cWorld_TryGetHeight |
( |
lua_State * |
tolua_S | ) |
|
|
static |