diff options
author | andrew <xdotftw@gmail.com> | 2014-02-23 11:55:55 +0100 |
---|---|---|
committer | andrew <xdotftw@gmail.com> | 2014-02-23 11:55:55 +0100 |
commit | 9fa4fa1cc737a0cf9a078956def206c31a4ebd02 (patch) | |
tree | 5ac9a90cf48ccfa04da7e2fafe12ac2683a40b32 /MCServer/Plugins | |
parent | Documented and exported cMap (diff) | |
download | cuberite-9fa4fa1cc737a0cf9a078956def206c31a4ebd02.tar cuberite-9fa4fa1cc737a0cf9a078956def206c31a4ebd02.tar.gz cuberite-9fa4fa1cc737a0cf9a078956def206c31a4ebd02.tar.bz2 cuberite-9fa4fa1cc737a0cf9a078956def206c31a4ebd02.tar.lz cuberite-9fa4fa1cc737a0cf9a078956def206c31a4ebd02.tar.xz cuberite-9fa4fa1cc737a0cf9a078956def206c31a4ebd02.tar.zst cuberite-9fa4fa1cc737a0cf9a078956def206c31a4ebd02.zip |
Diffstat (limited to '')
-rw-r--r-- | MCServer/Plugins/APIDump/APIDesc.lua | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/MCServer/Plugins/APIDump/APIDesc.lua b/MCServer/Plugins/APIDump/APIDesc.lua index 296a60640..8265b4e19 100644 --- a/MCServer/Plugins/APIDump/APIDesc.lua +++ b/MCServer/Plugins/APIDump/APIDesc.lua @@ -1534,6 +1534,19 @@ a_Player:OpenWindow(Window); }, }, -- cMap + cMapManager = + { + Desc = [[ + This class is associated with a single {{cWorld}} instance and manages a list of maps. + ]], + Functions = + { + DoWithMap = { Params = "ID, Callback", Return = "bool", Notes = "Calls the callback for the map with the specified ID. Returns true if the map was found and the callback called, false if map not found." }, + GetNumMaps = { Params = "", Return = "number", Notes = "Returns the number of registered maps." }, + }, + + }, -- cMapManager + cMonster = { Desc = [[ @@ -2289,6 +2302,7 @@ World:ForEachEntity( ]], }, }, -- AdditionalInfo + Inherits = "cMapManager" }, -- cWorld HTTPFormData = |