Can now save/load resources

This commit is contained in:
Yousef Khadadeh 2026-01-01 23:28:26 +03:00
parent 9913eb6c8e
commit b5877ff3ca
13 changed files with 59 additions and 0 deletions

View file

@ -69,3 +69,8 @@ void DrawingProgramLayerFolder::save_file(cereal::PortableBinaryOutputArchive& a
for(auto& listItem : *folderList)
listItem.obj->save_file(a);
}
void DrawingProgramLayerFolder::get_used_resources(std::unordered_set<NetworkingObjects::NetObjID>& resourceSet) const {
for(auto& listItem : *folderList)
listItem.obj->get_used_resources(resourceSet);
}