SEGS  0.4.2
Super Entity Game Server
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions | Variables
keybind_serializers.cpp File Reference
#include "keybind_serializers.h"
#include "keybind_definitions.h"
#include "serialization_common.h"
#include "DataStorage.h"
Include dependency graph for keybind_serializers.cpp:

Functions

bool loadFrom (BinStore *s, Parse_AllKeyProfiles &target)
 
bool loadFrom (BinStore *s, Parse_AllCommandCategories &target)
 
 CEREAL_CLASS_VERSION (KeybindSettings, KeybindSettings::class_version) template< class Archive > void serialize(Archive &archive
 
 archive (cereal::make_nvp("Mods", k.Mods))
 
 archive (cereal::make_nvp("KeyString", k.KeyString))
 
 archive (cereal::make_nvp("Command", k.Command))
 
 archive (cereal::make_nvp("IsSecondary", k.IsSecondary))
 
template<class Archive >
void serialize (Archive &archive, Keybind_Profiles &kp)
 
template<class Archive >
void serialize (Archive &archive, KeybindSettings &kbds, uint32_t const version)
 
template<class Archive >
void serialize (Archive &archive, CommandEntry &k, uint32_t const version)
 
template<class Archive >
void serialize (Archive &archive, Command &k, uint32_t const version)
 
template<class Archive >
void serialize (Archive &archive, CommandCategory_Entry &k, uint32_t const version)
 
template<class Archive >
void serialize (Archive &archive, Parse_AllCommandCategories &k, uint32_t const version)
 
void saveTo (const KeybindSettings &target, const QString &baseName, bool text_format)
 
template void serialize< cereal::JSONOutputArchive > (cereal::JSONOutputArchive &archive, KeybindSettings &bds, uint32_t const version)
 
template void serialize< cereal::JSONInputArchive > (cereal::JSONInputArchive &archive, KeybindSettings &bds, uint32_t const version)
 
void serializeToDb (const KeybindSettings &data, QString &tgt)
 
void serializeFromDb (KeybindSettings &data, const QString &src)
 

Variables

Keybindk