Class AssetLocationAndSource
- Namespace
- Vintagestory.API.Common
- Assembly
- VintagestoryAPI.dll
Defines a complete path to an assets, including it's domain. Includes an extra Source field for debugging. Open in GitHub
[TypeConverter(typeof(StringAssetLocationConverter))]
public class AssetLocationAndSource : AssetLocation, IComparable<AssetLocation>, IEquatable<AssetLocation>- Inheritance
- 
      
      
      AssetLocationAndSource
- Implements
- Inherited Members
- Extension Methods
Constructors
AssetLocationAndSource(string)
public AssetLocationAndSource(string location)Parameters
- locationstring
AssetLocationAndSource(string, string, string)
[Obsolete("For reduced RAM usage please use newer overloads e.g. AssetLocationAndSource(domain, path, message, sourceDomain, sourcePath)", false)]
public AssetLocationAndSource(string domain, string path, string oldStyleSource)Parameters
AssetLocationAndSource(string, string, string, string, string, int)
public AssetLocationAndSource(string domain, string path, string message, string sourceDomain, string sourcePath, int alternateNo = -1)Parameters
AssetLocationAndSource(string, string, SourceStringComponents)
public AssetLocationAndSource(string domain, string path, SourceStringComponents source)Parameters
- domainstring
- pathstring
- sourceSourceStringComponents
AssetLocationAndSource(AssetLocation)
public AssetLocationAndSource(AssetLocation loc)Parameters
- locAssetLocation
AssetLocationAndSource(AssetLocation, string)
[Obsolete("For reduced RAM usage please use newer overloads e.g. AssetLocationAndSource(loc, message, sourceAssetLoc)", false)]
public AssetLocationAndSource(AssetLocation loc, string oldStyleSource)Parameters
- locAssetLocation
- oldStyleSourcestring
AssetLocationAndSource(AssetLocation, string, AssetLocation, int)
public AssetLocationAndSource(AssetLocation loc, string message, AssetLocation sourceLoc, int alternateNo = -1)Parameters
- locAssetLocation
- messagestring
- sourceLocAssetLocation
- alternateNoint
AssetLocationAndSource(AssetLocation, SourceStringComponents)
public AssetLocationAndSource(AssetLocation loc, SourceStringComponents source)Parameters
- locAssetLocation
- sourceSourceStringComponents
Fields
AddToAllAtlasses
public bool AddToAllAtlassesField Value
Source
The source of a given asset.
public SourceStringComponents SourceField Value
loadedAlready
Used to avoid duplication when loading colormaps and shapes
public volatile int loadedAlready