Interaction Event Handling

Interaction Event Dispatcher

class CommonInteractionEventDispatcherService

Bases: sims4communitylib.services.common_service.CommonService, sims4communitylib.logging.has_log.HasLog

A service that dispatches interaction events (Run, Queued, Performed, etc.).

Warning

Do not use this service directly to listen for events! Use the CommonEventRegistry to listen for dispatched events.

mod_identity

The identity of the mod that owns this property

Warning

Override this property with the CommonModIdentity of your mod.

This is a MUST override to allow for proper Exception Handling and Logging!

Returns:An instance of CommonModIdentity
Return type:CommonModIdentity
Raises:NotImplementedError – Thrown when the property is not implemented.