#ifndef CDPLAYERFLAGSTABLE_H #define CDPLAYERFLAGSTABLE_H #include #include namespace CDPlayerFlagsTable { struct Entry { bool sessionOnly{}; bool onlySetByServer{}; bool sessionZoneOnly{}; }; using FlagId = uint32_t; using Table = std::map>; void LoadValuesFromDatabase(); const std::optional GetEntry(const FlagId flagId); }; #endif //!CDPLAYERFLAGSTABLE_H