Table of Contents

Class AssetLinkYamlConverter

Namespace
Uncreated.Warfare.Configuration
Assembly
Uncreated.Warfare.dll
public class AssetLinkYamlConverter : IYamlTypeConverter
Inheritance
AssetLinkYamlConverter
Implements
IYamlTypeConverter
Inherited Members

Methods

Accepts(Type)

Gets a value indicating whether the current converter supports converting the specified type.

public bool Accepts(Type type)

Parameters

type Type

Returns

bool

ReadYaml(IParser, Type, ObjectDeserializer)

Reads an object's state from a YAML parser.

public object? ReadYaml(IParser parser, Type type, ObjectDeserializer rootDeserializer)

Parameters

parser IParser
type Type
rootDeserializer ObjectDeserializer

Returns

object

WriteYaml(IEmitter, object?, Type, ObjectSerializer)

Writes the specified object's state to a YAML emitter.

public void WriteYaml(IEmitter emitter, object? value, Type type, ObjectSerializer serializer)

Parameters

emitter IEmitter
value object
type Type
serializer ObjectSerializer