Crossfire Server, Trunk  1.75.0
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:

Data Fields

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

Field Documentation

◆ key

◆ next

◆ value


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