Class WidgetFactory
- Namespace
- TaleWorlds.GauntletUI.PrefabSystem
- Assembly
- TaleWorlds.GauntletUI.PrefabSystem.dll
public class WidgetFactory
- Inheritance
-
WidgetFactory
- Inherited Members
Constructors
WidgetFactory(ResourceDepot, string)
public WidgetFactory(ResourceDepot resourceDepot, string resourceFolder)
Parameters
resourceDepot
ResourceDepotresourceFolder
string
Properties
GeneratedPrefabContext
public GeneratedPrefabContext GeneratedPrefabContext { get; }
Property Value
PrefabExtensionContext
public PrefabExtensionContext PrefabExtensionContext { get; }
Property Value
WidgetAttributeContext
public WidgetAttributeContext WidgetAttributeContext { get; }
Property Value
Methods
AddCustomType(string, string)
public void AddCustomType(string name, string path)
Parameters
CheckForUpdates()
public void CheckForUpdates()
CreateBuiltinWidget(UIContext, string)
public Widget CreateBuiltinWidget(UIContext context, string typeName)
Parameters
Returns
GetBuiltinType(string)
public Type GetBuiltinType(string name)
Parameters
name
string
Returns
GetCustomType(string)
public WidgetPrefab GetCustomType(string typeName)
Parameters
typeName
string
Returns
GetCustomTypePath(string)
public string GetCustomTypePath(string name)
Parameters
name
string
Returns
GetPrefabNames()
public IEnumerable<string> GetPrefabNames()
Returns
GetWidgetTypes()
public IEnumerable<string> GetWidgetTypes()
Returns
Initialize(List<string>)
public void Initialize(List<string> assemblyOrder = null)
Parameters
IsBuiltinType(string)
public bool IsBuiltinType(string name)
Parameters
name
string
Returns
IsCustomType(string)
public bool IsCustomType(string typeName)
Parameters
typeName
string
Returns
OnUnload(string)
public void OnUnload(string typeName)
Parameters
typeName
string
Events
PrefabChange
public event Action PrefabChange
Event Type
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).