ScriptHandler

From Virtual World Web Wiki
Jump to: navigation, search

Provides a default implementation of IUIScript which you can derive from

Remarks [edit]

Properties

IUIScriptHandle ScriptHandle {get;}

Methods

void Callback(IJavaScriptCallbackContext context)
Called if the client sends a script message and it cannot be mapped on to your handler's methods via reflection
See also: IJavaScriptCallbackContext
void Initialize(JavaScriptContext context, object[] args)
Called once when an instance of your script handler is created
void Recover()
Called once after a user has switched servers