Changeset 9b5d30b in network-game for common/MessageProcessor.h


Ignore:
Timestamp:
Jul 14, 2013, 9:22:38 PM (11 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
10f6fc2
Parents:
5a64bea
Message:

Moved server message sending/receiving into MessageProcessor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/MessageProcessor.h

    r5a64bea r9b5d30b  
    5959
    6060      MessageContainer(const MessageContainer& mc) {
    61          this->id = mc.id;
     61         this->msg = mc.msg;
    6262         this->clientAddr = mc.clientAddr;
    63          this->msg = mc.msg;
    64          this->ackReceived = mc.ackReceived;
    6563      }
    6664
     
    7371      }
    7472
    75       int id;
     73      NETWORK_MSG msg;
    7674      struct sockaddr_in clientAddr;
    77       NETWORK_MSG msg;
    78       bool ackReceived;
    7975   };
    8076
Note: See TracChangeset for help on using the changeset viewer.