M&B: Bannerlord 1.2.9
The horns sound, the ravens gather.
|
Public Member Functions | |
ResourceDepot () | |
void | AddLocation (string basePath, string location) |
void | CollectResources () |
string[] | GetFiles (string subDirectory, string extension, bool excludeSubContents=false) |
Returns all files under subDirectory, with extension. if exludeSubContents = true will only return files in subDirectory. | |
string | GetFilePath (string file) |
IEnumerable< string > | GetFilesEndingWith (string fileEndName) |
Returns full paths of all files' names ending with fileEndName. | |
void | StartWatchingChangesInDepot () |
void | StopWatchingChangesInDepot () |
void | CheckForChanges () |
Properties | |
MBReadOnlyList< ResourceDepotLocation > | ResourceLocations [get] |
Events | |
ResourceChangeEvent | OnResourceChange |
TaleWorlds.Library.ResourceDepot.ResourceDepot | ( | ) |
void TaleWorlds.Library.ResourceDepot.AddLocation | ( | string | basePath, |
string | location ) |
void TaleWorlds.Library.ResourceDepot.CollectResources | ( | ) |
string[] TaleWorlds.Library.ResourceDepot.GetFiles | ( | string | subDirectory, |
string | extension, | ||
bool | excludeSubContents = false ) |
string TaleWorlds.Library.ResourceDepot.GetFilePath | ( | string | file | ) |
IEnumerable< string > TaleWorlds.Library.ResourceDepot.GetFilesEndingWith | ( | string | fileEndName | ) |
void TaleWorlds.Library.ResourceDepot.StartWatchingChangesInDepot | ( | ) |
void TaleWorlds.Library.ResourceDepot.StopWatchingChangesInDepot | ( | ) |
void TaleWorlds.Library.ResourceDepot.CheckForChanges | ( | ) |
|
get |
ResourceChangeEvent TaleWorlds.Library.ResourceDepot.OnResourceChange |