Skip to content

xtr_remote_event.decorator

The declarations an application writes beside its consumers.

remote_event_consumers_declared_on

remote_event_consumers_declared_on(obj: object) -> tuple[str, ...]

Return the names obj itself was declared the consumer of.

Only what was written on obj, never what a base class carries: a subclass of a consumer declares nothing until it is decorated too. Inheriting would have every derived class quietly answering for its parent's sources, and whoever gathers consumers finding two for one name.