Client LuaCsForBarotrauma
ShipIssueWorkerItem.cs
2 
3 namespace Barotrauma
4 {
6  {
8 
9  protected override bool IsIssueViable()
10  {
11  if (TargetItemComponent == null)
12  {
13  DebugConsole.ThrowError("TargetItemComponent was null in " + this);
14  return false;
15  }
16 
17  if (TargetItem == null)
18  {
19  DebugConsole.ThrowError("TargetItem was null in " + this);
20  return false;
21  }
22 
23  return true;
24  }
25  }
26 }
ItemComponent TargetItemComponent
readonly ShipCommandManager shipCommandManager
ShipIssueWorkerItem(ShipCommandManager shipCommandManager, Order order)