From b7d992d2119c65315b518a1ff941554f7e550b15 Mon Sep 17 00:00:00 2001 From: Mattes D Date: Sat, 1 Oct 2016 22:27:04 +0200 Subject: APIDesc: Reformatted ConstantGroups to match the enum names. --- Server/Plugins/APIDump/APIDesc.lua | 8 ++++---- Server/Plugins/APIDump/Classes/Plugins.lua | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Server/Plugins/APIDump/APIDesc.lua b/Server/Plugins/APIDump/APIDesc.lua index 5cfacd873..b4d84f3f5 100644 --- a/Server/Plugins/APIDump/APIDesc.lua +++ b/Server/Plugins/APIDump/APIDesc.lua @@ -1830,7 +1830,7 @@ return The following constants are used to signalize the datatype to read or write: ]], }, - MergeStrategies = + eMergeStrategy = { Include = "ms.*", TextAfter = "See below for a detailed explanation of the individual merge strategies.", @@ -4771,10 +4771,10 @@ local Hash = cCryptoHash.sha1HexString("DataToHash") { { Name = "EntityType", - Type = "cEntity#EntityType", + Type = "cEntity#eEntityType", }, }, - Notes = "Returns the type of the entity, one of the {{cEntity#EntityType|etXXX}} constants. Note that to check specific entity type, you should use one of the IsXXX functions instead of comparing the value returned by this call.", + Notes = "Returns the type of the entity, one of the {{cEntity#eEntityType|etXXX}} constants. Note that to check specific entity type, you should use one of the IsXXX functions instead of comparing the value returned by this call.", }, GetEquippedBoots = { @@ -5969,7 +5969,7 @@ local Hash = cCryptoHash.sha1HexString("DataToHash") }, ConstantGroups = { - EntityType = + eEntityType = { Include = "et.*", TextBefore = "The following constants are used to distinguish between different entity types:", diff --git a/Server/Plugins/APIDump/Classes/Plugins.lua b/Server/Plugins/APIDump/Classes/Plugins.lua index 7f69a8c9e..ae9a06cba 100644 --- a/Server/Plugins/APIDump/Classes/Plugins.lua +++ b/Server/Plugins/APIDump/Classes/Plugins.lua @@ -65,7 +65,7 @@ return { { Name = "PluginStatus", - Type = "cPluginManager#PluginStatus", + Type = "cPluginManager#ePluginStatus", }, }, Notes = "Returns the status of the plugin (loaded, disabled, unloaded, error, not found)", @@ -982,7 +982,7 @@ cPluginManager.AddHook(cPluginManager.HOOK_CHAT, OnChatMessage); cPluginManager:AddHook() function. For detailed description of each hook, see the hooks reference.]], }, - PluginStatus = + ePluginStatus = { Include = { -- cgit v1.2.3