diff options
author | Stijn Buys <ingar@osirion.org> | 2008-11-08 12:58:05 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-11-08 12:58:05 +0000 |
commit | dbb28ef3422bf2442e15d75fd52180cfb9b40102 (patch) | |
tree | 16b9f8bb8b5bfa64f9676e4eed134dbe15299c90 /src/core/player.h | |
parent | e3512a1b55e97b2eba62847e6e28065eec24c92f (diff) |
adds rcon, rconpassword and sv_password
Diffstat (limited to 'src/core/player.h')
-rw-r--r-- | src/core/player.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/player.h b/src/core/player.h index 44ee923..04f9615 100644 --- a/src/core/player.h +++ b/src/core/player.h @@ -67,6 +67,8 @@ public: /// player has been muted by admin or console inline bool mute() const { return player_mute; } + inline const std::string &rconpassword() const { return player_rconpassword; } + /// mission target inline Entity *mission_target() { return player_mission_target; } @@ -119,9 +121,6 @@ public: /// player has changed zone bool player_zonechange; - /// indicates rcon access - bool player_rcon; - /// id of the player int player_id; @@ -152,6 +151,7 @@ private: Zone *player_zone; float player_credits; + std::string player_rconpassword; }; } |