OdinClient.addEventListener

addEventListener(eventName: Event, handler: IOdinClientEvents[Event]): void

Registers to client events from IOdinClientEvents.

Parameters

NameTypeDescription
eventNameEventThe name of the event to listen to
handlerIOdinClientEvents[Event]The callback to handle the event

Returns

TypeDescription
void