Crossfire Server, Trunk  1.75.0
Events

To not have to check the whole inventory each time, each object has a event_bitmask field which indicates whether the object has a handler or not for this event. The bitmask is updated when an event hook is inserted into another, and cleaned when a hook is removed from an object. In this case is it recomputed the first time it is needed. There are. More...

+ Collaboration diagram for Events:

Modules

 Local events
 
 Global events
 

Detailed Description

To not have to check the whole inventory each time, each object has a event_bitmask field which indicates whether the object has a handler or not for this event. The bitmask is updated when an event hook is inserted into another, and cleaned when a hook is removed from an object. In this case is it recomputed the first time it is needed. There are.

Local events and Global events.