summaryrefslogtreecommitdiffstats
path: root/source/cPlayer.h
diff options
context:
space:
mode:
authoradmin@omencraft.com <admin@omencraft.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-11-10 17:30:14 +0100
committeradmin@omencraft.com <admin@omencraft.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-11-10 17:30:14 +0100
commit6027c3d0b8417c951b92f37e80cb6f99ebf40e67 (patch)
treee3169e73472f4937c5bb23678bd46d79e89feeac /source/cPlayer.h
parentFixed doors. I forgot to actually return proper Hex value. Started work on adding farmland, farming, and leaf decay support. (diff)
downloadcuberite-6027c3d0b8417c951b92f37e80cb6f99ebf40e67.tar
cuberite-6027c3d0b8417c951b92f37e80cb6f99ebf40e67.tar.gz
cuberite-6027c3d0b8417c951b92f37e80cb6f99ebf40e67.tar.bz2
cuberite-6027c3d0b8417c951b92f37e80cb6f99ebf40e67.tar.lz
cuberite-6027c3d0b8417c951b92f37e80cb6f99ebf40e67.tar.xz
cuberite-6027c3d0b8417c951b92f37e80cb6f99ebf40e67.tar.zst
cuberite-6027c3d0b8417c951b92f37e80cb6f99ebf40e67.zip
Diffstat (limited to '')
-rw-r--r--source/cPlayer.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/source/cPlayer.h b/source/cPlayer.h
index 08234df88..adefd7fdc 100644
--- a/source/cPlayer.h
+++ b/source/cPlayer.h
@@ -33,9 +33,11 @@ public:
int GetGameMode() { return m_GameMode; } //tolua_export
std::string GetIP() { return m_IP; } //tolua_export
- float GetLastBlockActionTime() { return m_LastBlockActionTime; } //return LastBlockActionTime for player.
- void SetLastBlockActionTime();
- void SetGameMode( int a_GameMode );
+ float GetLastBlockActionTime() { return m_LastBlockActionTime; } //tolua_export
+ int GetLastBlockActionCnt() { return m_LastBlockActionCnt; } //tolua_export
+ void SetLastBlockActionCnt( int ); //tolua_export
+ void SetLastBlockActionTime(); //tolua_export
+ void SetGameMode( int a_GameMode ); //tolua_export
void SetIP( std::string a_IP );
// Tries to move to a new position, with collision checks and stuff
@@ -105,6 +107,7 @@ protected:
float m_BurnPeriod;
float m_LastBlockActionTime;
+ int m_LastBlockActionCnt;
int m_GameMode;
std::string m_IP;