Translations:Implementation and Events/136/en

From DragonMineZ Wiki

In your add-on, prefer reacting to events (changing their settable fields, or cancelling them) over calling DMZ setters directly. Not every setter validates or posts an event (most Resources setters, for example, just clamp and apply with no event), so going through the event path is the one integration point guaranteed to stay stable.