Crossfire Server, Trunk
|
#include <object.h>
Data Fields | |
const char * | key |
key_value * | next |
const char * | value |
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 CFMapTransformer.CFMapTransformer::__init__(), 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(), START_TEST(), CFMapTransformer.CFMapTransformer::transformAll(), and CFMapTransformer.CFMapTransformer::untransformAll().
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(), reverse_ob_key_values(), and START_TEST().
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(), process_object(), and START_TEST().