Crossfire Server, Trunk  R20513
Data Fields
_key_value Struct Reference

Each object (this also means archetypes!) could have a few of these "dangling" from it; this could also end up containing 'parse errors'. More...

#include <object.h>

Collaboration diagram for _key_value:
Collaboration graph

Data Fields

const char * key
 Name of the key. More...
 
struct _key_valuenext
 Next key in the list. More...
 
const char * value
 Key's value. More...
 

Detailed Description

Each object (this also means archetypes!) could have a few of these "dangling" from it; this could also end up containing 'parse errors'.

key and value are shared-strings.

Please use object_get_value(), object_set_value() from object.c rather than accessing the list directly. Exception is if you want to walk this list for some reason.

Definition at line 40 of file object.h.

Field Documentation

const char* _key_value::key
struct _key_value* _key_value::next
const char* _key_value::value

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