Struct SourceStringComponents
- Namespace
- Vintagestory.API.Common
- Assembly
- VintagestoryAPI.dll
For performance, don't build and store new concatenated strings for every block variant, item and entity, when these will only be used (if ever) for error logging
public struct SourceStringComponents
- Inherited Members
- Extension Methods
Constructors
SourceStringComponents(string, params object[])
public SourceStringComponents(string formattedString, params object[] arguments)
Parameters
SourceStringComponents(string, string, string, int)
Store references to the source strings, to be able to build a logging string later if necessary
public SourceStringComponents(string message, string sourceDomain, string sourcePath, int sourceAlt)
Parameters
SourceStringComponents(string, AssetLocation, int)
public SourceStringComponents(string message, AssetLocation source, int sourceAlt = -1)
Parameters
message
stringsource
AssetLocationsourceAlt
int
Methods
ToString()
Returns the fully qualified type name of this instance.
public override string ToString()
Returns
- string
The fully qualified type name.