UI Script Handlers
From Virtual World Web Wiki
Revision as of 17:45, 16 October 2016 by Spark5 (Talk | contribs) (Documentation for the UI Script Handlers class)
Contents
UI Script Handlers
IJavaScriptCallbackContext
- See Also: IJavaScriptCallbackContext
- When a message is received from a connected client UI script, this context is passed to your handler's Callback method if the reflection based proxy system isn't able to automatically map the message to one of your handler methods. It represents a deserialized JSON message with the properties of the root object exposed as a collection.
IUIScript
- See Also: IUIScript
- All Component UI Script handlers must implement this interface, provide a constructor that takes an IUIScriptHandle, and should have a UIScriptHandlerAttribute applied
IUIScriptHandle
- See Also: IUIScriptHandle
- Represents a Layer One UI script handle.
ScriptHandler
- See Also: ScriptHandler
- Provides a default implementation of IUIScript which you can derive from
UIScriptHandlerAttribute
- See Also: UIScriptHandlerAttribute
- Marks a class as a UI Script Handler