events library
Typedefs
-
EmptyCallback
= void Function()
-
-
ErrorCallback
= void Function(int errorCode)
-
-
OnBan
= void Function(String userId)
-
-
OnCtrlPadUpdate
= void Function(List ctrlPadList)
-
-
OnErrorNotify
= void Function(int errorCode, String errorMsg)
-
-
OnJoinChannelFailed
= void Function(String channel, int errorCode, String errorMsg)
-
-
OnJoinChannelSuccess
= void Function(String channel)
-
-
OnKick
= void Function(String userId)
-
-
OnPlayError
= void Function(SWGamePlayer gamePlayer, int status, int errorFrom, int errorCode, String errorMsg)
-
-
OnPlayNetWorkDelay
= void Function(SWGamePlayer gamePlayer, int delayInMS)
-
-
OnPlayOrientationChanged
= void Function(SWGamePlayer gamePlayer, bool portrait)
-
-
OnPlayStarted
= void Function(SWGamePlayer gamePlayer, int playTime)
-
-
OnPlayUpdate
= void Function(List positionList)
-
-
OnSetPlayCloudGameFailed
= void Function(int gameId, int padCount, int errorCode, String errorMsg)
-
-
OnSetPlayCloudGameSuccess
= void Function(int gameId, int padCount)
-
-
OnUserJoin
= void Function(String userId)
-
-
OnUserLeave
= void Function(String userId)
-
-
OnUserListUpdate
= void Function(List userList)
-
-
OnUserOffline
= void Function(String userId)
-
-
OnUserOnline
= void Function(String userId)
-