Skip to content
Bannerlord Wiki
Share
Explore
Tutorials

Loading Files from ResourceDepot

Get All .XML files from Modules/Native/Prefabs
this._depot = new ResourceDepot(BasePath.Name);
this._depot.AddLocation("Modules/Native/Prefabs");
this._depot.CollectResources();
var files = this._depot.GetFiles("",".xml");



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.