Client LuaCsForBarotrauma
|
Public Member Functions | |
Editable () | |
Editable (int minValue, int maxValue) | |
Editable (float minValue, float maxValue, int decimals=1) | |
Public Attributes | |
int | MaxLength = -1 |
Maximum length of the value if the value is a string. Only has an effect is larger than 0. More... | |
int | DecimalCount = 1 |
int | MinValueInt = int.MinValue |
float | MinValueFloat = float.MinValue |
bool | ForceShowPlusMinusButtons |
float | ValueStep |
bool | TransferToSwappedItem |
Should the value customized in the editor be applied to the new item swapped in place of this item. Used e.g. for transferring the auto operate properties from one turret to another installed on place of it. More... | |
string[] | VectorComponentLabels |
Labels of the components of a vector property (defaults to x,y,z,w) More... | |
string | FallBackTextTag |
If a translation can't be found for the property name, this tag is used instead More... | |
bool | ReadOnly |
Currently implemented only for int and bool fields. TODO: implement the remaining types (SerializableEntityEditor) More... | |
Definition at line 6 of file Editable.cs.
Editable.Editable | ( | ) |
Definition at line 40 of file Editable.cs.
Editable.Editable | ( | int | minValue, |
int | maxValue | ||
) |
Definition at line 44 of file Editable.cs.
Editable.Editable | ( | float | minValue, |
float | maxValue, | ||
int | decimals = 1 |
||
) |
Definition at line 50 of file Editable.cs.
int Editable.DecimalCount = 1 |
Definition at line 12 of file Editable.cs.
string Editable.FallBackTextTag |
If a translation can't be found for the property name, this tag is used instead
Definition at line 33 of file Editable.cs.
bool Editable.ForceShowPlusMinusButtons |
Definition at line 16 of file Editable.cs.
int Editable.MaxLength = -1 |
Maximum length of the value if the value is a string. Only has an effect is larger than 0.
Definition at line 11 of file Editable.cs.
float Editable.MinValueFloat = float.MinValue |
Definition at line 15 of file Editable.cs.
int Editable.MinValueInt = int.MinValue |
Definition at line 14 of file Editable.cs.
bool Editable.ReadOnly |
Currently implemented only for int and bool fields. TODO: implement the remaining types (SerializableEntityEditor)
Definition at line 38 of file Editable.cs.
bool Editable.TransferToSwappedItem |
Should the value customized in the editor be applied to the new item swapped in place of this item. Used e.g. for transferring the auto operate properties from one turret to another installed on place of it.
Definition at line 23 of file Editable.cs.
float Editable.ValueStep |
Definition at line 17 of file Editable.cs.
string [] Editable.VectorComponentLabels |
Labels of the components of a vector property (defaults to x,y,z,w)
Definition at line 28 of file Editable.cs.