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
Code
public string Code
Field Value
DisableWorldInteract
public bool DisableWorldInteract
Field Value
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
OnSet
Called whenever the value of a input field has changed
public OnValueSetDelegate OnSet
Field Value
Padding
public double Padding
Field Value
PosX
public float PosX
Field Value
PosY
public float PosY
Field Value
Rows
public DialogRow[] Rows
Field Value
SizeMultiplier
public double SizeMultiplier
Field Value
Methods
FromBytes(BinaryReader)
Reads the content to the dialog.
public void FromBytes(BinaryReader reader)
Parameters
reader
BinaryReaderThe reader to read from.
ToBytes(BinaryWriter)
Writes the content to the writer.
public void ToBytes(BinaryWriter writer)
Parameters
writer
BinaryWriterThe writer to fill with data.