1
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

View File

@ -182,11 +182,11 @@ public:
/** Sets the player team, NULL if none */ /** Sets the player team, NULL if none */
void SetTeam(cTeam * a_Team); void SetTeam(cTeam * a_Team);
// tolua_end
/** Forces the player to query the scoreboard for his team */ /** Forces the player to query the scoreboard for his team */
cTeam * UpdateTeam(void); cTeam * UpdateTeam(void);
// tolua_end
/** Return the associated statistic and achievement manager. */ /** Return the associated statistic and achievement manager. */
cStatManager & GetStatManager() { return m_Stats; } cStatManager & GetStatManager() { return m_Stats; }
@ -422,9 +422,13 @@ public:
/** Sets the player's bed (home) position */ /** Sets the player's bed (home) position */
void SetBedPos(const Vector3i & a_Pos) { m_LastBedPos = a_Pos; } void SetBedPos(const Vector3i & a_Pos) { m_LastBedPos = a_Pos; }
// tolua_end
/** Update movement-related statistics. */ /** Update movement-related statistics. */
void UpdateMovementStats(const Vector3d & a_DeltaPos); void UpdateMovementStats(const Vector3d & a_DeltaPos);
// tolua_begin
/** Returns wheter the player can fly or not. */ /** Returns wheter the player can fly or not. */
virtual bool CanFly(void) const { return m_CanFly; } virtual bool CanFly(void) const { return m_CanFly; }