M&B: Bannerlord 1.2.7
The horns sound, the ravens gather.
|
Public Member Functions | |
void | Destroy () |
void | RegisterType< T > (string classPrefix, string classListPrefix, uint typeId, bool autoCreateInstance=true, bool isTemporary=false) |
bool | HasType (Type type) |
string | FindRegisteredClassPrefix (Type type) |
Type | FindRegisteredType (string classPrefix) |
T | RegisterObject< T > (T obj) |
T | RegisterPresumedObject< T > (T obj) |
void | UnregisterObject (MBObjectBase obj) |
T | GetObject< T > (Func< T, bool > predicate) |
T | GetObject< T > (string objectName) |
T | GetFirstObject< T > () |
bool | ContainsObject< T > (string objectName) |
void | RemoveTemporaryTypes () |
void | PreAfterLoad () |
void | AfterLoad () |
MBObjectBase | GetObject (MBGUID objectId) |
MBObjectBase | GetObject (string typeName, string objectName) |
MBReadOnlyList< T > | GetObjectTypeList< T > () |
IList< MBObjectBase > | CreateObjectTypeList (Type objectClassType) |
void | LoadXML (string id, bool isDevelopment, string gameType, bool skipXmlFilterForEditor=false) |
void | LoadOneXmlFromFile (string xmlPath, string xsdPath, bool skipValidation=false) |
XmlDocument | LoadXMLFromFileSkipValidation (string xmlPath, string xsdPath) |
void | LoadXml (XmlDocument doc, bool isDevelopment=false) |
MBObjectBase | CreateObjectFromXmlNode (XmlNode node) |
MBObjectBase | CreateObjectWithoutDeserialize (XmlNode node) |
void | UnregisterNonReadyObjects () |
Do not call LoadXMLFromFile method after clear operation. | |
void | ClearAllObjects () |
void | ClearAllObjectsWithType (Type type) |
T | ReadObjectReferenceFromXml< T > (string attributeName, XmlNode node) |
MBObjectBase | ReadObjectReferenceFromXml (string attributeName, Type objectType, XmlNode node) |
T | CreateObject< T > (string stringId) |
T | CreateObject< T > () |
void | DebugPrint (PrintOutputDelegate printOutput) |
void | AddHandler (IObjectManagerHandler handler) |
void | RemoveHandler (IObjectManagerHandler handler) |
string | DebugDump () |
Debugs the dump. | |
void | ReInitialize () |
string | GetObjectTypeIds () |
Static Public Member Functions | |
static MBObjectManager | Init () |
static XmlDocument | GetMergedXmlForManaged (string id, bool skipValidation, bool ignoreGameTypeInclusionCheck=true, string gameType="") |
static XmlDocument | GetMergedXmlForNative (string id, out List< string > usedPaths) |
static XmlDocument | CreateMergedXmlFile (List< Tuple< string, string > > toBeMerged, List< string > xsltList, bool skipValidation) |
static XmlDocument | ApplyXslt (string xsltPath, XmlDocument baseDocument) |
static XmlDocument | MergeTwoXmls (XmlDocument xmlDocument1, XmlDocument xmlDocument2) |
static XDocument | ToXDocument (XmlDocument xmlDocument) |
static XmlDocument | ToXmlDocument (XDocument xDocument) |
Properties | |
static MBObjectManager | Instance [get] |
int | NumRegisteredTypes [get] |
int | MaxRegisteredTypes [get] |
|
static |
void TaleWorlds.ObjectSystem.MBObjectManager.Destroy | ( | ) |
void TaleWorlds.ObjectSystem.MBObjectManager.RegisterType< T > | ( | string | classPrefix, |
string | classListPrefix, | ||
uint | typeId, | ||
bool | autoCreateInstance = true , |
||
bool | isTemporary = false |
||
) |
T | : | MBObjectBase |
bool TaleWorlds.ObjectSystem.MBObjectManager.HasType | ( | Type | type | ) |
string TaleWorlds.ObjectSystem.MBObjectManager.FindRegisteredClassPrefix | ( | Type | type | ) |
Type TaleWorlds.ObjectSystem.MBObjectManager.FindRegisteredType | ( | string | classPrefix | ) |
T TaleWorlds.ObjectSystem.MBObjectManager.RegisterObject< T > | ( | T | obj | ) |
T | : | MBObjectBase |
T TaleWorlds.ObjectSystem.MBObjectManager.RegisterPresumedObject< T > | ( | T | obj | ) |
T | : | MBObjectBase |
void TaleWorlds.ObjectSystem.MBObjectManager.UnregisterObject | ( | MBObjectBase | obj | ) |
T TaleWorlds.ObjectSystem.MBObjectManager.GetObject< T > | ( | Func< T, bool > | predicate | ) |
T | : | MBObjectBase |
T TaleWorlds.ObjectSystem.MBObjectManager.GetObject< T > | ( | string | objectName | ) |
T | : | MBObjectBase |
T TaleWorlds.ObjectSystem.MBObjectManager.GetFirstObject< T > | ( | ) |
T | : | MBObjectBase |
bool TaleWorlds.ObjectSystem.MBObjectManager.ContainsObject< T > | ( | string | objectName | ) |
T | : | MBObjectBase |
void TaleWorlds.ObjectSystem.MBObjectManager.RemoveTemporaryTypes | ( | ) |
void TaleWorlds.ObjectSystem.MBObjectManager.PreAfterLoad | ( | ) |
void TaleWorlds.ObjectSystem.MBObjectManager.AfterLoad | ( | ) |
MBObjectBase TaleWorlds.ObjectSystem.MBObjectManager.GetObject | ( | MBGUID | objectId | ) |
MBObjectBase TaleWorlds.ObjectSystem.MBObjectManager.GetObject | ( | string | typeName, |
string | objectName | ||
) |
MBReadOnlyList< T > TaleWorlds.ObjectSystem.MBObjectManager.GetObjectTypeList< T > | ( | ) |
T | : | MBObjectBase |
IList< MBObjectBase > TaleWorlds.ObjectSystem.MBObjectManager.CreateObjectTypeList | ( | Type | objectClassType | ) |
void TaleWorlds.ObjectSystem.MBObjectManager.LoadXML | ( | string | id, |
bool | isDevelopment, | ||
string | gameType, | ||
bool | skipXmlFilterForEditor = false |
||
) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
void TaleWorlds.ObjectSystem.MBObjectManager.LoadOneXmlFromFile | ( | string | xmlPath, |
string | xsdPath, | ||
bool | skipValidation = false |
||
) |
XmlDocument TaleWorlds.ObjectSystem.MBObjectManager.LoadXMLFromFileSkipValidation | ( | string | xmlPath, |
string | xsdPath | ||
) |
void TaleWorlds.ObjectSystem.MBObjectManager.LoadXml | ( | XmlDocument | doc, |
bool | isDevelopment = false |
||
) |
MBObjectBase TaleWorlds.ObjectSystem.MBObjectManager.CreateObjectFromXmlNode | ( | XmlNode | node | ) |
MBObjectBase TaleWorlds.ObjectSystem.MBObjectManager.CreateObjectWithoutDeserialize | ( | XmlNode | node | ) |
void TaleWorlds.ObjectSystem.MBObjectManager.UnregisterNonReadyObjects | ( | ) |
void TaleWorlds.ObjectSystem.MBObjectManager.ClearAllObjects | ( | ) |
void TaleWorlds.ObjectSystem.MBObjectManager.ClearAllObjectsWithType | ( | Type | type | ) |
T TaleWorlds.ObjectSystem.MBObjectManager.ReadObjectReferenceFromXml< T > | ( | string | attributeName, |
XmlNode | node | ||
) |
T | : | MBObjectBase |
MBObjectBase TaleWorlds.ObjectSystem.MBObjectManager.ReadObjectReferenceFromXml | ( | string | attributeName, |
Type | objectType, | ||
XmlNode | node | ||
) |
T TaleWorlds.ObjectSystem.MBObjectManager.CreateObject< T > | ( | string | stringId | ) |
T | : | MBObjectBase | |
T | : | new() |
T TaleWorlds.ObjectSystem.MBObjectManager.CreateObject< T > | ( | ) |
T | : | MBObjectBase | |
T | : | new() |
void TaleWorlds.ObjectSystem.MBObjectManager.DebugPrint | ( | PrintOutputDelegate | printOutput | ) |
void TaleWorlds.ObjectSystem.MBObjectManager.AddHandler | ( | IObjectManagerHandler | handler | ) |
void TaleWorlds.ObjectSystem.MBObjectManager.RemoveHandler | ( | IObjectManagerHandler | handler | ) |
string TaleWorlds.ObjectSystem.MBObjectManager.DebugDump | ( | ) |
void TaleWorlds.ObjectSystem.MBObjectManager.ReInitialize | ( | ) |
string TaleWorlds.ObjectSystem.MBObjectManager.GetObjectTypeIds | ( | ) |
|
staticget |
|
get |
|
get |