diff options
author | madmaxoft <github@xoft.cz> | 2014-10-01 17:24:02 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-10-01 17:24:02 +0200 |
commit | fd11b574bdc31721b007b31f1734f9ea69a2cd94 (patch) | |
tree | ea8c8d934906939e36782e68205db59244989fc3 /src/Entities | |
parent | Bindings: Fixed binding for cPlayer::PermissionMatches(). (diff) | |
download | cuberite-fd11b574bdc31721b007b31f1734f9ea69a2cd94.tar cuberite-fd11b574bdc31721b007b31f1734f9ea69a2cd94.tar.gz cuberite-fd11b574bdc31721b007b31f1734f9ea69a2cd94.tar.bz2 cuberite-fd11b574bdc31721b007b31f1734f9ea69a2cd94.tar.lz cuberite-fd11b574bdc31721b007b31f1734f9ea69a2cd94.tar.xz cuberite-fd11b574bdc31721b007b31f1734f9ea69a2cd94.tar.zst cuberite-fd11b574bdc31721b007b31f1734f9ea69a2cd94.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Entities/Player.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Entities/Player.h b/src/Entities/Player.h index ffd0b7e03..22d6a2ae2 100644 --- a/src/Entities/Player.h +++ b/src/Entities/Player.h @@ -182,11 +182,11 @@ public: /** Sets the player team, NULL if none */ void SetTeam(cTeam * a_Team); + // tolua_end + /** Forces the player to query the scoreboard for his team */ cTeam * UpdateTeam(void); - // tolua_end - /** Return the associated statistic and achievement manager. */ cStatManager & GetStatManager() { return m_Stats; } @@ -421,9 +421,13 @@ public: /** Sets the player's bed (home) position */ void SetBedPos(const Vector3i & a_Pos) { m_LastBedPos = a_Pos; } + + // tolua_end /** Update movement-related statistics. */ void UpdateMovementStats(const Vector3d & a_DeltaPos); + + // tolua_begin /** Returns wheter the player can fly or not. */ virtual bool CanFly(void) const { return m_CanFly; } |