14 #include "tolua++/include/tolua++.h"
23 tolua_pushusertype(
m_LuaState, a_Value,
"cArrowEntity");
33 tolua_pushusertype(
m_LuaState, a_Value,
"cBeaconEntity");
43 tolua_pushusertype(
m_LuaState, a_Value,
"cBedEntity");
53 tolua_pushusertype(
m_LuaState, a_Value,
"cBlockArea");
63 tolua_pushusertype(
m_LuaState, a_Value,
"cBlockEntity");
73 tolua_pushusertype(
m_LuaState, a_Value,
"cBlockEntityWithItems");
83 tolua_pushusertype(
m_LuaState, a_Value,
"cBlockInfo");
93 tolua_pushusertype(
m_LuaState, a_Value,
"cBoat");
103 tolua_pushusertype(
m_LuaState, a_Value,
"cBoundingBox");
113 tolua_pushusertype(
m_LuaState, a_Value,
"cBrewingstandEntity");
123 tolua_pushusertype(
m_LuaState, a_Value,
"cChatColor");
133 tolua_pushusertype(
m_LuaState, a_Value,
"cChestEntity");
143 tolua_pushusertype(
m_LuaState, a_Value,
"cChunkDesc");
153 tolua_pushusertype(
m_LuaState, a_Value,
"cClientHandle");
163 tolua_pushusertype(
m_LuaState, a_Value,
"cColor");
173 tolua_pushusertype(
m_LuaState, a_Value,
"cCommandBlockEntity");
183 tolua_pushusertype(
m_LuaState, a_Value,
"cCompositeChat");
193 tolua_pushusertype(
m_LuaState, a_Value,
"cCraftingGrid");
203 tolua_pushusertype(
m_LuaState, a_Value,
"cCraftingRecipe");
213 tolua_pushusertype(
m_LuaState, a_Value,
"cCuboid");
223 tolua_pushusertype(
m_LuaState, a_Value,
"cDispenserEntity");
233 tolua_pushusertype(
m_LuaState, a_Value,
"cDropperEntity");
243 tolua_pushusertype(
m_LuaState, a_Value,
"cDropSpenserEntity");
253 tolua_pushusertype(
m_LuaState, a_Value,
"cEnchantments");
263 tolua_pushusertype(
m_LuaState, a_Value,
"cEnderCrystal");
273 tolua_pushusertype(
m_LuaState, a_Value,
"cEntityEffect");
283 tolua_pushusertype(
m_LuaState, a_Value,
"cExpBottleEntity");
293 tolua_pushusertype(
m_LuaState, a_Value,
"cExpOrb");
303 tolua_pushusertype(
m_LuaState, a_Value,
"cFallingBlock");
313 tolua_pushusertype(
m_LuaState, a_Value,
"cFile");
323 tolua_pushusertype(
m_LuaState, a_Value,
"cFireChargeEntity");
333 tolua_pushusertype(
m_LuaState, a_Value,
"cFireworkEntity");
343 tolua_pushusertype(
m_LuaState, a_Value,
"cFloater");
353 tolua_pushusertype(
m_LuaState, a_Value,
"cFlowerPotEntity");
363 tolua_pushusertype(
m_LuaState, a_Value,
"cFurnaceEntity");
373 tolua_pushusertype(
m_LuaState, a_Value,
"cGhastFireballEntity");
383 tolua_pushusertype(
m_LuaState, a_Value,
"cHangingEntity");
393 tolua_pushusertype(
m_LuaState, a_Value,
"cHopperEntity");
403 tolua_pushusertype(
m_LuaState, a_Value,
"cIniFile");
413 tolua_pushusertype(
m_LuaState, a_Value,
"cInventory");
423 tolua_pushusertype(
m_LuaState, a_Value,
"cItem");
433 tolua_pushusertype(
m_LuaState, a_Value,
"cItemFrame");
443 tolua_pushusertype(
m_LuaState, a_Value,
"cItemGrid");
453 tolua_pushusertype(
m_LuaState, a_Value,
"cItems");
463 tolua_pushusertype(
m_LuaState, a_Value,
"cJukeboxEntity");
473 tolua_pushusertype(
m_LuaState, a_Value,
"cLeashKnot");
483 tolua_pushusertype(
m_LuaState, a_Value,
"cLuaWindow");
493 tolua_pushusertype(
m_LuaState, a_Value,
"cMap");
503 tolua_pushusertype(
m_LuaState, a_Value,
"cMapManager");
513 tolua_pushusertype(
m_LuaState, a_Value,
"cMobHeadEntity");
523 tolua_pushusertype(
m_LuaState, a_Value,
"cMobSpawnerEntity");
533 tolua_pushusertype(
m_LuaState, a_Value,
"cMojangAPI");
543 tolua_pushusertype(
m_LuaState, a_Value,
"cMonster");
553 tolua_pushusertype(
m_LuaState, a_Value,
"cNoteEntity");
563 tolua_pushusertype(
m_LuaState, a_Value,
"cObjective");
573 tolua_pushusertype(
m_LuaState, a_Value,
"cPainting");
583 tolua_pushusertype(
m_LuaState, a_Value,
"cPawn");
593 tolua_pushusertype(
m_LuaState, a_Value,
"cPickup");
603 tolua_pushusertype(
m_LuaState, a_Value,
"cPlayer");
613 tolua_pushusertype(
m_LuaState, a_Value,
"cPlugin");
623 tolua_pushusertype(
m_LuaState, a_Value,
"cPluginLua");
633 tolua_pushusertype(
m_LuaState, a_Value,
"cPluginManager");
643 tolua_pushusertype(
m_LuaState, a_Value,
"cProjectileEntity");
653 tolua_pushusertype(
m_LuaState, a_Value,
"cRoot");
663 tolua_pushusertype(
m_LuaState, a_Value,
"cScoreboard");
673 tolua_pushusertype(
m_LuaState, a_Value,
"cServer");
683 tolua_pushusertype(
m_LuaState, a_Value,
"cSignEntity");
693 tolua_pushusertype(
m_LuaState, a_Value,
"cSplashPotionEntity");
703 tolua_pushusertype(
m_LuaState, a_Value,
"cTeam");
713 tolua_pushusertype(
m_LuaState, a_Value,
"cThrownEggEntity");
723 tolua_pushusertype(
m_LuaState, a_Value,
"cThrownEnderPearlEntity");
733 tolua_pushusertype(
m_LuaState, a_Value,
"cThrownSnowballEntity");
743 tolua_pushusertype(
m_LuaState, a_Value,
"cTNTEntity");
753 tolua_pushusertype(
m_LuaState, a_Value,
"cUUID");
763 tolua_pushusertype(
m_LuaState, a_Value,
"cWebAdmin");
773 tolua_pushusertype(
m_LuaState, a_Value,
"cWindow");
783 tolua_pushusertype(
m_LuaState, a_Value,
"cWitherSkullEntity");
793 tolua_pushusertype(
m_LuaState, a_Value,
"cWorld");
803 tolua_pushusertype(
m_LuaState, a_Value,
"HTTPFormData");
813 tolua_pushusertype(
m_LuaState, a_Value,
"HTTPRequest");
823 tolua_pushusertype(
m_LuaState, a_Value,
"HTTPTemplateRequest");
833 tolua_pushusertype(
m_LuaState, a_Value,
"TakeDamageInfo");
843 tolua_pushusertype(
m_LuaState, a_Value,
"Vector3<double>");
853 tolua_pushusertype(
m_LuaState, a_Value,
"Vector3<float>");
863 tolua_pushusertype(
m_LuaState, a_Value,
"Vector3<int>");
875 a_ReturnedVal =
nullptr;
879 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cArrowEntity",
false, &err))
896 a_ReturnedVal =
nullptr;
900 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cArrowEntity",
false, &err))
917 a_ReturnedVal =
nullptr;
921 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cBeaconEntity",
false, &err))
938 a_ReturnedVal =
nullptr;
942 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cBeaconEntity",
false, &err))
959 a_ReturnedVal =
nullptr;
963 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cBedEntity",
false, &err))
980 a_ReturnedVal =
nullptr;
984 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cBedEntity",
false, &err))
1001 a_ReturnedVal =
nullptr;
1005 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cBlockArea",
false, &err))
1022 a_ReturnedVal =
nullptr;
1026 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cBlockArea",
false, &err))
1043 a_ReturnedVal =
nullptr;
1047 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cBlockEntity",
false, &err))
1064 a_ReturnedVal =
nullptr;
1068 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cBlockEntity",
false, &err))
1085 a_ReturnedVal =
nullptr;
1089 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cBlockEntityWithItems",
false, &err))
1106 a_ReturnedVal =
nullptr;
1110 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cBlockEntityWithItems",
false, &err))
1127 a_ReturnedVal =
nullptr;
1131 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cBlockInfo",
false, &err))
1148 a_ReturnedVal =
nullptr;
1152 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cBlockInfo",
false, &err))
1169 a_ReturnedVal =
nullptr;
1173 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cBoat",
false, &err))
1175 a_ReturnedVal = *(
static_cast<cBoat **
>(lua_touserdata(
m_LuaState, a_StackPos)));
1190 a_ReturnedVal =
nullptr;
1194 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cBoat",
false, &err))
1196 a_ReturnedVal = *(
static_cast<const cBoat **
>(lua_touserdata(
m_LuaState, a_StackPos)));
1211 a_ReturnedVal =
nullptr;
1215 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cBoundingBox",
false, &err))
1232 a_ReturnedVal =
nullptr;
1236 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cBoundingBox",
false, &err))
1253 a_ReturnedVal =
nullptr;
1257 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cBrewingstandEntity",
false, &err))
1274 a_ReturnedVal =
nullptr;
1278 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cBrewingstandEntity",
false, &err))
1295 a_ReturnedVal =
nullptr;
1299 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cChatColor",
false, &err))
1316 a_ReturnedVal =
nullptr;
1320 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cChatColor",
false, &err))
1337 a_ReturnedVal =
nullptr;
1341 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cChestEntity",
false, &err))
1358 a_ReturnedVal =
nullptr;
1362 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cChestEntity",
false, &err))
1379 a_ReturnedVal =
nullptr;
1383 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cChunkDesc",
false, &err))
1400 a_ReturnedVal =
nullptr;
1404 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cChunkDesc",
false, &err))
1421 a_ReturnedVal =
nullptr;
1425 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cClientHandle",
false, &err))
1442 a_ReturnedVal =
nullptr;
1446 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cClientHandle",
false, &err))
1463 a_ReturnedVal =
nullptr;
1467 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cColor",
false, &err))
1469 a_ReturnedVal = *(
static_cast<cColor **
>(lua_touserdata(
m_LuaState, a_StackPos)));
1484 a_ReturnedVal =
nullptr;
1488 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cColor",
false, &err))
1490 a_ReturnedVal = *(
static_cast<const cColor **
>(lua_touserdata(
m_LuaState, a_StackPos)));
1505 a_ReturnedVal =
nullptr;
1509 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cCommandBlockEntity",
false, &err))
1526 a_ReturnedVal =
nullptr;
1530 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cCommandBlockEntity",
false, &err))
1547 a_ReturnedVal =
nullptr;
1551 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cCompositeChat",
false, &err))
1568 a_ReturnedVal =
nullptr;
1572 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cCompositeChat",
false, &err))
1589 a_ReturnedVal =
nullptr;
1593 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cCraftingGrid",
false, &err))
1610 a_ReturnedVal =
nullptr;
1614 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cCraftingGrid",
false, &err))
1631 a_ReturnedVal =
nullptr;
1635 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cCraftingRecipe",
false, &err))
1652 a_ReturnedVal =
nullptr;
1656 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cCraftingRecipe",
false, &err))
1673 a_ReturnedVal =
nullptr;
1677 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cCuboid",
false, &err))
1679 a_ReturnedVal = *(
static_cast<cCuboid **
>(lua_touserdata(
m_LuaState, a_StackPos)));
1694 a_ReturnedVal =
nullptr;
1698 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cCuboid",
false, &err))
1700 a_ReturnedVal = *(
static_cast<const cCuboid **
>(lua_touserdata(
m_LuaState, a_StackPos)));
1715 a_ReturnedVal =
nullptr;
1719 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cDispenserEntity",
false, &err))
1736 a_ReturnedVal =
nullptr;
1740 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cDispenserEntity",
false, &err))
1757 a_ReturnedVal =
nullptr;
1761 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cDropperEntity",
false, &err))
1778 a_ReturnedVal =
nullptr;
1782 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cDropperEntity",
false, &err))
1799 a_ReturnedVal =
nullptr;
1803 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cDropSpenserEntity",
false, &err))
1820 a_ReturnedVal =
nullptr;
1824 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cDropSpenserEntity",
false, &err))
1841 a_ReturnedVal =
nullptr;
1845 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cEnchantments",
false, &err))
1862 a_ReturnedVal =
nullptr;
1866 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cEnchantments",
false, &err))
1883 a_ReturnedVal =
nullptr;
1887 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cEnderCrystal",
false, &err))
1904 a_ReturnedVal =
nullptr;
1908 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cEnderCrystal",
false, &err))
1925 a_ReturnedVal =
nullptr;
1929 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cEntity",
false, &err))
1931 a_ReturnedVal = *(
static_cast<cEntity **
>(lua_touserdata(
m_LuaState, a_StackPos)));
1946 a_ReturnedVal =
nullptr;
1950 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cEntity",
false, &err))
1952 a_ReturnedVal = *(
static_cast<const cEntity **
>(lua_touserdata(
m_LuaState, a_StackPos)));
1967 a_ReturnedVal =
nullptr;
1971 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cEntityEffect",
false, &err))
1988 a_ReturnedVal =
nullptr;
1992 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cEntityEffect",
false, &err))
2009 a_ReturnedVal =
nullptr;
2013 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cExpBottleEntity",
false, &err))
2030 a_ReturnedVal =
nullptr;
2034 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cExpBottleEntity",
false, &err))
2051 a_ReturnedVal =
nullptr;
2055 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cExpOrb",
false, &err))
2057 a_ReturnedVal = *(
static_cast<cExpOrb **
>(lua_touserdata(
m_LuaState, a_StackPos)));
2072 a_ReturnedVal =
nullptr;
2076 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cExpOrb",
false, &err))
2078 a_ReturnedVal = *(
static_cast<const cExpOrb **
>(lua_touserdata(
m_LuaState, a_StackPos)));
2093 a_ReturnedVal =
nullptr;
2097 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cFallingBlock",
false, &err))
2114 a_ReturnedVal =
nullptr;
2118 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cFallingBlock",
false, &err))
2135 a_ReturnedVal =
nullptr;
2139 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cFile",
false, &err))
2141 a_ReturnedVal = *(
static_cast<cFile **
>(lua_touserdata(
m_LuaState, a_StackPos)));
2156 a_ReturnedVal =
nullptr;
2160 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cFile",
false, &err))
2162 a_ReturnedVal = *(
static_cast<const cFile **
>(lua_touserdata(
m_LuaState, a_StackPos)));
2177 a_ReturnedVal =
nullptr;
2181 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cFireChargeEntity",
false, &err))
2198 a_ReturnedVal =
nullptr;
2202 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cFireChargeEntity",
false, &err))
2219 a_ReturnedVal =
nullptr;
2223 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cFireworkEntity",
false, &err))
2240 a_ReturnedVal =
nullptr;
2244 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cFireworkEntity",
false, &err))
2261 a_ReturnedVal =
nullptr;
2265 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cFloater",
false, &err))
2282 a_ReturnedVal =
nullptr;
2286 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cFloater",
false, &err))
2288 a_ReturnedVal = *(
static_cast<const cFloater **
>(lua_touserdata(
m_LuaState, a_StackPos)));
2303 a_ReturnedVal =
nullptr;
2307 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cFlowerPotEntity",
false, &err))
2324 a_ReturnedVal =
nullptr;
2328 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cFlowerPotEntity",
false, &err))
2345 a_ReturnedVal =
nullptr;
2349 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cFurnaceEntity",
false, &err))
2366 a_ReturnedVal =
nullptr;
2370 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cFurnaceEntity",
false, &err))
2387 a_ReturnedVal =
nullptr;
2391 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cGhastFireballEntity",
false, &err))
2408 a_ReturnedVal =
nullptr;
2412 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cGhastFireballEntity",
false, &err))
2429 a_ReturnedVal =
nullptr;
2433 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cHangingEntity",
false, &err))
2450 a_ReturnedVal =
nullptr;
2454 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cHangingEntity",
false, &err))
2471 a_ReturnedVal =
nullptr;
2475 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cHopperEntity",
false, &err))
2492 a_ReturnedVal =
nullptr;
2496 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cHopperEntity",
false, &err))
2513 a_ReturnedVal =
nullptr;
2517 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cIniFile",
false, &err))
2534 a_ReturnedVal =
nullptr;
2538 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cIniFile",
false, &err))
2540 a_ReturnedVal = *(
static_cast<const cIniFile **
>(lua_touserdata(
m_LuaState, a_StackPos)));
2555 a_ReturnedVal =
nullptr;
2559 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cInventory",
false, &err))
2576 a_ReturnedVal =
nullptr;
2580 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cInventory",
false, &err))
2597 a_ReturnedVal =
nullptr;
2601 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cItem",
false, &err))
2603 a_ReturnedVal = *(
static_cast<cItem **
>(lua_touserdata(
m_LuaState, a_StackPos)));
2618 a_ReturnedVal =
nullptr;
2622 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cItem",
false, &err))
2624 a_ReturnedVal = *(
static_cast<const cItem **
>(lua_touserdata(
m_LuaState, a_StackPos)));
2639 a_ReturnedVal =
nullptr;
2643 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cItemFrame",
false, &err))
2660 a_ReturnedVal =
nullptr;
2664 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cItemFrame",
false, &err))
2681 a_ReturnedVal =
nullptr;
2685 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cItemGrid",
false, &err))
2702 a_ReturnedVal =
nullptr;
2706 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cItemGrid",
false, &err))
2708 a_ReturnedVal = *(
static_cast<const cItemGrid **
>(lua_touserdata(
m_LuaState, a_StackPos)));
2723 a_ReturnedVal =
nullptr;
2727 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cItems",
false, &err))
2729 a_ReturnedVal = *(
static_cast<cItems **
>(lua_touserdata(
m_LuaState, a_StackPos)));
2744 a_ReturnedVal =
nullptr;
2748 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cItems",
false, &err))
2750 a_ReturnedVal = *(
static_cast<const cItems **
>(lua_touserdata(
m_LuaState, a_StackPos)));
2765 a_ReturnedVal =
nullptr;
2769 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cJukeboxEntity",
false, &err))
2786 a_ReturnedVal =
nullptr;
2790 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cJukeboxEntity",
false, &err))
2807 a_ReturnedVal =
nullptr;
2811 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cLeashKnot",
false, &err))
2828 a_ReturnedVal =
nullptr;
2832 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cLeashKnot",
false, &err))
2849 a_ReturnedVal =
nullptr;
2853 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cLuaWindow",
false, &err))
2870 a_ReturnedVal =
nullptr;
2874 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cLuaWindow",
false, &err))
2891 a_ReturnedVal =
nullptr;
2895 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cMap",
false, &err))
2897 a_ReturnedVal = *(
static_cast<cMap **
>(lua_touserdata(
m_LuaState, a_StackPos)));
2912 a_ReturnedVal =
nullptr;
2916 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cMap",
false, &err))
2918 a_ReturnedVal = *(
static_cast<const cMap **
>(lua_touserdata(
m_LuaState, a_StackPos)));
2933 a_ReturnedVal =
nullptr;
2937 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cMapManager",
false, &err))
2954 a_ReturnedVal =
nullptr;
2958 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cMapManager",
false, &err))
2975 a_ReturnedVal =
nullptr;
2979 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cMobHeadEntity",
false, &err))
2996 a_ReturnedVal =
nullptr;
3000 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cMobHeadEntity",
false, &err))
3017 a_ReturnedVal =
nullptr;
3021 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cMobSpawnerEntity",
false, &err))
3038 a_ReturnedVal =
nullptr;
3042 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cMobSpawnerEntity",
false, &err))
3059 a_ReturnedVal =
nullptr;
3063 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cMojangAPI",
false, &err))
3080 a_ReturnedVal =
nullptr;
3084 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cMojangAPI",
false, &err))
3101 a_ReturnedVal =
nullptr;
3105 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cMonster",
false, &err))
3122 a_ReturnedVal =
nullptr;
3126 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cMonster",
false, &err))
3128 a_ReturnedVal = *(
static_cast<const cMonster **
>(lua_touserdata(
m_LuaState, a_StackPos)));
3143 a_ReturnedVal =
nullptr;
3147 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cNoteEntity",
false, &err))
3164 a_ReturnedVal =
nullptr;
3168 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cNoteEntity",
false, &err))
3185 a_ReturnedVal =
nullptr;
3189 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cObjective",
false, &err))
3206 a_ReturnedVal =
nullptr;
3210 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cObjective",
false, &err))
3227 a_ReturnedVal =
nullptr;
3231 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cPainting",
false, &err))
3248 a_ReturnedVal =
nullptr;
3252 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cPainting",
false, &err))
3254 a_ReturnedVal = *(
static_cast<const cPainting **
>(lua_touserdata(
m_LuaState, a_StackPos)));
3269 a_ReturnedVal =
nullptr;
3273 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cPawn",
false, &err))
3275 a_ReturnedVal = *(
static_cast<cPawn **
>(lua_touserdata(
m_LuaState, a_StackPos)));
3290 a_ReturnedVal =
nullptr;
3294 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cPawn",
false, &err))
3296 a_ReturnedVal = *(
static_cast<const cPawn **
>(lua_touserdata(
m_LuaState, a_StackPos)));
3311 a_ReturnedVal =
nullptr;
3315 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cPickup",
false, &err))
3317 a_ReturnedVal = *(
static_cast<cPickup **
>(lua_touserdata(
m_LuaState, a_StackPos)));
3332 a_ReturnedVal =
nullptr;
3336 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cPickup",
false, &err))
3338 a_ReturnedVal = *(
static_cast<const cPickup **
>(lua_touserdata(
m_LuaState, a_StackPos)));
3353 a_ReturnedVal =
nullptr;
3357 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cPlayer",
false, &err))
3359 a_ReturnedVal = *(
static_cast<cPlayer **
>(lua_touserdata(
m_LuaState, a_StackPos)));
3374 a_ReturnedVal =
nullptr;
3378 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cPlayer",
false, &err))
3380 a_ReturnedVal = *(
static_cast<const cPlayer **
>(lua_touserdata(
m_LuaState, a_StackPos)));
3395 a_ReturnedVal =
nullptr;
3399 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cPlugin",
false, &err))
3401 a_ReturnedVal = *(
static_cast<cPlugin **
>(lua_touserdata(
m_LuaState, a_StackPos)));
3416 a_ReturnedVal =
nullptr;
3420 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cPlugin",
false, &err))
3422 a_ReturnedVal = *(
static_cast<const cPlugin **
>(lua_touserdata(
m_LuaState, a_StackPos)));
3437 a_ReturnedVal =
nullptr;
3441 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cPluginLua",
false, &err))
3458 a_ReturnedVal =
nullptr;
3462 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cPluginLua",
false, &err))
3479 a_ReturnedVal =
nullptr;
3483 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cPluginManager",
false, &err))
3500 a_ReturnedVal =
nullptr;
3504 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cPluginManager",
false, &err))
3521 a_ReturnedVal =
nullptr;
3525 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cProjectileEntity",
false, &err))
3542 a_ReturnedVal =
nullptr;
3546 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cProjectileEntity",
false, &err))
3563 a_ReturnedVal =
nullptr;
3567 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cRoot",
false, &err))
3569 a_ReturnedVal = *(
static_cast<cRoot **
>(lua_touserdata(
m_LuaState, a_StackPos)));
3584 a_ReturnedVal =
nullptr;
3588 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cRoot",
false, &err))
3590 a_ReturnedVal = *(
static_cast<const cRoot **
>(lua_touserdata(
m_LuaState, a_StackPos)));
3605 a_ReturnedVal =
nullptr;
3609 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cScoreboard",
false, &err))
3626 a_ReturnedVal =
nullptr;
3630 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cScoreboard",
false, &err))
3647 a_ReturnedVal =
nullptr;
3651 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cServer",
false, &err))
3653 a_ReturnedVal = *(
static_cast<cServer **
>(lua_touserdata(
m_LuaState, a_StackPos)));
3668 a_ReturnedVal =
nullptr;
3672 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cServer",
false, &err))
3674 a_ReturnedVal = *(
static_cast<const cServer **
>(lua_touserdata(
m_LuaState, a_StackPos)));
3689 a_ReturnedVal =
nullptr;
3693 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cSignEntity",
false, &err))
3710 a_ReturnedVal =
nullptr;
3714 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cSignEntity",
false, &err))
3731 a_ReturnedVal =
nullptr;
3735 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cSplashPotionEntity",
false, &err))
3752 a_ReturnedVal =
nullptr;
3756 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cSplashPotionEntity",
false, &err))
3773 a_ReturnedVal =
nullptr;
3777 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cTeam",
false, &err))
3779 a_ReturnedVal = *(
static_cast<cTeam **
>(lua_touserdata(
m_LuaState, a_StackPos)));
3794 a_ReturnedVal =
nullptr;
3798 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cTeam",
false, &err))
3800 a_ReturnedVal = *(
static_cast<const cTeam **
>(lua_touserdata(
m_LuaState, a_StackPos)));
3815 a_ReturnedVal =
nullptr;
3819 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cThrownEggEntity",
false, &err))
3836 a_ReturnedVal =
nullptr;
3840 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cThrownEggEntity",
false, &err))
3857 a_ReturnedVal =
nullptr;
3861 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cThrownEnderPearlEntity",
false, &err))
3878 a_ReturnedVal =
nullptr;
3882 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cThrownEnderPearlEntity",
false, &err))
3899 a_ReturnedVal =
nullptr;
3903 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cThrownSnowballEntity",
false, &err))
3920 a_ReturnedVal =
nullptr;
3924 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cThrownSnowballEntity",
false, &err))
3941 a_ReturnedVal =
nullptr;
3945 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cTNTEntity",
false, &err))
3962 a_ReturnedVal =
nullptr;
3966 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cTNTEntity",
false, &err))
3983 a_ReturnedVal =
nullptr;
3987 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cUUID",
false, &err))
3989 a_ReturnedVal = *(
static_cast<cUUID **
>(lua_touserdata(
m_LuaState, a_StackPos)));
4004 a_ReturnedVal =
nullptr;
4008 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cUUID",
false, &err))
4010 a_ReturnedVal = *(
static_cast<const cUUID **
>(lua_touserdata(
m_LuaState, a_StackPos)));
4025 a_ReturnedVal =
nullptr;
4029 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cWebAdmin",
false, &err))
4046 a_ReturnedVal =
nullptr;
4050 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cWebAdmin",
false, &err))
4052 a_ReturnedVal = *(
static_cast<const cWebAdmin **
>(lua_touserdata(
m_LuaState, a_StackPos)));
4067 a_ReturnedVal =
nullptr;
4071 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cWindow",
false, &err))
4073 a_ReturnedVal = *(
static_cast<cWindow **
>(lua_touserdata(
m_LuaState, a_StackPos)));
4088 a_ReturnedVal =
nullptr;
4092 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cWindow",
false, &err))
4094 a_ReturnedVal = *(
static_cast<const cWindow **
>(lua_touserdata(
m_LuaState, a_StackPos)));
4109 a_ReturnedVal =
nullptr;
4113 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cWitherSkullEntity",
false, &err))
4130 a_ReturnedVal =
nullptr;
4134 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cWitherSkullEntity",
false, &err))
4151 a_ReturnedVal =
nullptr;
4155 if (tolua_isusertype(
m_LuaState, a_StackPos,
"cWorld",
false, &err))
4157 a_ReturnedVal = *(
static_cast<cWorld **
>(lua_touserdata(
m_LuaState, a_StackPos)));
4172 a_ReturnedVal =
nullptr;
4176 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const cWorld",
false, &err))
4178 a_ReturnedVal = *(
static_cast<const cWorld **
>(lua_touserdata(
m_LuaState, a_StackPos)));
4193 a_ReturnedVal =
nullptr;
4197 if (tolua_isusertype(
m_LuaState, a_StackPos,
"HTTPFormData",
false, &err))
4214 a_ReturnedVal =
nullptr;
4218 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const HTTPFormData",
false, &err))
4235 a_ReturnedVal =
nullptr;
4239 if (tolua_isusertype(
m_LuaState, a_StackPos,
"HTTPRequest",
false, &err))
4256 a_ReturnedVal =
nullptr;
4260 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const HTTPRequest",
false, &err))
4277 a_ReturnedVal =
nullptr;
4281 if (tolua_isusertype(
m_LuaState, a_StackPos,
"HTTPTemplateRequest",
false, &err))
4298 a_ReturnedVal =
nullptr;
4302 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const HTTPTemplateRequest",
false, &err))
4319 a_ReturnedVal =
nullptr;
4323 if (tolua_isusertype(
m_LuaState, a_StackPos,
"TakeDamageInfo",
false, &err))
4340 a_ReturnedVal =
nullptr;
4344 if (tolua_isusertype(
m_LuaState, a_StackPos,
"const TakeDamageInfo",
false, &err))
void Push(Arg1 &&a_Arg1, Arg2 &&a_Arg2, Args &&... a_Args)
Pushes multiple arguments onto the Lua stack.
bool IsValid(void) const
Returns true if the m_LuaState is valid.
bool GetStackValue(int a_StackPos, AString &a_Value)
A window that has been created by a Lua plugin and is handled entirely by that plugin This object nee...
Represents two sets of coords, minimum and maximum for each direction.
Container for a single chat message composed of multiple functional parts.
Class that stores item enchantments or stored-enchantments The enchantments may be serialized to a st...
This class represents the player's inventory The slots are divided into three areas:
This class bridges a vector of cItem for safe access via Lua.
Encapsulates an in-game world map.
Manages the in-game maps of a single world - Thread safe.
The root of the object hierarchy.