Class ResourceDepot
- Namespace
- TaleWorlds.Library
- Assembly
- TaleWorlds.Library.dll
public class ResourceDepot
- Inheritance
-
ResourceDepot
- Inherited Members
Constructors
ResourceDepot()
public ResourceDepot()
Properties
ResourceLocations
public MBReadOnlyList<ResourceDepotLocation> ResourceLocations { get; }
Property Value
Methods
AddLocation(string, string)
public void AddLocation(string basePath, string location)
Parameters
CheckForChanges()
public void CheckForChanges()
CollectResources()
public void CollectResources()
GetFilePath(string)
public string GetFilePath(string file)
Parameters
file
string
Returns
GetFiles(string, string, bool)
public string[] GetFiles(string subDirectory, string extension, bool excludeSubContents = false)
Parameters
Returns
- string[]
GetFilesEndingWith(string)
public IEnumerable<string> GetFilesEndingWith(string fileEndName)
Parameters
fileEndName
string
Returns
StartWatchingChangesInDepot()
public void StartWatchingChangesInDepot()
StopWatchingChangesInDepot()
public void StopWatchingChangesInDepot()
Events
OnResourceChange
public event ResourceChangeEvent OnResourceChange
Event Type
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).