BSB Developer Docs
Loading...
Searching...
No Matches
SettingProviderEnumInterface Struct Reference

Enum interface - stores integer as string from map. More...

#include <setting_provider.h>

Data Fields

const char *const * string_map
 Array of string names, indexed by enum value.
 
int string_map_length
 Number of entries in string_map.
 
size_t type_size
 Enum's type size in bytes (use sizeof(EnumType))
 
const void * default_value
 Pointer to default enum value.
 

Detailed Description

Enum interface - stores integer as string from map.

Serializes enum values as human-readable strings instead of integers.


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