ConfigFile::add (type)

From King Arthur's Gold Wiki
Revision as of 16:05, 29 September 2012 by Shadlington (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Adds a key/value pair of a particular type to the ConfigFile. The type is specified by the specific method name used.


void add_f32( const string &in key, const f32 &in value )
void add_u8( const string &in key, const u8 &in value )
void add_s8( const string &in key, const s8 &in value )
void add_u16( const string &in key, const u16 &in value )
void add_s16( const string &in key, const s16 &in value )
void add_u32( const string &in key, const u32 &in value )
void add_s32( const string &in key, const s32 &in value )
void add_bool( const string &in key, const bool &in value )
void add_string( const string &in key, const string &in value )

Object method of: ConfigFile