summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Pioch <lukas@zgow.de>2017-04-05 16:30:06 +0200
committerLukas Pioch <lukas@zgow.de>2017-04-05 16:43:57 +0200
commit1614aa17d3c27de49220043cd4830fe6c8f4fbd0 (patch)
tree94296fb92120ca7c2abbba6f03d18f292483ef2d
parentAPIDoc: Documented missing functions and variables. (#3634) (diff)
downloadcuberite-1614aa17d3c27de49220043cd4830fe6c8f4fbd0.tar
cuberite-1614aa17d3c27de49220043cd4830fe6c8f4fbd0.tar.gz
cuberite-1614aa17d3c27de49220043cd4830fe6c8f4fbd0.tar.bz2
cuberite-1614aa17d3c27de49220043cd4830fe6c8f4fbd0.tar.lz
cuberite-1614aa17d3c27de49220043cd4830fe6c8f4fbd0.tar.xz
cuberite-1614aa17d3c27de49220043cd4830fe6c8f4fbd0.tar.zst
cuberite-1614aa17d3c27de49220043cd4830fe6c8f4fbd0.zip
-rw-r--r--Server/Plugins/APIDump/APIDesc.lua4
-rw-r--r--Server/Plugins/APIDump/Classes/Geometry.lua8
-rw-r--r--Server/Plugins/APIDump/Classes/World.lua2
3 files changed, 9 insertions, 5 deletions
diff --git a/Server/Plugins/APIDump/APIDesc.lua b/Server/Plugins/APIDump/APIDesc.lua
index c2c75628c..482c85f9e 100644
--- a/Server/Plugins/APIDump/APIDesc.lua
+++ b/Server/Plugins/APIDump/APIDesc.lua
@@ -9550,6 +9550,7 @@ end
{
Parse =
{
+ IsStatic = true,
Params =
{
{
@@ -9567,6 +9568,7 @@ end
},
Serialize =
{
+ IsStatic = true,
Params =
{
{
@@ -12620,6 +12622,7 @@ a_Player:OpenWindow(Window);
},
GetPhysicalRAMUsage =
{
+ IsStatic = true,
Returns =
{
{
@@ -12698,6 +12701,7 @@ a_Player:OpenWindow(Window);
},
GetVirtualRAMUsage =
{
+ IsStatic = true,
Returns =
{
{
diff --git a/Server/Plugins/APIDump/Classes/Geometry.lua b/Server/Plugins/APIDump/Classes/Geometry.lua
index 44f5a7313..cd7793ee9 100644
--- a/Server/Plugins/APIDump/Classes/Geometry.lua
+++ b/Server/Plugins/APIDump/Classes/Geometry.lua
@@ -2245,16 +2245,16 @@ end
{
{
Name = "Other",
- Type = "Vector3d",
+ Type = "Vector3i",
},
},
Returns =
{
{
- Type = "Vector3d",
+ Type = "Vector3i",
},
},
- Notes = "Returns a new Vector3d that is a {{http://en.wikipedia.org/wiki/Cross_product|cross product}} of this vector and the specified vector.",
+ Notes = "Returns a new Vector3i that is a {{http://en.wikipedia.org/wiki/Cross_product|cross product}} of this vector and the specified vector.",
},
Dot =
{
@@ -2262,7 +2262,7 @@ end
{
{
Name = "Other",
- Type = "Vector3d",
+ Type = "Vector3i",
},
},
Returns =
diff --git a/Server/Plugins/APIDump/Classes/World.lua b/Server/Plugins/APIDump/Classes/World.lua
index 2733410e4..62bae0794 100644
--- a/Server/Plugins/APIDump/Classes/World.lua
+++ b/Server/Plugins/APIDump/Classes/World.lua
@@ -2722,7 +2722,7 @@ function OnAllChunksAvailable()</pre> All return values from the callbacks are i
},
SetShouldUseChatPrefixes =
{
- Returns =
+ Params =
{
{
Name = "ShouldUseChatPrefixes",