summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-11-15 13:34:20 +0100
committermadmaxoft <github@xoft.cz>2013-11-15 13:34:20 +0100
commit26d3dd3466266c971edd43986e5aad9580ebbca9 (patch)
tree9f46601fde40ed64827dbec2bc75c143781c9de5
parentAPIDump: Documented cNoteEntity. (diff)
downloadcuberite-26d3dd3466266c971edd43986e5aad9580ebbca9.tar
cuberite-26d3dd3466266c971edd43986e5aad9580ebbca9.tar.gz
cuberite-26d3dd3466266c971edd43986e5aad9580ebbca9.tar.bz2
cuberite-26d3dd3466266c971edd43986e5aad9580ebbca9.tar.lz
cuberite-26d3dd3466266c971edd43986e5aad9580ebbca9.tar.xz
cuberite-26d3dd3466266c971edd43986e5aad9580ebbca9.tar.zst
cuberite-26d3dd3466266c971edd43986e5aad9580ebbca9.zip
Diffstat (limited to '')
-rw-r--r--MCServer/Plugins/APIDump/APIDesc.lua13
1 files changed, 6 insertions, 7 deletions
diff --git a/MCServer/Plugins/APIDump/APIDesc.lua b/MCServer/Plugins/APIDump/APIDesc.lua
index 54bd86c77..fe5d7bed1 100644
--- a/MCServer/Plugins/APIDump/APIDesc.lua
+++ b/MCServer/Plugins/APIDump/APIDesc.lua
@@ -2076,23 +2076,22 @@ cPluginManager.AddHook(cPluginManager.HOOK_CHAT, OnChatMessage);
Constants =
{
},
- },
+ }, -- cServer
cSignEntity =
{
Desc = [[
A sign entity represents a sign in the world. This class is only used when generating chunks, so
- that the plugins may generate signs within new chunks.
+ that the plugins may generate signs within new chunks. See the code example in {{cChunkDesc}}.
]],
Functions =
{
+ GetLine = { Params = "LineIndex", Return = "string", Notes = "Returns the specified line. LineIndex is expected between 0 and 3. Returns empty string and logs to server console when LineIndex is invalid." },
+ SetLine = { Params = "LineIndex, LineText", Return = "", Notes = "Sets the specified line. LineIndex is expected between 0 and 3. Logs to server console when LineIndex is invalid." },
+ SetLines = { Params = "Line1, Line2, Line3, Line4", Return = "", Notes = "Sets all the sign's lines at once." },
},
- Constants =
- {
- },
-
Inherits = "cBlockEntity";
- },
+ }, -- cSignEntity
cThrownEggEntity =
{