Interface IAssetCollection
- Namespace
- Vintagestory.API.Common
- Assembly
- VintagestoryAPI.dll
public interface IAssetCollection
- Extension Methods
-
Methods
GetRegisteredElementTypes()
IEnumerable<Type> GetRegisteredElementTypes()
Returns
- IEnumerable<Type>
GetRegisteredVariantTypes()
IEnumerable<Type> GetRegisteredVariantTypes()
Returns
- IEnumerable<Type>
TryGetElementType(string, out Type)
bool TryGetElementType(string discriminator, out Type type)
Parameters
discriminator string
type Type
Returns
- bool
TryGetVariantType(string, out Type)
bool TryGetVariantType(string discriminator, out Type variantType)
Parameters
discriminator string
variantType Type
Returns
- bool