Crossfire Server, Trunk
matcher_params Struct Reference
+ Collaboration diagram for matcher_params:

Data Fields

union {
   struct {
      int   item_must_be_pickable
 
      int   item_number
 
      int   item_to_pick
 
   } 
 
   char   name [MAX_BUF]
 
   int   pickup_type
 
}; 
 
int missed
 

Detailed Description

Matching parameters.

Definition at line 711 of file c_object.cpp.

Field Documentation

◆ @10

union { ... }

◆ item_must_be_pickable

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().

◆ item_number

int matcher_params::item_number

Index of the checked item, 1-based.

Definition at line 715 of file c_object.cpp.

◆ item_to_pick

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().

◆ missed

int matcher_params::missed

How many items were missed when matching.

Definition at line 721 of file c_object.cpp.

Referenced by command_take().

◆ name

char matcher_params::name[MAX_BUF]

Name to match for.

Definition at line 718 of file c_object.cpp.

Referenced by make_matcher().

◆ pickup_type

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().


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