Package | com.whirled |
Class | public class AbstractSubControl |
Inheritance | AbstractSubControl ![]() ![]() |
Subclasses | AgentSubControl, BagsSubControl, GameSubControl, GameSubControlBase, LocalSubControl, LocalSubControl, MobSubControlBase, NetSubControl, PlayerSubControl, SeatingSubControl, ServicesSubControl, TargetedSubControl |
Method | Defined by | ||
---|---|---|---|
![]() |
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener.
| AbstractControl | |
doBatch(fn:Function, ... args):void
Execute the specified function as a batch of commands that will be sent to the server
together.
| AbstractSubControl | ||
isConnected():Boolean
Are we connected and running inside the whirled environment, or has someone just
loaded up our SWF by itself?
| AbstractSubControl | ||
![]() |
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Unregisters an event listener.
| AbstractControl |
doBatch | () | method |
public override function doBatch(fn:Function, ... args):void
Execute the specified function as a batch of commands that will be sent to the server together. Messages can be sent no faster than a rate of 10 per second. Using doBatch groups a number of set or sendMessage operations so that they are treated as a single unit towards this limit. For best performance, it should be used whenever a number of values are being set at once.
Parametersfn:Function |
|
... args |
isConnected | () | method |
public override function isConnected():Boolean
Are we connected and running inside the whirled environment, or has someone just loaded up our SWF by itself?
ReturnsBoolean |