From 63b63c5d844e8702fce2ae0181ee4397b8954d92 Mon Sep 17 00:00:00 2001 From: x12xx12x <44411062+12xx12@users.noreply.github.com> Date: Sat, 7 May 2022 01:26:13 +0200 Subject: Added check for unexported but documented API (#5418) Also fixed the errors --- Server/Plugins/APIDump/APIDesc.lua | 54 -------------------------------------- 1 file changed, 54 deletions(-) (limited to 'Server/Plugins/APIDump/APIDesc.lua') diff --git a/Server/Plugins/APIDump/APIDesc.lua b/Server/Plugins/APIDump/APIDesc.lua index 531e11ac1..227e4a6fa 100644 --- a/Server/Plugins/APIDump/APIDesc.lua +++ b/Server/Plugins/APIDump/APIDesc.lua @@ -908,16 +908,6 @@ return }, Notes = "Returns true if the chunk is set to use default height generator", }, - IsUsingDefaultStructures = - { - Returns = - { - { - Type = "boolean", - }, - }, - Notes = "Returns true if the chunk is set to use default structures", - }, RandomFillRelCuboid = { { @@ -1258,17 +1248,6 @@ return }, Notes = "Sets the chunk to use default height generator or not", }, - SetUseDefaultStructures = - { - Params = - { - { - Name = "ShouldUseDefaultStructures", - Type = "boolean", - }, - }, - Notes = "Sets the chunk to use default structures or not", - }, UpdateHeightmap = { Notes = "Updates the heightmap to match current contents. The plugins should do that if they modify the contents and don't modify the heightmap accordingly; Cuberite expects (and checks in Debug mode) that the heightmap matches the contents when the cChunkDesc is returned from a plugin.", @@ -8707,10 +8686,6 @@ a_Player:OpenWindow(Window); ]], Functions = { - EraseData = - { - Notes = "Erases all pixel data.", - }, GetCenterX = { Returns = @@ -8999,16 +8974,6 @@ a_Player:OpenWindow(Window); }, Notes = "If a map with the specified ID exists, calls the CallbackFunction for that map. The CallbackFunction has the following signature:
function Callback({{cMap|Map}})
Returns true if the map was found and the callback called, false if map not found.", }, - GetNumMaps = - { - Returns = - { - { - Type = "number", - }, - }, - Notes = "Returns the number of registered maps.", - }, }, }, cMojangAPI = @@ -11442,17 +11407,6 @@ a_Player:OpenWindow(Window); }, Notes = "Sets the dominant hand of the player.", }, - SetName = - { - Params = - { - { - Name = "Name", - Type = "string", - }, - }, - Notes = "Sets the player name. This rename will NOT be visible to any players already in the server who are close enough to see this player.", - }, SetNormalMaxSpeed = { Params = @@ -13227,14 +13181,6 @@ end }, }, }, - cWebPlugin = - { - Desc = "", - Functions = - { - - }, - }, cWindow = { Desc = [[ -- cgit v1.2.3