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/Classes/Geometry.lua | 57 -------------------------- Server/Plugins/APIDump/Classes/Projectiles.lua | 10 ----- 2 files changed, 67 deletions(-) (limited to 'Server/Plugins/APIDump/Classes') diff --git a/Server/Plugins/APIDump/Classes/Geometry.lua b/Server/Plugins/APIDump/Classes/Geometry.lua index 9d289632c..1fe9090ac 100644 --- a/Server/Plugins/APIDump/Classes/Geometry.lua +++ b/Server/Plugins/APIDump/Classes/Geometry.lua @@ -1192,10 +1192,6 @@ end { Notes = "Updates each coord to its absolute value.", }, - abs = - { - Notes = "OBSOLETE, use Abs() instead.", - }, addedX = { Params = @@ -1293,21 +1289,6 @@ end }, Notes = "Clamps each coord into the specified range.", }, - clamp = - { - Params = - { - { - Name = "min", - Type = "number", - }, - { - Name = "max", - Type = "number", - }, - }, - Notes = "OBSOLETE, use Clamp() instead.", - }, constructor = { { @@ -1772,10 +1753,6 @@ end { Notes = "Updates each coord to its absolute value.", }, - abs = - { - Notes = "OBSOLETE, use Abs() instead.", - }, addedX = { Params = @@ -1873,21 +1850,6 @@ end }, Notes = "Clamps each coord into the specified range.", }, - clamp = - { - Params = - { - { - Name = "min", - Type = "number", - }, - { - Name = "max", - Type = "number", - }, - }, - Notes = "OBSOLETE, use Clamp() instead.", - }, constructor = { { @@ -2384,10 +2346,6 @@ end { Notes = "Updates each coord to its absolute value.", }, - abs = - { - Notes = "OBSOLETE, use Abs() instead.", - }, addedX = { Params = @@ -2485,21 +2443,6 @@ end }, Notes = "Clamps each coord into the specified range.", }, - clamp = - { - Params = - { - { - Name = "min", - Type = "number", - }, - { - Name = "max", - Type = "number", - }, - }, - Notes = "OBSOLETE, use Clamp() instead.", - }, constructor = { { diff --git a/Server/Plugins/APIDump/Classes/Projectiles.lua b/Server/Plugins/APIDump/Classes/Projectiles.lua index f74b92136..b3bf7fbed 100644 --- a/Server/Plugins/APIDump/Classes/Projectiles.lua +++ b/Server/Plugins/APIDump/Classes/Projectiles.lua @@ -215,16 +215,6 @@ return Desc = "Base class for all projectiles, such as arrows and fireballs.", Functions = { - GetCreator = - { - Returns = - { - { - Type = "cEntity", - }, - }, - Notes = "Returns the entity who created this projectile. May return nil.", - }, GetCreatorName = { Returns = -- cgit v1.2.3