![]() |
Crossfire Server, Trunk
1.75.0
|
Matching parameters. More...
Collaboration diagram for matcher_params:Data Fields | |
| union { | |
| struct { | |
| int item_must_be_pickable | |
| If non zero, then the item number is increased only if the item is pickable. More... | |
| int item_number | |
| Index of the checked item, 1-based. More... | |
| int item_to_pick | |
| Index of the item to pick, 1-based. More... | |
| } | |
| char name [MAX_BUF] | |
| Name to match for. More... | |
| int pickup_type | |
| Value in Pickup modes to match against. More... | |
| }; | |
| int | missed |
| How many items were missed when matching. More... | |
Matching parameters.
Definition at line 711 of file c_object.cpp.
| union { ... } |
| int matcher_params::item_must_be_pickable |
If non zero, then the item number is increased only if the item is pickable.
Definition at line 716 of file c_object.cpp.
Referenced by make_matcher(), and matcher_number().
| int matcher_params::item_number |
Index of the checked item, 1-based.
Definition at line 715 of file c_object.cpp.
Referenced by matcher_number().
| int matcher_params::item_to_pick |
Index of the item to pick, 1-based.
Definition at line 714 of file c_object.cpp.
Referenced by make_matcher(), and matcher_number().
| int matcher_params::missed |
How many items were missed when matching.
Definition at line 721 of file c_object.cpp.
Referenced by command_take(), and matcher_name().
| char matcher_params::name[MAX_BUF] |
Name to match for.
Definition at line 718 of file c_object.cpp.
Referenced by make_matcher(), and matcher_name().
| int matcher_params::pickup_type |
Value in Pickup modes to match against.
Definition at line 719 of file c_object.cpp.
Referenced by make_matcher(), and matcher_pickup_type().