class
CArcPreferencesStore
- Module
- Arc
- Header
#include "Arc/Serialization/CArcSerialization.h"- Namespace
Arcf
Public functions
| Returns | Name | Description |
|---|---|---|
CArcPreferencesStore& | Get | |
void | SetFilePath | |
void | SetString | |
void | SetFloat | |
void | SetInt | |
void | SetBool | |
std::string | GetString | |
float | GetFloat | |
int | GetInt | |
bool | GetBool | |
bool | HasKey | |
void | Remove | |
bool | Save | Plain key=value file format |
bool | Load | |
void | Tick |
Function details
Get
C++
static CArcPreferencesStore& Get()SetFilePath
C++
void SetFilePath(const std::string& path)SetString
C++
void SetString(const std::string& key, const std::string& value)SetFloat
C++
void SetFloat(const std::string& key, float value)SetInt
C++
void SetInt(const std::string& key, int value)SetBool
C++
void SetBool(const std::string& key, bool value)GetString
C++
std::string GetString(const std::string& key, const std::string& def = "") constGetFloat
C++
float GetFloat(const std::string& key, float def = 0.0f) constGetInt
C++
int GetInt(const std::string& key, int def = 0) constGetBool
C++
bool GetBool(const std::string& key, bool def = false) constHasKey
C++
bool HasKey(const std::string& key) constRemove
C++
void Remove(const std::string& key)Save
C++
bool Save() constPlain key=value file format
Load
C++
bool Load()Tick
C++
void Tick(float deltaTime)Generated from Arc/Serialization/CArcSerialization.h via arc.json · Nov 5, 2026Version 1.0.0