Changeset 8588 in orxonox.OLD for branches/network/src/util/multiplayer_team_deathmatch.cc
- Timestamp:
- Jun 19, 2006, 6:46:49 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/util/multiplayer_team_deathmatch.cc
r8466 r8588 548 548 549 549 550 551 552 550 /** 551 * this method is called by NetworkGameManger when he recieved a chat message 552 * @param userId senders user id 553 * @param message message string 554 * @param messageType some int 555 */ 556 void MultiplayerTeamDeathmatch::handleChatMessage( int userId, const std::string & message, int messageType ) 557 { 558 std::string name = "unknown"; 559 560 if ( PlayerStats::getStats( userId ) ) 561 { 562 name = PlayerStats::getStats( userId )->getNickName(); 563 } 564 565 PRINTF(0)("CHATMESSAGE %s: %s\n", name.c_str(), message.c_str() ); 566 } 567 568 569 570
Note: See TracChangeset
for help on using the changeset viewer.