src/proto2/Network.hh
branchno-netsession
changeset 32 2ff929186c90
parent 25 af75a1894a32
child 35 e21cfda0edde
equal deleted inserted replaced
31:d0d7489d4e8b 32:2ff929186c90
    10     protected:
    10     protected:
    11         GameState &state;
    11         GameState &state;
    12 
    12 
    13         CL_SlotContainer slots;
    13         CL_SlotContainer slots;
    14 
    14 
    15         CL_NetSession netsession;
       
    16 
       
    17         CL_NetObject_Controller netobjs;
       
    18         
       
    19         // constructor
    15         // constructor
    20         NetworkCore (GameState &state) : state(state), netsession(NETWORK_APP_NAME), netobjs(&netsession, NETWORK_NETOBJ_CHAN) { }
    16         NetworkCore (GameState &state) : state(state) { }
    21 };
    17 };
    22 
    18 
    23 enum NetworkMessage {
    19 enum NetworkMessage {
    24     NETMSG_PACKET_INVALID   = 0x00,
    20     NETMSG_PACKET_INVALID   = 0x00,
    25 
    21