Skip to content
Bannerlord Wiki
Share
Explore
Managers

MBObjectManager

Description
this manager is responsible for loading and instantiating objects.
Get Settlement Object
MBObjectManager.Instance.GetObject<Settlement>("settlement_stringid")
/link
MBObjectManager Methods
7
Search
LoadOneXmlFromFile
Calls CreateDocumentFromXmlFile()
CreateDocumentFromXmlFile()
Creates an XMLDocument type from an xmlPath
Name
LoadOneXmlFromFile
Parameters
Search
Type
Parameters
Column 2
bool
1
q
string
2
xmlPath
xsdPath
Group 1
1
LoadResult
0
Class
MBObjectManager
Behavior
Calls
@CreateDocumentFromXmlFile()

Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.