TUILiveBattleObserver class
Constructors
- TUILiveBattleObserver({OnBattleStarted? onBattleStarted, OnBattleEnded? onBattleEnded, OnUserJoinBattle? onUserJoinBattle, OnUserExitBattle? onUserExitBattle, OnBattleScoreChanged? onBattleScoreChanged, OnBattleRequestReceived? onBattleRequestReceived, OnBattleRequestCancelled? onBattleRequestCancelled, OnBattleRequestTimeout? onBattleRequestTimeout, OnBattleRequestAccept? onBattleRequestAccept, OnBattleRequestReject? onBattleRequestReject})
Properties
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- onBattleEnded ↔ OnBattleEnded
- 
  Callback for received tht battle end.
  getter/setter pair
- onBattleRequestAccept ↔ OnBattleRequestAccept
- 
  Callback for accepted the battle invitation
  getter/setter pair
- onBattleRequestCancelled ↔ OnBattleRequestCancelled
- 
  Callback for canceled the connection invitation
  getter/setter pair
- onBattleRequestReceived ↔ OnBattleRequestReceived
- 
  Callback for received the battle invitation
  getter/setter pair
- onBattleRequestReject ↔ OnBattleRequestReject
- 
  Callback for rejected the battle invitation
  getter/setter pair
- onBattleRequestTimeout ↔ OnBattleRequestTimeout
- 
  Callback for timeout the battle invitation
  getter/setter pair
- onBattleScoreChanged ↔ OnBattleScoreChanged
- 
  Callback for received score update notification of battle user.
  getter/setter pair
- onBattleStarted ↔ OnBattleStarted
- 
  Callback for received the battle start.
  getter/setter pair
- onUserExitBattle ↔ OnUserExitBattle
- 
  Callback for received user notification of exited the battle.
  getter/setter pair
- onUserJoinBattle ↔ OnUserJoinBattle
- 
  Callback for received user notification of joined the battle.
  getter/setter pair
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
Methods
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited