Table of Contents

Struct TerrainChange

Namespace
Valheim.Testing.Doubles
Assembly
Valheim.Testing.Doubles.dll

One terrain vertex whose compiler state differs from a snapshot: its index, world position and what changed.

public readonly struct TerrainChange

Constructors

TerrainChange(int, float, float, string)

public TerrainChange(int index, float x, float z, string what)

Parameters

index int
x float
z float
what string

Properties

Index

public int Index { get; }

Property Value

int

What

Which of level, smooth, height flag, paint and paint flag changed, as a short list.

public string What { get; }

Property Value

string

X

public float X { get; }

Property Value

float

Z

public float Z { get; }

Property Value

float

Methods

ToString()

public override string ToString()

Returns

string