Delegate UIParseHandler
Delegate for handling the parsing of JSON data into a widget.
Assembly: Genesis.dll
Syntax
public delegate Widget UIParseHandler(JObject data, AssetManager assets)
Parameters
Type |
Name |
Description |
JObject |
data |
JSON data containing the widget configuration.
|
AssetManager |
assets |
Asset manager for managing resources such as textures, fonts, etc.
|
Returns
Type |
Description |
Widget |
The parsed widget based on the JSON data.
|
Constructors
UIParseHandler(object, IntPtr)
Declaration
public UIParseHandler(object @object, IntPtr method)
Parameters
Methods
BeginInvoke(JObject, AssetManager, AsyncCallback, object)
Declaration
public virtual IAsyncResult BeginInvoke(JObject data, AssetManager assets, AsyncCallback callback, object @object)
Parameters
Returns
EndInvoke(IAsyncResult)
Declaration
public virtual Widget EndInvoke(IAsyncResult result)
Parameters
Returns
Invoke(JObject, AssetManager)
Declaration
public virtual Widget Invoke(JObject data, AssetManager assets)
Parameters
Returns