![]() |
Crossfire Server, Trunk
1.75.0
|
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>
Data Fields | |
const char * | key |
Name of the key. More... | |
key_value * | next |
Next key in the list. More... | |
const char * | value |
Key's value. More... | |
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.
const char* key_value::key |
Name of the key.
Definition at line 43 of file object.h.
Referenced by add_abilities(), compare_ob_value_lists_one(), get_ob_diff(), object_copy_no_speed(), object_free_key_values(), object_get_key_value(), object_get_value(), and object_set_value_s().
key_value* key_value::next |
Next key in the list.
Definition at line 45 of file object.h.
Referenced by add_abilities(), compare_ob_value_lists_one(), get_ob_diff(), object_copy_no_speed(), object_free_key_values(), object_get_key_value(), object_get_value(), object_set_value_s(), object_value_set_shared(), and reverse_ob_key_values().
const char* key_value::value |
Key's value.
Definition at line 44 of file object.h.
Referenced by add_abilities(), compare_ob_value_lists_one(), get_ob_diff(), object_copy_no_speed(), object_free_key_values(), object_get_value(), object_set_value_s(), and process_object().