M&B: Bannerlord 1.1.0
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.GauntletUI.PrefabSystem.WidgetFactory Class Reference

Public Member Functions

 WidgetFactory (ResourceDepot resourceDepot, string resourceFolder)
 
void Initialize (List< string > assemblyOrder=null)
 
void AddCustomType (string name, string path)
 
IEnumerable< string > GetPrefabNames ()
 
IEnumerable< string > GetWidgetTypes ()
 
bool IsBuiltinType (string name)
 
Type GetBuiltinType (string name)
 
bool IsCustomType (string typeName)
 
string GetCustomTypePath (string name)
 
Widget CreateBuiltinWidget (UIContext context, string typeName)
 
WidgetPrefab GetCustomType (string typeName)
 
void OnUnload (string typeName)
 
void CheckForUpdates ()
 

Properties

PrefabExtensionContext PrefabExtensionContext [get]
 
WidgetAttributeContext WidgetAttributeContext [get]
 
GeneratedPrefabContext GeneratedPrefabContext [get]
 

Events

Action PrefabChange
 

Constructor & Destructor Documentation

◆ WidgetFactory()

TaleWorlds.GauntletUI.PrefabSystem.WidgetFactory.WidgetFactory ( ResourceDepot  resourceDepot,
string  resourceFolder 
)

Member Function Documentation

◆ Initialize()

void TaleWorlds.GauntletUI.PrefabSystem.WidgetFactory.Initialize ( List< string >  assemblyOrder = null)

◆ AddCustomType()

void TaleWorlds.GauntletUI.PrefabSystem.WidgetFactory.AddCustomType ( string  name,
string  path 
)

◆ GetPrefabNames()

IEnumerable< string > TaleWorlds.GauntletUI.PrefabSystem.WidgetFactory.GetPrefabNames ( )

◆ GetWidgetTypes()

IEnumerable< string > TaleWorlds.GauntletUI.PrefabSystem.WidgetFactory.GetWidgetTypes ( )

◆ IsBuiltinType()

bool TaleWorlds.GauntletUI.PrefabSystem.WidgetFactory.IsBuiltinType ( string  name)

◆ GetBuiltinType()

Type TaleWorlds.GauntletUI.PrefabSystem.WidgetFactory.GetBuiltinType ( string  name)

◆ IsCustomType()

bool TaleWorlds.GauntletUI.PrefabSystem.WidgetFactory.IsCustomType ( string  typeName)

◆ GetCustomTypePath()

string TaleWorlds.GauntletUI.PrefabSystem.WidgetFactory.GetCustomTypePath ( string  name)

◆ CreateBuiltinWidget()

Widget TaleWorlds.GauntletUI.PrefabSystem.WidgetFactory.CreateBuiltinWidget ( UIContext  context,
string  typeName 
)

◆ GetCustomType()

WidgetPrefab TaleWorlds.GauntletUI.PrefabSystem.WidgetFactory.GetCustomType ( string  typeName)

◆ OnUnload()

void TaleWorlds.GauntletUI.PrefabSystem.WidgetFactory.OnUnload ( string  typeName)

◆ CheckForUpdates()

void TaleWorlds.GauntletUI.PrefabSystem.WidgetFactory.CheckForUpdates ( )

Property Documentation

◆ PrefabExtensionContext

PrefabExtensionContext TaleWorlds.GauntletUI.PrefabSystem.WidgetFactory.PrefabExtensionContext
get

◆ WidgetAttributeContext

WidgetAttributeContext TaleWorlds.GauntletUI.PrefabSystem.WidgetFactory.WidgetAttributeContext
get

◆ GeneratedPrefabContext

GeneratedPrefabContext TaleWorlds.GauntletUI.PrefabSystem.WidgetFactory.GeneratedPrefabContext
get

Event Documentation

◆ PrefabChange

Action TaleWorlds.GauntletUI.PrefabSystem.WidgetFactory.PrefabChange