Barotrauma Client Doc
Barotrauma.CheckReputationAction Class Reference
Inheritance diagram for Barotrauma.CheckReputationAction:
Barotrauma.CheckDataAction Barotrauma.BinaryOptionAction Barotrauma.EventAction

Public Member Functions

 CheckReputationAction (ScriptedEvent parentEvent, ContentXElement element)
 
override string ToDebugString ()
 Rich test to display in debugdraw More...
 
- Public Member Functions inherited from Barotrauma.CheckDataAction
 CheckDataAction (ScriptedEvent parentEvent, ContentXElement element)
 
 CheckDataAction (ContentXElement element, string parentDebugString)
 
bool GetSuccess ()
 
- Public Member Functions inherited from Barotrauma.BinaryOptionAction
 BinaryOptionAction (ScriptedEvent parentEvent, ContentXElement element)
 
override IEnumerable< EventActionGetSubActions ()
 
override bool IsFinished (ref string goTo)
 Has the action finished. More...
 
override bool SetGoToTarget (string goTo)
 
override void Reset ()
 
override void Update (float deltaTime)
 
- Public Member Functions inherited from Barotrauma.EventAction
 EventAction (ScriptedEvent parentEvent, ContentXElement element)
 
virtual bool CanBeFinished ()
 

Protected Member Functions

override float GetFloat (CampaignMode campaignMode)
 
override bool GetBool (CampaignMode campaignMode)
 
- Protected Member Functions inherited from Barotrauma.CheckDataAction
override? bool DetermineSuccess ()
 
- Protected Member Functions inherited from Barotrauma.BinaryOptionAction
bool DetermineFinished ()
 
bool DetermineFinished (ref string goTo)
 
bool HasBeenDetermined ()
 
- Protected Member Functions inherited from Barotrauma.EventAction
void ApplyTagsToHulls (Entity entity, Identifier hullTag, Identifier linkedHullTag)
 

Properties

ReputationAction.ReputationType TargetType [get, set]
 
- Properties inherited from Barotrauma.CheckDataAction
Identifier Identifier = Identifier.Empty [get, set]
 
string Condition = "" [get, set]
 
bool ForceString [get, set]
 
bool CheckAgainstMetadata [get, set]
 
PropertyConditional.ComparisonOperatorType Operator [get, set]
 

Additional Inherited Members

- Static Public Member Functions inherited from Barotrauma.EventAction
static EventAction Instantiate (ScriptedEvent scriptedEvent, ContentXElement element)
 
- Public Attributes inherited from Barotrauma.BinaryOptionAction
SubactionGroup Success = null
 
SubactionGroup Failure = null
 
- Public Attributes inherited from Barotrauma.EventAction
readonly ScriptedEvent ParentEvent
 
- Protected Attributes inherited from Barotrauma.CheckDataAction
object? value2
 
object? value1
 
- Protected Attributes inherited from Barotrauma.BinaryOptionAction
bool? succeeded = null
 

Detailed Description

Definition at line 6 of file CheckReputationAction.cs.

Constructor & Destructor Documentation

◆ CheckReputationAction()

Barotrauma.CheckReputationAction.CheckReputationAction ( ScriptedEvent  parentEvent,
ContentXElement  element 
)

Definition at line 11 of file CheckReputationAction.cs.

Member Function Documentation

◆ GetBool()

override bool Barotrauma.CheckReputationAction.GetBool ( CampaignMode  campaignMode)
protectedvirtual

Reimplemented from Barotrauma.CheckDataAction.

Definition at line 41 of file CheckReputationAction.cs.

◆ GetFloat()

override float Barotrauma.CheckReputationAction.GetFloat ( CampaignMode  campaignMode)
protectedvirtual

Reimplemented from Barotrauma.CheckDataAction.

Definition at line 13 of file CheckReputationAction.cs.

◆ ToDebugString()

override string Barotrauma.CheckReputationAction.ToDebugString ( )
virtual

Rich test to display in debugdraw

public override string ToDebugString()
{
return $"{ToolBox.GetDebugSymbol(isFinished)} SomeAction -> "(someInfo: {info.ColorizeObject()})";
}
override string ToDebugString()
Rich test to display in debugdraw
Returns

Reimplemented from Barotrauma.CheckDataAction.

Definition at line 48 of file CheckReputationAction.cs.

Property Documentation

◆ TargetType

ReputationAction.ReputationType Barotrauma.CheckReputationAction.TargetType
getset

Definition at line 9 of file CheckReputationAction.cs.