Changeset 9691 in orxonox.OLD for branches/new_class_id/src/util/network_game_rules.h
- Timestamp:
- Aug 22, 2006, 11:45:21 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/util/network_game_rules.h
r9235 r9691 19 19 NetworkGameRules( const TiXmlElement* root ); 20 20 virtual ~NetworkGameRules(); 21 21 22 22 virtual int getTeamForNewUser(); 23 virtual ClassIDgetPlayableClassId( int userId, int team );24 virtual std::string getPlayableModelFileName( int userId, int team, ClassIDclassId );25 virtual std::string getPlayableModelTextureFileName( int userId, int team, ClassIDclassId );26 virtual float getPlayableScale( int userId, int team, ClassIDclassId );27 23 virtual const NewClassID& getPlayableClassId( int userId, int team ); 24 virtual std::string getPlayableModelFileName( int userId, int team, const NewClassID& classId ); 25 virtual std::string getPlayableModelTextureFileName( int userId, int team, const NewClassID& classId ); 26 virtual float getPlayableScale( int userId, int team, const NewClassID& classId ); 27 28 28 virtual PlayerStats * getNewPlayerStats( int userId ){ return new PlayerStats( userId ); } 29 29 30 30 virtual void handleChatMessage( int userId, const std::string & message, int messageType ) = 0; 31 31 32 32 void shellSay( const std::string & message ); 33 33
Note: See TracChangeset
for help on using the changeset viewer.