Changeset 10474 for code/branches/core7/src/libraries/network/packet
- Timestamp:
- May 25, 2015, 2:14:16 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core7/src/libraries/network/packet/FunctionIDs.cc
r10470 r10474 56 56 57 57 //calculate total needed size (for all strings and integers) 58 std::map<std::string, NetworkFunctionBase*>& map = NetworkFunctionManager::get NameMap();58 std::map<std::string, NetworkFunctionBase*>& map = NetworkFunctionManager::getInstance().getNameMap(); 59 59 std::map<std::string, NetworkFunctionBase*>::iterator it; 60 60 for (it = map.begin(); it != map.end(); ++it) … … 140 140 functionname = temp+2*sizeof(uint32_t); 141 141 orxout(internal_info, context::packets) << "processing functionid: " << networkID << " name: " << functionname << endl; 142 NetworkFunctionManager:: setNetworkID((const char*)functionname, networkID);142 NetworkFunctionManager::getInstance().setNetworkID((const char*)functionname, networkID); 143 143 temp += 2*sizeof(uint32_t) + stringsize; 144 144 }
Note: See TracChangeset
for help on using the changeset viewer.