insert and erase single functions done for both server and client network lists

This commit is contained in:
Yousef Khadadeh 2025-12-07 23:09:17 +03:00
parent 2f7ebfe083
commit 35b46d9d2b
5 changed files with 63 additions and 48 deletions

View file

@ -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);