Changeset bace57b in network-game for common/MessageProcessor.h


Ignore:
Timestamp:
Jul 20, 2013, 1:24:43 PM (11 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
64d22ac
Parents:
cc6a14a
Message:

MessageProcessor stores the recipient address along with each sent message, so it can properly resend messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/MessageProcessor.h

    rcc6a14a rbace57b  
    7878
    7979   int lastUsedId;
    80    map<int, MessageContainer> sentMessages;
     80
     81   // map from message ids to maps from player addresses to message info
     82   map<int, map<unsigned long, MessageContainer> > sentMessages;
     83
     84   // map from message ids to the time each mesage was acked
    8185   map<unsigned int, unsigned long long> ackedMessages;
    8286};
Note: See TracChangeset for help on using the changeset viewer.