Table of Contents

Class JsonDialogSettings

Namespace
Vintagestory.API.Client
Assembly
VintagestoryAPI.dll
public class JsonDialogSettings
Inheritance
JsonDialogSettings
Inherited Members
Extension Methods

Fields

Alignment

public EnumDialogArea Alignment

Field Value

EnumDialogArea

Code

public string Code

Field Value

string

DisableWorldInteract

public bool DisableWorldInteract

Field Value

bool

OnGet

Called when the dialog is opened the first time or when dialog.ReloadValues() is called. Should return the values the input fields should be set to

public OnValueGetDelegate OnGet

Field Value

OnValueGetDelegate

OnSet

Called whenever the value of a input field has changed

public OnValueSetDelegate OnSet

Field Value

OnValueSetDelegate

Padding

public double Padding

Field Value

double

PosX

public float PosX

Field Value

float

PosY

public float PosY

Field Value

float

Rows

public DialogRow[] Rows

Field Value

DialogRow[]

SizeMultiplier

public double SizeMultiplier

Field Value

double

Methods

FromBytes(BinaryReader)

Reads the content to the dialog.

public void FromBytes(BinaryReader reader)

Parameters

reader BinaryReader

The reader to read from.

ToBytes(BinaryWriter)

Writes the content to the writer.

public void ToBytes(BinaryWriter writer)

Parameters

writer BinaryWriter

The writer to fill with data.