API usage instruction › Arcalet Scene › Event
Event
void OnCompletion(int code)
The end of the object Launch() or Match(). code 0 means the setup succeeded. A code other than 0 means the setup failed.
void OnMessageIn(string Msg, int delayMilliSecond)
The default scene is triggered when a message is received. If both the local program and the message sender have turned on the 'packet delay detection radar', then the parameter delayMilliSecond will indicate the message delay time measured in milliseconds.
Was this page helpful?
Yes
No