Changeset d05c484 in network-game for common/MessageProcessor.cpp
- Timestamp:
- Jan 19, 2014, 7:40:55 PM (11 years ago)
- Branches:
- master
- Children:
- e5697b1
- Parents:
- 6054f1e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/MessageProcessor.cpp
r6054f1e rd05c484 95 95 } 96 96 97 void MessageProcessor::broadcastMessage(NETWORK_MSG &msg, map<unsigned int, Player*>& players) { 98 map<unsigned int, Player*>::iterator it; 99 for (it = players.begin(); it != players.end(); it++) { 100 this->sendMessage(&msg, &(it->second->addr)); 101 } 102 } 103 97 104 void MessageProcessor::resendUnackedMessages() { 98 105 map<unsigned int, map<unsigned long, MessageContainer> >::iterator it;
Note:
See TracChangeset
for help on using the changeset viewer.