[Orxonox-commit 3503] r8189 - code/branches/dockingsystem/src/orxonox/infos

sven at orxonox.net sven at orxonox.net
Mon Apr 4 15:50:29 CEST 2011


Author: sven
Date: 2011-04-04 15:50:29 +0200 (Mon, 04 Apr 2011)
New Revision: 8189

Modified:
   code/branches/dockingsystem/src/orxonox/infos/HumanPlayer.h
Log:
Added getter for nick_ in HumanPlayer

Modified: code/branches/dockingsystem/src/orxonox/infos/HumanPlayer.h
===================================================================
--- code/branches/dockingsystem/src/orxonox/infos/HumanPlayer.h	2011-04-04 13:48:17 UTC (rev 8188)
+++ code/branches/dockingsystem/src/orxonox/infos/HumanPlayer.h	2011-04-04 13:50:29 UTC (rev 8189)
@@ -48,6 +48,9 @@
             float getPing() const;
             float getPacketLossRatio() const;
 
+            inline const std::string& getNick() const
+                { return this->nick_; }
+
             void setClientID(unsigned int clientID);
 
             virtual void changedGametype();




More information about the Orxonox-commit mailing list