diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-06-12 09:14:06 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-06-12 09:14:06 +0200 |
commit | fe3712284ebf1661a9c536dd51e32f757b66aba3 (patch) | |
tree | 90dec2ce1c58c781d3e06ad88f320d1d07e8d7cb /source/World.h | |
parent | ProtectionAreas: Added a license file. (diff) | |
download | cuberite-fe3712284ebf1661a9c536dd51e32f757b66aba3.tar cuberite-fe3712284ebf1661a9c536dd51e32f757b66aba3.tar.gz cuberite-fe3712284ebf1661a9c536dd51e32f757b66aba3.tar.bz2 cuberite-fe3712284ebf1661a9c536dd51e32f757b66aba3.tar.lz cuberite-fe3712284ebf1661a9c536dd51e32f757b66aba3.tar.xz cuberite-fe3712284ebf1661a9c536dd51e32f757b66aba3.tar.zst cuberite-fe3712284ebf1661a9c536dd51e32f757b66aba3.zip |
Diffstat (limited to 'source/World.h')
-rw-r--r-- | source/World.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source/World.h b/source/World.h index b495750a9..21869bd41 100644 --- a/source/World.h +++ b/source/World.h @@ -260,8 +260,11 @@ public: /// Marks the chunk as failed-to-load: void ChunkLoadFailed(int a_ChunkX, int a_ChunkY, int a_ChunkZ); - /// Updates the sign, askin gplugins for permission forst. a_Player is the player who changed the sign, may be NULL - void UpdateSign(int a_X, int a_Y, int a_Z, const AString & a_Line1, const AString & a_Line2, const AString & a_Line3, const AString & a_Line4, cPlayer * a_Player = NULL); // tolua_export + /// Sets the sign text, asking plugins for permission first. a_Player is the player who this change belongs to, may be NULL. Returns true if sign text changed. Same as UpdateSign() + bool SetSignLines(int a_BlockX, int a_BlockY, int a_BlockZ, const AString & a_Line1, const AString & a_Line2, const AString & a_Line3, const AString & a_Line4, cPlayer * a_Player = NULL); // Exported in ManualBindings.cpp + + /// Sets the sign text, asking plugins for permission first. a_Player is the player who this change belongs to, may be NULL. Returns true if sign text changed. Same as SetSignLines() + bool UpdateSign(int a_X, int a_Y, int a_Z, const AString & a_Line1, const AString & a_Line2, const AString & a_Line3, const AString & a_Line4, cPlayer * a_Player = NULL); // Exported in ManualBindings.cpp /// Marks (a_Stay == true) or unmarks (a_Stay == false) chunks as non-unloadable. To be used only by cChunkStay! void ChunksStay(const cChunkCoordsList & a_Chunks, bool a_Stay = true); |