summaryrefslogtreecommitdiffstats
path: root/source/Entities
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-10-24 12:18:54 +0200
committermadmaxoft <github@xoft.cz>2013-10-24 12:24:40 +0200
commiteca6955a2dc4c8c444ad9e11ad4a8aa926969918 (patch)
treee01271d441bdff60a7b5b3455aa2e950e871f9e0 /source/Entities
parentUnified cPlayer's Heal() function with cEntity's. (diff)
downloadcuberite-eca6955a2dc4c8c444ad9e11ad4a8aa926969918.tar
cuberite-eca6955a2dc4c8c444ad9e11ad4a8aa926969918.tar.gz
cuberite-eca6955a2dc4c8c444ad9e11ad4a8aa926969918.tar.bz2
cuberite-eca6955a2dc4c8c444ad9e11ad4a8aa926969918.tar.lz
cuberite-eca6955a2dc4c8c444ad9e11ad4a8aa926969918.tar.xz
cuberite-eca6955a2dc4c8c444ad9e11ad4a8aa926969918.tar.zst
cuberite-eca6955a2dc4c8c444ad9e11ad4a8aa926969918.zip
Diffstat (limited to '')
-rw-r--r--source/Entities/Player.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/Entities/Player.h b/source/Entities/Player.h
index 067a996e5..449a63231 100644
--- a/source/Entities/Player.h
+++ b/source/Entities/Player.h
@@ -128,8 +128,8 @@ public:
// Sets the current gamemode, doesn't check validity, doesn't send update packets to client
void LoginSetGameMode(eGameMode a_GameMode);
- /// Tries to move to a new position, with collision checks and stuff
- virtual void MoveTo( const Vector3d & a_NewPos ); // tolua_export
+ /// Tries to move to a new position, with attachment-related checks (y == -999)
+ void MoveTo(const Vector3d & a_NewPos); // tolua_export
cWindow * GetWindow(void) { return m_CurrentWindow; } // tolua_export
const cWindow * GetWindow(void) const { return m_CurrentWindow; }
@@ -159,8 +159,10 @@ public:
/// Adds a player to existing group or creates a new group when it doesn't exist
void AddToGroup( const AString & a_GroupName ); // tolua_export
+
/// Removes a player from the group, resolves permissions and group inheritance (case sensitive)
void RemoveFromGroup( const AString & a_GroupName ); // tolua_export
+
bool CanUseCommand( const AString & a_Command ); // tolua_export
bool HasPermission( const AString & a_Permission ); // tolua_export
const GroupList & GetGroups() { return m_Groups; } // >> EXPORTED IN MANUALBINDINGS <<