From fb205174350792c5840897b63d7457b3536e0c27 Mon Sep 17 00:00:00 2001 From: Lukas Pioch Date: Tue, 4 Apr 2017 07:53:14 +0200 Subject: APIDoc: Documented missing functions and variables. (#3634) --- src/Entities/Player.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/Entities/Player.h') diff --git a/src/Entities/Player.h b/src/Entities/Player.h index b592913bd..058ece26e 100644 --- a/src/Entities/Player.h +++ b/src/Entities/Player.h @@ -139,6 +139,12 @@ public: virtual void TeleportToCoords(double a_PosX, double a_PosY, double a_PosZ) override; + // Sets the current gamemode, doesn't check validity, doesn't send update packets to client + void LoginSetGameMode(eGameMode a_GameMode); + + // Updates player's capabilities - flying, visibility, etc. from their gamemode. + void SetCapabilities(); + // tolua_begin /** Prevent the player from moving and lock him into a_Location. */ @@ -174,12 +180,6 @@ public: */ void SetGameMode(eGameMode a_GameMode); - // Sets the current gamemode, doesn't check validity, doesn't send update packets to client - void LoginSetGameMode(eGameMode a_GameMode); - - // Updates player's capabilities - flying, visibility, etc. from their gamemode. - void SetCapabilities(); - /** Returns true if the player is in Creative mode, either explicitly, or by inheriting from current world */ bool IsGameModeCreative(void) const; -- cgit v1.2.3