Added generic serialized class and changed to random 128 bit IDs for objects

This commit is contained in:
Yousef Khadadeh 2025-12-08 14:28:01 +03:00
parent 35b46d9d2b
commit 5d24b34200
11 changed files with 113 additions and 69 deletions

View file

@ -0,0 +1,10 @@
#include "NetObjID.hpp"
namespace NetworkingObjects {
NetObjID NetObjID::random_gen() {
return NetObjID{.data = {Random::get().randGen(), Random::get().randGen()}};
}
}