Server LuaCsForBarotrauma
CheckObjectiveAction.cs
1 namespace Barotrauma;
2 
6 partial class CheckObjectiveAction : BinaryOptionAction
7 {
8  public CheckObjectiveAction(ScriptedEvent parentEvent, ContentXElement element) : base(parentEvent, element) { }
9 
10  protected override bool? DetermineSuccess()
11  {
12  bool success = false;
13  DetermineSuccessProjSpecific(ref success);
14  return success;
15  }
16 
17  partial void DetermineSuccessProjSpecific(ref bool success);
18 }
Checks the state of an Objective created using EventObjectiveAction.
CheckObjectiveAction(ScriptedEvent parentEvent, ContentXElement element)
override? bool DetermineSuccess()