Skip to content

Commit

Permalink
fix cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Doxoh committed Sep 10, 2023
1 parent e7c303a commit cb87ec6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
9 changes: 9 additions & 0 deletions c-api/cache/CachedBaseObject.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,14 @@ namespace cache
{
return false;
}

void SetMultipleMetaData(const std::unordered_map<std::string, alt::MValue>& values) override {}

#ifdef ALT_SERVER_API
void SetMultipleSyncedMetaData(const std::unordered_map<std::string, alt::MValue>& values) override {}
void SetSyncedMetaData(const std::string& key, alt::MValue val) override {}
void DeleteSyncedMetaData(const std::string& key) override {}
#endif

};
} // namespace alt
2 changes: 2 additions & 0 deletions c-api/cache/CachedEntity.h
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,8 @@ namespace cache
{
return _timestamp;
}

void SetMultipleStreamSyncedMetaData(const std::unordered_map<std::string, alt::MValue>& values) override {}
#endif


Expand Down

0 comments on commit cb87ec6

Please sign in to comment.