Constructor

new (maxPlayers:Int, address:String, port:Int)

Variables

Methods

addController (controller:Controller):Void

addEntity (entity:Entity):Void

receive (bytes:Bytes, ?client:Client):Void

sendControllerUpdate (id:Int, bytes:Bytes):Void

sendToServer (bytes:Bytes):Void

update ():Void

waitForStart (callback:Void ‑> Void, refuseCallback:Void ‑> Void, errorCallback:Void ‑> Void, closeCallback:Void ‑> Void, resCallback:Void ‑> Void):Void

Static variables

staticinline read onlyCONTROLLER_UPDATES:Int

staticinline read onlyENTITY_UPDATES:Int

staticinline read onlyERROR:Int

staticinline read onlyPING:Int

staticinline read onlyPLAYER_UPDATES:Int

staticinline read onlyREMOTE_CALL:Int

staticinline read onlyRPC_ALL:Int

staticinline read onlyRPC_SERVER:Int

staticinline read onlySTART:Int

Static methods

staticthe ():Session