Class GuiDialog.DlgComposers
- Namespace
- Vintagestory.API.Client
- Assembly
- VintagestoryAPI.dll
Dialogue Composer for the GUIDialogue.
public class GuiDialog.DlgComposers : IEnumerable<KeyValuePair<string, GuiComposer>>, IEnumerable
- Inheritance
-
GuiDialog.DlgComposers
- Implements
- Inherited Members
- Extension Methods
Constructors
DlgComposers(GuiDialog)
Constructor.
public DlgComposers(GuiDialog dialog)
Parameters
dialog
GuiDialogThe dialogue this composer belongs to.
Fields
dialog
protected GuiDialog dialog
Field Value
dialogComposers
protected OrderedDictionary<string, GuiComposer> dialogComposers
Field Value
Properties
this[string]
Returns the composer for given composer name
public GuiComposer this[string key] { get; set; }
Parameters
key
string
Property Value
Values
Returns all composers as a flat list
public IEnumerable<GuiComposer> Values { get; }
Property Value
Methods
ClearComposers()
Cleans up and clears the composers.
public void ClearComposers()
ContainsKey(string)
Checks to see if the key is located within the given dialogue composer.
public bool ContainsKey(string key)
Parameters
key
stringThe key you are searching for.
Returns
- bool
Do we have your key?
Dispose()
Clean disposal method.
public void Dispose()
Remove(string)
Removes the given key and the corresponding value from the Dialogue Composer.
public void Remove(string key)
Parameters
key
stringThe Key to remove.