Table of Contents

Class AnimationSound

Namespace
Vintagestory.API.Common
Assembly
VintagestoryAPI.dll
[DocumentAsJson]
public class AnimationSound
Inheritance
AnimationSound
Inherited Members
Extension Methods

Fields

Attributes

[JsonIgnore]
public SoundAttributes Attributes

Field Value

SoundAttributes

Chance

public float Chance

Field Value

float

Frame

public int Frame

Field Value

int

Looping

public bool Looping

Field Value

bool

Methods

Clone()

public AnimationSound Clone()

Returns

AnimationSound

CreateFromBytes(BinaryReader, string)

public static AnimationSound CreateFromBytes(BinaryReader reader, string version)

Parameters

reader BinaryReader
version string

Returns

AnimationSound

OnDeserialized(StreamingContext)

[OnDeserialized]
protected void OnDeserialized(StreamingContext context)

Parameters

context StreamingContext

ToBytes(BinaryWriter)

public void ToBytes(BinaryWriter writer)

Parameters

writer BinaryWriter