Difference between revisions of "UI Script Handlers"
(Documentation for the UI Script Handlers class) |
(Documentation for the UI Script Handlers class) |
||
Line 3: | Line 3: | ||
{{:UI Script Handlers Remarks}} | {{:UI Script Handlers Remarks}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
===IJavaScriptCallbackContext=== | ===IJavaScriptCallbackContext=== | ||
:* Full Article: [[IJavaScriptCallbackContext]] | :* Full Article: [[IJavaScriptCallbackContext]] | ||
Line 21: | Line 15: | ||
Represents a Layer One UI script handle. | Represents a Layer One UI script handle. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
===ScriptHandler=== | ===ScriptHandler=== | ||
:* Full Article: [[ScriptHandler]] | :* Full Article: [[ScriptHandler]] | ||
Line 34: | Line 22: | ||
:* Full Article: [[UIScriptHandlerAttribute]] | :* Full Article: [[UIScriptHandlerAttribute]] | ||
Marks a class as a UI Script Handler | Marks a class as a UI Script Handler | ||
− | |||
− | |||
− |
Revision as of 11:41, 22 October 2016
Contents
UI Script Handlers
Remarks [edit]
Some types to help implement UI script callback handlers. These handlers form the server side of UI Scripts.
IJavaScriptCallbackContext
- Full Article: 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
- Full Article: IUIScript
All Component UI Script handlers must implement this interface, provide a constructor that takes an IUIScriptHandle, and should have a UIScriptHandlerAttribute applied
IUIScriptHandle
- Full Article: IUIScriptHandle
Represents a Layer One UI script handle.
ScriptHandler
- Full Article: ScriptHandler
Provides a default implementation of IUIScript which you can derive from
UIScriptHandlerAttribute
- Full Article: UIScriptHandlerAttribute
Marks a class as a UI Script Handler