CBlob::set (type)

From King Arthur's Gold Wiki
Revision as of 15:01, 31 January 2016 by Vermilicious (Talk | contribs)

Jump to: navigation, search

Stores a value of a certain type.


This method is useful for storing any data that should be associated with a particular blob object. Each value is referenced by a simple string.

void set(const string &in, obj o)
void set(const string &in, arr[] a)
void set_s8(const string &in, s8 v)
void set_u8(const string &in, u8 v)
void set_s16(const string &in, s16 v)
void set_u16(const string &in, u16 v)
void set_s32(const string &in, s32 v)
void set_u32(const string &in, u32 v)
void set_f32(const string &in, f32 v)
void set_bool(const string &in, bool v)
void set_string(const string &in, string v)
void set_Vec2f(const string &in, Vec2f v)
void set_position2di(const string &in, position2di v)

Object method of: CBlob