| Package | com.whirled.contrib.avrg.probe |
| Class | public class ServerDefinitions |
| Property | Defined by | ||
|---|---|---|---|
| _ctrl : AVRServerGameControl | ServerDefinitions | ||
| _funcs : Object | ServerDefinitions | ||
| Method | Defined by | ||
|---|---|---|---|
|
ServerDefinitions(ctrl:AVRServerGameControl)
Creates a new set of server definitions based on a given top-level game control.
| ServerDefinitions | ||
|
dump():void
Print out the RPC versions of all server functions suitable for pasting into client
definitions.
| ServerDefinitions | ||
|
fakeTimeout():void
| ServerDefinitions | ||
|
findByName(name:String):FunctionSpec
Lookup a function by scoped name.
| ServerDefinitions | ||
| Method | Defined by | ||
|---|---|---|---|
|
createGameFuncs():Array
| ServerDefinitions | ||
|
createMiscFuncs():Array
| ServerDefinitions | ||
|
createMobFuncs():Array
| ServerDefinitions | ||
|
createPlayerFuncs():Array
| ServerDefinitions | ||
|
createRoomFuncs():Array
| ServerDefinitions | ||
|
pushPropsFuncs(funcs:Array, targetName:String, instanceGetter:Function):void
| ServerDefinitions | ||
| Constant | Defined by | ||
|---|---|---|---|
| GAME_EVENTS : Array [static] Events that apply to a GameSubControlServer.
| ServerDefinitions | ||
| NET_EVENTS : Array [static] Events that apply to a property space (.props member).
| ServerDefinitions | ||
| PLAYER_EVENTS : Array [static] Events that apply to a PlayerSubControlServer.
| ServerDefinitions | ||
| ROOM_EVENTS : Array [static] Events that apply to a RoomSubControlServer.
| ServerDefinitions | ||
| _ctrl | property |
protected var _ctrl:AVRServerGameControl
| _funcs | property |
protected var _funcs:Object
| ServerDefinitions | () | constructor |
public function ServerDefinitions(ctrl:AVRServerGameControl)Creates a new set of server definitions based on a given top-level game control.
Parametersctrl:AVRServerGameControl |
| createGameFuncs | () | method |
protected function createGameFuncs():Array
Returns
Array |
| createMiscFuncs | () | method |
protected function createMiscFuncs():Array
Returns
Array |
| createMobFuncs | () | method |
protected function createMobFuncs():Array
Returns
Array |
| createPlayerFuncs | () | method |
protected function createPlayerFuncs():Array
Returns
Array |
| createRoomFuncs | () | method |
protected function createRoomFuncs():Array
Returns
Array |
| dump | () | method |
public function dump():voidPrint out the RPC versions of all server functions suitable for pasting into client definitions.
| fakeTimeout | () | method |
public function fakeTimeout():void
| findByName | () | method |
public function findByName(name:String):FunctionSpecLookup a function by scoped name. This is the category followed by a dot followed by the function name. For example, "room.getPlayerIds".
Parametersname:String |
FunctionSpec |
| pushPropsFuncs | () | method |
protected function pushPropsFuncs(funcs:Array, targetName:String, instanceGetter:Function):voidParameters
funcs:Array |
|
targetName:String |
|
instanceGetter:Function |
| GAME_EVENTS | constant |
public static const GAME_EVENTS:ArrayEvents that apply to a GameSubControlServer.
| NET_EVENTS | constant |
public static const NET_EVENTS:ArrayEvents that apply to a property space (.props member).
| PLAYER_EVENTS | constant |
public static const PLAYER_EVENTS:ArrayEvents that apply to a PlayerSubControlServer.
| ROOM_EVENTS | constant |
public static const ROOM_EVENTS:ArrayEvents that apply to a RoomSubControlServer.