Cuberite
A lightweight, fast and extensible game server for Minecraft
|
#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"
#include "BlockEntities/BeaconEntity.h"
#include "BlockEntities/BedEntity.h"
#include "BlockEntities/BrewingstandEntity.h"
#include "BlockEntities/ChestEntity.h"
#include "BlockEntities/CommandBlockEntity.h"
#include "BlockEntities/DispenserEntity.h"
#include "BlockEntities/DropSpenserEntity.h"
#include "BlockEntities/DropperEntity.h"
#include "BlockEntities/FlowerPotEntity.h"
#include "BlockEntities/FurnaceEntity.h"
#include "BlockEntities/HopperEntity.h"
#include "BlockEntities/MobHeadEntity.h"
#include "BlockEntities/NoteEntity.h"
Go to the source code of this file.
Functions | |
static bool | CheckParamVectorOr3Numbers (cLuaState &L, const char *a_VectorName, int a_Index, int &a_NextIndex) |
Check that a Lua parameter is either a vector or 3 numbers in sequence. More... | |
template<class BlockEntityType , BLOCKTYPE... BlockTypes> | |
static int | DoWithBlockEntityAt (lua_State *tolua_S) |
Template for the bindings for the DoWithXYZAt(X, Y, Z) functions that don't need to check their coords. More... | |
template<class BlockEntityType , BLOCKTYPE... BlockTypes> | |
static int | ForEachBlockEntityInChunk (lua_State *tolua_S) |
template<class Ty1 , class Ty2 , bool(Ty1::*)(const cBoundingBox &, cFunctionRef< bool(Ty2 &)>) ForEachFn> | |
static int | ForEachInBox (lua_State *tolua_S) |
template<typename T > | |
static bool | GetStackVectorOr3Numbers (cLuaState &L, int a_Index, Vector3< T > &a_Return) |
Get a vector from the stack, which may be represented in lua as either a Vector3<T> or 3 numbers. More... | |
static int | tolua_cWorld_BroadcastBlockAction (lua_State *tolua_S) |
static int | tolua_cWorld_BroadcastParticleEffect (lua_State *tolua_S) |
static int | tolua_cWorld_BroadcastSoundEffect (lua_State *tolua_S) |
static int | tolua_cWorld_BroadcastSoundParticleEffect (lua_State *tolua_S) |
static int | tolua_cWorld_ChunkStay (lua_State *tolua_S) |
static int | tolua_cWorld_DoExplosionAt (lua_State *tolua_S) |
static int | tolua_cWorld_DoWithNearestPlayer (lua_State *tolua_S) |
static int | tolua_cWorld_DoWithPlayerByUUID (lua_State *tolua_S) |
static int | tolua_cWorld_FastSetBlock (lua_State *tolua_S) |
static int | tolua_cWorld_ForEachEntityInChunk (lua_State *tolua_S) |
static int | tolua_cWorld_ForEachLoadedChunk (lua_State *tolua_S) |
static int | tolua_cWorld_GetBlock (lua_State *tolua_S) |
static int | tolua_cWorld_GetBlockBlockLight (lua_State *tolua_S) |
static int | tolua_cWorld_GetBlockInfo (lua_State *tolua_S) |
static int | tolua_cWorld_GetBlockMeta (lua_State *tolua_S) |
static int | tolua_cWorld_GetBlockSkyLight (lua_State *tolua_S) |
static int | tolua_cWorld_GetBlockTypeMeta (lua_State *tolua_S) |
static int | tolua_cWorld_GetSignLines (lua_State *tolua_S) |
static int | tolua_cWorld_GetTimeOfDay (lua_State *tolua_S) |
static int | tolua_cWorld_GetWorldAge (lua_State *tolua_S) |
static int | tolua_cWorld_PrepareChunk (lua_State *tolua_S) |
static int | tolua_cWorld_QueueTask (lua_State *tolua_S) |
static int | tolua_cWorld_ScheduleTask (lua_State *tolua_S) |
static int | tolua_cWorld_SetBlock (lua_State *tolua_S) |
static int | tolua_cWorld_SetBlockMeta (lua_State *tolua_S) |
static int | tolua_cWorld_SetSignLines (lua_State *tolua_S) |
static int | tolua_cWorld_SetTimeOfDay (lua_State *tolua_S) |
static int | tolua_cWorld_SpawnSplitExperienceOrbs (lua_State *tolua_S) |
static int | tolua_cWorld_TryGetHeight (lua_State *tolua_S) |
|
static |
Check that a Lua parameter is either a vector or 3 numbers in sequence.
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 |
true | if the parameter is a vector or 3 numbers |
Definition at line 39 of file ManualBindings_World.cpp.
|
static |
Template for the bindings for the DoWithXYZAt(X, Y, Z) functions that don't need to check their coords.
Definition at line 72 of file ManualBindings_World.cpp.
|
static |
Definition at line 193 of file ManualBindings_World.cpp.
|
static |
Definition at line 141 of file ManualBindings_World.cpp.
|
static |
Get a vector from the stack, which may be represented in lua as either a Vector3<T>
or 3 numbers.
Definition at line 57 of file ManualBindings_World.cpp.
|
static |
Definition at line 247 of file ManualBindings_World.cpp.
|
static |
Definition at line 403 of file ManualBindings_World.cpp.
|
static |
Definition at line 299 of file ManualBindings_World.cpp.
|
static |
Definition at line 351 of file ManualBindings_World.cpp.
|
static |
Definition at line 467 of file ManualBindings_World.cpp.
|
static |
Definition at line 519 of file ManualBindings_World.cpp.
|
static |
Definition at line 658 of file ManualBindings_World.cpp.
|
static |
Definition at line 611 of file ManualBindings_World.cpp.
|
static |
Definition at line 704 of file ManualBindings_World.cpp.
|
static |
Definition at line 763 of file ManualBindings_World.cpp.
|
static |
Definition at line 810 of file ManualBindings_World.cpp.
|
static |
Definition at line 864 of file ManualBindings_World.cpp.
|
static |
Definition at line 920 of file ManualBindings_World.cpp.
|
static |
Definition at line 975 of file ManualBindings_World.cpp.
|
static |
Definition at line 1044 of file ManualBindings_World.cpp.
|
static |
Definition at line 1100 of file ManualBindings_World.cpp.
|
static |
Definition at line 1155 of file ManualBindings_World.cpp.
|
static |
Definition at line 1225 of file ManualBindings_World.cpp.
|
static |
Definition at line 1269 of file ManualBindings_World.cpp.
|
static |
Definition at line 1301 of file ManualBindings_World.cpp.
|
static |
Definition at line 1333 of file ManualBindings_World.cpp.
|
static |
Definition at line 1386 of file ManualBindings_World.cpp.
|
static |
Definition at line 1615 of file ManualBindings_World.cpp.
|
static |
Definition at line 1427 of file ManualBindings_World.cpp.
|
static |
Definition at line 1486 of file ManualBindings_World.cpp.
|
static |
Definition at line 1544 of file ManualBindings_World.cpp.
|
static |
Definition at line 1584 of file ManualBindings_World.cpp.
|
static |
Definition at line 1658 of file ManualBindings_World.cpp.
|
static |
Definition at line 1690 of file ManualBindings_World.cpp.