1
0
Fork 0

cPlayer: Removed useless functions from the Lua API.

This commit is contained in:
madmaxoft 2014-10-01 17:24:02 +02:00
parent 886a7d7bbb
commit fd11b574bd
1 changed files with 6 additions and 2 deletions

View File

@ -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; }