new (maxPlayers:Int, address:String, port:Int)
currentPlayers:Int = 0
maxPlayers:Int
read onlyme:Client
network:Network
ping:Float = 1
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
staticinline read onlyCONTROLLER_UPDATES:Int = 2
staticinline read onlyENTITY_UPDATES:Int = 1
staticinline read onlyPING:Int = 4
staticinline read onlyPLAYER_UPDATES:Int = 6
staticinline read onlyREMOTE_CALL:Int = 3
staticinline read onlyRPC_ALL:Int = 1
staticinline read onlyRPC_SERVER:Int = 0
staticinline read onlySESSION_ERROR:Int = 5
staticinline read onlySTART:Int = 0
staticthe ():Session