BattleManager class

Available extensions

Constructors

BattleManager.new()

Properties

battleState LSBattleState
getter/setter pair
context Context
latefinal
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
service LiveStreamService
latefinal

Methods

dispose() → void
init(Context context) → void
isBattleDraw() bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onBattleEnded(TUIBattleInfo battleInfo) → void

Available on BattleManager, provided by the BattlleManagerCallback extension

onBattleExited() → void
onBattleRequestAccept(String battleId, TUIBattleUser inviter, TUIBattleUser invitee) → void

Available on BattleManager, provided by the BattlleManagerCallback extension

onBattleRequestCancelled(String battleId, TUIBattleUser inviter, TUIBattleUser invitee) → void

Available on BattleManager, provided by the BattlleManagerCallback extension

onBattleRequestReceived(String battleId, TUIBattleUser inviter, TUIBattleUser invitee) → void

Available on BattleManager, provided by the BattlleManagerCallback extension

onBattleRequestReject(String battleId, TUIBattleUser inviter, TUIBattleUser invitee) → void

Available on BattleManager, provided by the BattlleManagerCallback extension

onBattleRequestTimeout(String battleId, TUIBattleUser inviter, TUIBattleUser invitee) → void

Available on BattleManager, provided by the BattlleManagerCallback extension

onBattleScoreChanged(String battleId, List<TUIBattleUser> battleUserList) → void

Available on BattleManager, provided by the BattlleManagerCallback extension

onBattleStarted(TUIBattleInfo battleInfo) → void

Available on BattleManager, provided by the BattlleManagerCallback extension

onCanceledBattle() → void
onRequestBattle(String battleId, List<TUIBattleUser> battleUserList) → void
onResponseBattle() → void
onUserExitBattle(String battleId, TUIBattleUser battleUser) → void

Available on BattleManager, provided by the BattlleManagerCallback extension

onUserJoinBattle(String battleId, TUIBattleUser battleUser) → void

Available on BattleManager, provided by the BattlleManagerCallback extension

resetState() → void
toString() String
A string representation of this object.
inherited
updateBattleUserRectFromIndex(Rect rect, int index) → void

Operators

operator ==(Object other) bool
The equality operator.
inherited