IUIScript
From Virtual World Web Wiki
All Component UI Script handlers must implement this interface, provide a constructor that takes an IUIScriptHandle, and should have a UIScriptHandlerAttribute applied
Remarks [edit]
Properties
- IUIScriptHandle ScriptHandle {get;}
- The server's script handle. Allows direct communication with the client over this script channel.
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