summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Pioch <lukas@zgow.de>2017-08-26 15:23:58 +0200
committerLukas Pioch <lukas@zgow.de>2017-08-29 15:49:29 +0200
commitd5c4b3af6bef90a7ea9d23cbf6f932ba7ee3c00d (patch)
treeea73c8003436636d74c1999bb971ef44d51955e3
parentcWorld: Add entities without holding of m_CSEntitiesToAdd (diff)
downloadcuberite-d5c4b3af6bef90a7ea9d23cbf6f932ba7ee3c00d.tar
cuberite-d5c4b3af6bef90a7ea9d23cbf6f932ba7ee3c00d.tar.gz
cuberite-d5c4b3af6bef90a7ea9d23cbf6f932ba7ee3c00d.tar.bz2
cuberite-d5c4b3af6bef90a7ea9d23cbf6f932ba7ee3c00d.tar.lz
cuberite-d5c4b3af6bef90a7ea9d23cbf6f932ba7ee3c00d.tar.xz
cuberite-d5c4b3af6bef90a7ea9d23cbf6f932ba7ee3c00d.tar.zst
cuberite-d5c4b3af6bef90a7ea9d23cbf6f932ba7ee3c00d.zip
-rw-r--r--Server/Plugins/APIDump/APIDesc.lua22
-rw-r--r--Server/Plugins/APIDump/Classes/World.lua4
2 files changed, 13 insertions, 13 deletions
diff --git a/Server/Plugins/APIDump/APIDesc.lua b/Server/Plugins/APIDump/APIDesc.lua
index 573837333..674729624 100644
--- a/Server/Plugins/APIDump/APIDesc.lua
+++ b/Server/Plugins/APIDump/APIDesc.lua
@@ -8670,7 +8670,7 @@ a_Player:OpenWindow(Window);
{
{
Name = "MobType",
- Type = "Globals#eMonsterType",
+ Type = "eMonsterType",
},
},
Returns =
@@ -8730,7 +8730,7 @@ a_Player:OpenWindow(Window);
{
{
Name = "MobType",
- Type = "Globals#eMonsterType",
+ Type = "eMonsterType",
},
},
Notes = "Returns the type of this mob ({{Globals#eMonsterType|mtXXX}} constant)",
@@ -8821,7 +8821,7 @@ a_Player:OpenWindow(Window);
{
{
Name = "MobType",
- Type = "Globals#eMonsterType",
+ Type = "eMonsterType",
},
},
Returns =
@@ -8839,7 +8839,7 @@ a_Player:OpenWindow(Window);
{
{
Name = "MobType",
- Type = "Globals#eMonsterType",
+ Type = "eMonsterType",
},
},
Returns =
@@ -8930,7 +8930,7 @@ a_Player:OpenWindow(Window);
{
{
Name = "MobType",
- Type = "Globals#eMonsterType",
+ Type = "eMonsterType",
},
},
Notes = "Returns the mob type ({{Globals#eMonsterType|mtXXX}} constant) parsed from the string type (\"creeper\"), or mtInvalidType if unrecognized.",
@@ -9996,7 +9996,7 @@ a_Player:OpenWindow(Window);
{
{
Name = "GameMode",
- Type = "Globals#eGameMode",
+ Type = "eGameMode",
},
},
Notes = "(OBSOLETE) Returns the current resolved game mode of the player. If the player is set to inherit the world's gamemode, returns that instead. See also GetGameMode() and IsGameModeXXX() functions. Note that this function is the same as GetGameMode(), use that function instead.",
@@ -10096,7 +10096,7 @@ a_Player:OpenWindow(Window);
{
{
Name = "GameMode",
- Type = "Globals#eGameMode",
+ Type = "eGameMode",
},
},
Notes = "Returns the player's gamemode. The player may have their gamemode unassigned, in which case they inherit the gamemode from the current {{cWorld|world}}.<br /> <b>NOTE:</b> Instead of comparing the value returned by this function to the gmXXX constants, use the IsGameModeXXX() functions. These functions handle the gamemode inheritance automatically.",
@@ -10881,7 +10881,7 @@ a_Player:OpenWindow(Window);
{
{
Name = "NewGameMode",
- Type = "Globals#eGameMode",
+ Type = "eGameMode",
},
},
Notes = "Sets the gamemode for the player. The new gamemode overrides the world's default gamemode, unless it is set to gmInherit.",
@@ -13885,7 +13885,7 @@ end
{
{
Name = "BiomeType",
- Type = "Globals#EMCSBiome",
+ Type = "EMCSBiome",
},
},
Notes = "Converts a string representation to a {{Globals#BiomeTypes|BiomeType}} enumerated value. Returns biInvalidBiome if the input is not a recognized biome.",
@@ -13903,7 +13903,7 @@ end
{
{
Name = "DamageType",
- Type = "Globals#eDamageType",
+ Type = "eDamageType",
},
},
Notes = "Converts a string representation to a {{Globals#DamageType|DamageType}} enumerated value. Returns -1 if the inupt is not a recognized damage type.",
@@ -13921,7 +13921,7 @@ end
{
{
Name = "Dimension",
- Type = "Globals#eDimension",
+ Type = "eDimension",
},
},
Notes = "Converts a string representation to a {{Globals#eDimension|eDimension}} enumerated value. Returns dimNotSet if the input is not a recognized dimension.",
diff --git a/Server/Plugins/APIDump/Classes/World.lua b/Server/Plugins/APIDump/Classes/World.lua
index d523f3881..63c2162e6 100644
--- a/Server/Plugins/APIDump/Classes/World.lua
+++ b/Server/Plugins/APIDump/Classes/World.lua
@@ -1820,7 +1820,7 @@ function OnAllChunksAvailable()</pre> All return values from the callbacks are i
{
{
Name = "ShrapnelLevel",
- Type = "Globals#eShrapnelLevel",
+ Type = "eShrapnelLevel",
},
},
Notes = "Returns the shrapnel level, representing the block types that are propelled outwards following an explosion. Based on this value and a random picker, blocks are selectively converted to physics entities (FallingSand) and flung outwards.",
@@ -2830,7 +2830,7 @@ function OnAllChunksAvailable()</pre> All return values from the callbacks are i
{
{
Name = "ShrapnelLevel",
- Type = "Globals#eShrapnelLevel",
+ Type = "eShrapnelLevel",
},
},
Notes = "Sets the Shrapnel level of the world.",