Can be used to check arbitrary campaign metadata set using SetDataAction.
More...
Can be used to check arbitrary campaign metadata set using SetDataAction.
◆ CheckDataAction() [1/2]
Barotrauma.CheckDataAction.CheckDataAction |
( |
ScriptedEvent | parentEvent, |
|
|
ContentXElement | element ) |
◆ CheckDataAction() [2/2]
Barotrauma.CheckDataAction.CheckDataAction |
( |
ContentXElement | element, |
|
|
string | parentDebugString ) |
◆ DetermineSuccess()
override? bool Barotrauma.CheckDataAction.DetermineSuccess |
( |
| ) |
|
|
protected |
◆ GetBool()
virtual bool Barotrauma.CheckDataAction.GetBool |
( |
CampaignMode | campaignMode | ) |
|
|
protectedvirtual |
◆ GetFloat()
virtual float Barotrauma.CheckDataAction.GetFloat |
( |
CampaignMode | campaignMode | ) |
|
|
protectedvirtual |
◆ GetSuccess()
bool Barotrauma.CheckDataAction.GetSuccess |
( |
| ) |
|
◆ ToDebugString()
override string Barotrauma.CheckDataAction.ToDebugString |
( |
| ) |
|
|
virtual |
Rich test to display in debugdraw.
{
return $"{ToolBox.GetDebugSymbol(isFinished)} SomeAction -> "(someInfo: {info.ColorizeObject()})";
}
override string ToDebugString()
Rich test to display in debugdraw.
Definition CheckDataAction.cs:196
- Returns
Reimplemented from Barotrauma.EventAction.
◆ value1
object? Barotrauma.CheckDataAction.value1 |
|
protected |
◆ value2
object? Barotrauma.CheckDataAction.value2 |
|
protected |
◆ CheckAgainstMetadata
bool Barotrauma.CheckDataAction.CheckAgainstMetadata |
|
getset |
◆ Condition
string Barotrauma.CheckDataAction.Condition = "" |
|
getset |
◆ ForceString
bool Barotrauma.CheckDataAction.ForceString |
|
getset |
◆ Identifier
Identifier Barotrauma.CheckDataAction.Identifier = Identifier.Empty |
|
getset |
◆ Operator
The documentation for this class was generated from the following file:
- /home/runner/work/Luatrauma.Docs/Luatrauma.Docs/libs/LuaCsForBarotrauma/Barotrauma/BarotraumaShared/SharedSource/Events/EventActions/CheckDataAction.cs