insert and erase single functions done for both server and client network lists
This commit is contained in:
parent
2f7ebfe083
commit
35b46d9d2b
5 changed files with 63 additions and 48 deletions
|
|
@ -8,6 +8,9 @@ namespace NetworkingObjects {
|
|||
typeList(initTypeList),
|
||||
nextTypeID(0)
|
||||
{}
|
||||
bool NetObjManager::is_server() const {
|
||||
return isServer;
|
||||
}
|
||||
void NetObjManager::read_update_message(cereal::PortableBinaryInputArchive& a, const std::shared_ptr<NetServer::ClientData>& clientReceivedFrom) {
|
||||
NetObjID id;
|
||||
a(id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue