Crossfire Server, Trunk  R20711
_key_value Struct Reference

#include <object.h>

+ Collaboration diagram for _key_value:

Data Fields

const char * key
struct _key_valuenext
const char * value

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: