summaryrefslogtreecommitdiffstats
path: root/source/Chunk.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-12 09:14:06 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-12 09:14:06 +0200
commitfe3712284ebf1661a9c536dd51e32f757b66aba3 (patch)
tree90dec2ce1c58c781d3e06ad88f320d1d07e8d7cb /source/Chunk.h
parentProtectionAreas: Added a license file. (diff)
downloadcuberite-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 '')
-rw-r--r--source/Chunk.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/Chunk.h b/source/Chunk.h
index a96d96ef3..748227b70 100644
--- a/source/Chunk.h
+++ b/source/Chunk.h
@@ -169,7 +169,9 @@ public:
EMCSBiome GetBiomeAt(int a_RelX, int a_RelZ) const {return cChunkDef::GetBiome(m_BiomeMap, a_RelX, a_RelZ); }
void CollectPickupsByPlayer(cPlayer * a_Player);
- void UpdateSign(int a_PosX, int a_PosY, int a_PosZ, const AString & a_Line1, const AString & a_Line2, const AString & a_Line3, const AString & a_Line4); // Also sends update packets to all clients in the chunk
+
+ /// Sets the sign text. Returns true if successful. Also sends update packets to all clients in the chunk
+ bool SetSignLines(int a_RelX, int a_RelY, int a_RelZ, const AString & a_Line1, const AString & a_Line2, const AString & a_Line3, const AString & a_Line4);
int GetHeight( int a_X, int a_Z );