Zone Update Event Handling¶
Zone Update Event Dispatcher¶
-
class
CommonZoneUpdateEventDispatcherService
¶ Bases:
sims4communitylib.services.common_service.CommonService
,sims4communitylib.logging.has_log.HasLog
A service that dispatches zone update events.
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.
-
ticks_since_last_zone_update
¶ The amount of time that has passed since the last zone update.
Returns: The amount of time that has passed in milliseconds Return type: int
-