styyx-util 1.0
Utility Header for SKSE Plugin development
Loading...
Searching...
No Matches
FUCK::PluginSettings Class Reference

Convenience wrapper for Plugin INI Loading/Saving. More...

#include <FUCK_API.h>

Public Types

using INIFunc = std::function<void(CSimpleIniA&)>

Public Member Functions

 PluginSettings (const char *a_pluginName=FUCK::g_pluginName)
void Load (INIFunc a_func) const
void Save (INIFunc a_func) const
void LoadDefaults (INIFunc a_func) const
 Loads the default shipped INI, ignoring user settings.
void LoadKeybinds (INIFunc a_func) const
void SaveKeybinds (INIFunc a_func) const
void LoadKeybindsDefaults (INIFunc a_func) const
std::string GetConfigDirectory () const
 Returns the absolute path string pointing to this plugin's dedicated config folder.

Private Attributes

const char * _pluginName

Detailed Description

Convenience wrapper for Plugin INI Loading/Saving.

Member Typedef Documentation

◆ INIFunc

using FUCK::PluginSettings::INIFunc = std::function<void(CSimpleIniA&)>

Constructor & Destructor Documentation

◆ PluginSettings()

FUCK::PluginSettings::PluginSettings ( const char * a_pluginName = FUCK::g_pluginName)
inline

Member Function Documentation

◆ GetConfigDirectory()

std::string FUCK::PluginSettings::GetConfigDirectory ( ) const
inline

Returns the absolute path string pointing to this plugin's dedicated config folder.

Here is the call graph for this function:

◆ Load()

void FUCK::PluginSettings::Load ( INIFunc a_func) const
inline
Here is the call graph for this function:

◆ LoadDefaults()

void FUCK::PluginSettings::LoadDefaults ( INIFunc a_func) const
inline

Loads the default shipped INI, ignoring user settings.

Here is the call graph for this function:

◆ LoadKeybinds()

void FUCK::PluginSettings::LoadKeybinds ( INIFunc a_func) const
inline
Here is the call graph for this function:

◆ LoadKeybindsDefaults()

void FUCK::PluginSettings::LoadKeybindsDefaults ( INIFunc a_func) const
inline
Here is the call graph for this function:

◆ Save()

void FUCK::PluginSettings::Save ( INIFunc a_func) const
inline
Here is the call graph for this function:

◆ SaveKeybinds()

void FUCK::PluginSettings::SaveKeybinds ( INIFunc a_func) const
inline
Here is the call graph for this function:

Member Data Documentation

◆ _pluginName

const char* FUCK::PluginSettings::_pluginName
private

The documentation for this class was generated from the following file: