Class: PluginBuildContext

PluginBuildContext

Object passed to the Build method of plugins to register to the available Stormancer client events.

Constructor

new PluginBuildContext()

Initializes a new instance of the PluginBuildContext class.

Source:

Members

clientCreated :Array.<function()>

Event fired when a client object is created. That's an array of functions which are called and have the scene instance as first parameter.

Type:
  • Array.<function()>
Source:

packetReceived :Array.<function()>

Event fired when a packet is received from a remote peer. That's an array of functions which are called and have the scene instance as first parameter.

Type:
  • Array.<function()>
Source:

sceneConnected :Array.<function()>

Event fired when a a scene is connected to the server. That's an array of functions which are called and have the scene instance as first parameter.

Type:
  • Array.<function()>
Source:

sceneCreated :Array.<function()>

Event fired when a scene object is created. That's an array of functions which are called and have the scene instance as first parameter.

Type:
  • Array.<function()>
Source:

sceneDisconnected :Array.<function()>

Event fired when a scene is disconnected. That's an array of functions which are called and have the scene instance as first parameter.

Type:
  • Array.<function()>
Source: