Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func On ¶
func On(ev string, f func(i ...interface{}))
On is to register callback on events Only allowed to be executed during initialization
func TriggerCross ¶
TriggerCross is to trigger an event with args across player
func TriggerCrossWait ¶
TriggerCrossWait is to trigger an event with args across player and waiting for the result
Types ¶
type EventCallback ¶
type EventCallback func(...interface{})
Click to show internal directories.
Click to hide internal directories.