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


Ignore:
Timestamp:
Jul 29, 2013, 10:32:59 PM (11 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
d05086b
Parents:
297682c
Message:

Added a basic ingame debug console

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/MessageProcessor.h

    r297682c rb35b2b2  
    1313
    1414   // map from message ids to maps from player addresses to message info
    15    map<int, map<unsigned long, MessageContainer> > sentMessages;
     15   map<unsigned int, map<unsigned long, MessageContainer> > sentMessages;
    1616
    1717   // map from message ids to the time each mesage was acked
    18    map<unsigned int, unsigned long long> ackedMessages;
     18   map<unsigned int, MessageContainer> ackedMessages;
    1919
    2020   unsigned long pid;
     
    2828   void resendUnackedMessages(int sock);
    2929   void cleanAckedMessages();
     30
     31   map<unsigned int, map<unsigned long, MessageContainer> >& getSentMessages();
     32   map<unsigned int, MessageContainer>& getAckedMessages();
    3033};
    3134
Note: See TracChangeset for help on using the changeset viewer.