summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/APIDump
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-10-01 12:24:37 +0200
committermadmaxoft <github@xoft.cz>2014-10-01 12:24:37 +0200
commit196f09d4bcabd4dffb740d7d538e8c2ebfe67feb (patch)
tree40586a4d4237b1189d1ebe1dcb2070909148e6f9 /MCServer/Plugins/APIDump
parentAPIDump: Documented missing cCompositeChat functions. (diff)
downloadcuberite-196f09d4bcabd4dffb740d7d538e8c2ebfe67feb.tar
cuberite-196f09d4bcabd4dffb740d7d538e8c2ebfe67feb.tar.gz
cuberite-196f09d4bcabd4dffb740d7d538e8c2ebfe67feb.tar.bz2
cuberite-196f09d4bcabd4dffb740d7d538e8c2ebfe67feb.tar.lz
cuberite-196f09d4bcabd4dffb740d7d538e8c2ebfe67feb.tar.xz
cuberite-196f09d4bcabd4dffb740d7d538e8c2ebfe67feb.tar.zst
cuberite-196f09d4bcabd4dffb740d7d538e8c2ebfe67feb.zip
Diffstat (limited to 'MCServer/Plugins/APIDump')
-rw-r--r--MCServer/Plugins/APIDump/APIDesc.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/MCServer/Plugins/APIDump/APIDesc.lua b/MCServer/Plugins/APIDump/APIDesc.lua
index 2d6a8a73c..db6651707 100644
--- a/MCServer/Plugins/APIDump/APIDesc.lua
+++ b/MCServer/Plugins/APIDump/APIDesc.lua
@@ -1048,6 +1048,7 @@ ValueName0=SomeOtherValue
GetValueSetB = { Params = "KeyName, ValueName, Default", Return = "bool", Notes = "Returns the value of the specified name under the specified key, as a bool. If the value doesn't exist, creates it with the specified default." },
GetValueSetF = { Params = "KeyName, ValueName, Default", Return = "number", Notes = "Returns the value of the specified name under the specified key, as a floating-point number. If the value doesn't exist, creates it with the specified default." },
GetValueSetI = { Params = "KeyName, ValueName, Default", Return = "number", Notes = "Returns the value of the specified name under the specified key, as an integer. If the value doesn't exist, creates it with the specified default." },
+ HasValue = { Params = "KeyName, ValueName", Return = "bool", Notes = "Returns true if the specified value is present." },
ReadFile = { Params = "FileName, [AllowExampleFallback]", Return = "bool", Notes = "Reads the values from the specified file. Previous in-memory contents are lost. If the file cannot be opened, and AllowExample is true, another file, \"filename.example.ini\", is loaded and then saved as \"filename.ini\". Returns true if successful, false if not." },
SetValue =
{