JavaScript required
We’re sorry, but Coda doesn’t work properly without JavaScript enabled.
Skip to content
Gallery
Bannerlord Wiki
Bannerlord Wiki
Type
Global Tables
Campaign
More
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 (
Ctrl
P
) instead.