Crossfire Server, Trunk
key_value Struct Reference

#include <object.h>

+ Collaboration diagram for key_value:

Data Fields

const char * key
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 42 of file object.h.

Field Documentation

◆ key

◆ next

◆ value

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