Changeset 9505 in orxonox.OLD for branches/proxy/src
- Timestamp:
- Jul 27, 2006, 1:00:55 PM (18 years ago)
- Location:
- branches/proxy/src/lib/network
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/player_stats.cc
r9504 r9505 188 188 { 189 189 State::getPlayer()->setPlayable( this->playable ); 190 // also set the team id 191 this->playable->setTeam(this->getTeamId()); 190 192 } 191 193 -
branches/proxy/src/lib/network/player_stats.h
r9504 r9505 74 74 static ScoreList getScoreList(); 75 75 76 76 77 private: 77 int userId; //!< userId 78 int teamId; //!< teamId 79 int preferedTeamId; //!< preferedTeamId 78 void init(); 80 79 81 std::string nickName; //!< players nickname82 std::string oldNickName; //!< nickname player had before83 80 84 int score; //!< users score points 85 int playableClassId; //!< players playable class id 86 int playableUniqueId; //!< playable's uniqueId 87 std::string modelFileName; //!< model filename 81 private: 82 // handles for SynchronizeableVars 83 int userId_handle; 84 int teamId_handle; 85 int preferedTeamId_handle; 86 int score_handle; 87 int playableClassId_handle; 88 int playableUniqueId_handle; 89 int modelFileName_handle; 90 int nickName_handler; 88 91 89 Playable * playable; //!< pointer to players playable 92 int userId; //!< userId 93 int teamId; //!< teamId 94 int preferedTeamId; //!< preferedTeamId 90 95 91 // handles for SynchronizeableVars 92 int userId_handle; 93 int teamId_handle; 94 int preferedTeamId_handle; 95 int score_handle; 96 int playableClassId_handle; 97 int playableUniqueId_handle; 98 int modelFileName_handle; 99 int nickName_handler; 96 std::string nickName; //!< players nickname 97 std::string oldNickName; //!< nickname player had before 100 98 101 void init(); 99 int score; //!< users score points 100 int playableClassId; //!< players playable class id 101 int playableUniqueId; //!< playable's uniqueId 102 std::string modelFileName; //!< model filename 103 104 Playable * playable; //!< pointer to players playable 102 105 }; 103 106
Note: See TracChangeset
for help on using the changeset viewer.