Table of Contents

Class AssetSchemaGenerator

Namespace
Vintagestory.API.Common
Assembly
VintagestoryAPI.dll

JSON schema generator for polymorphic asset definitions. Open in GitHub

public class AssetSchemaGenerator
Inheritance
AssetSchemaGenerator
Inherited Members
Extension Methods

Constructors

AssetSchemaGenerator(Type, Type)

JSON schema generator for polymorphic asset definitions.

public AssetSchemaGenerator(Type assetInterface, Type variantType)

Parameters

assetInterface Type
variantType Type

Methods

Generate()

public JObject Generate()

Returns

JObject