Client LuaCsForBarotrauma
ShipIssueWorkerItem.cs
1
using
Barotrauma
.
Items
.
Components
;
2
3
namespace
Barotrauma
4
{
5
abstract
class
ShipIssueWorkerItem
:
ShipIssueWorker
6
{
7
public
ShipIssueWorkerItem
(
ShipCommandManager
shipCommandManager
,
Order
order) : base(
shipCommandManager
, order) { }
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
}
Barotrauma.Order
Definition:
Order.cs:476
Barotrauma.ShipCommandManager
Definition:
ShipCommandManager.cs:10
Barotrauma.ShipIssueWorker
Definition:
ShipIssueWorker.cs:8
Barotrauma.ShipIssueWorker.TargetItem
Item TargetItem
Definition:
ShipIssueWorker.cs:32
Barotrauma.ShipIssueWorker.TargetItemComponent
ItemComponent TargetItemComponent
Definition:
ShipIssueWorker.cs:31
Barotrauma.ShipIssueWorker.shipCommandManager
readonly ShipCommandManager shipCommandManager
Definition:
ShipIssueWorker.cs:27
Barotrauma.ShipIssueWorkerItem
Definition:
ShipIssueWorkerItem.cs:6
Barotrauma.ShipIssueWorkerItem.IsIssueViable
override bool IsIssueViable()
Definition:
ShipIssueWorkerItem.cs:9
Barotrauma.ShipIssueWorkerItem.ShipIssueWorkerItem
ShipIssueWorkerItem(ShipCommandManager shipCommandManager, Order order)
Definition:
ShipIssueWorkerItem.cs:7
Barotrauma.Items.Components
Definition:
BarotraumaShared/SharedSource/Items/Components/DockingPort.cs:15
Barotrauma.Items
Definition:
BarotraumaShared/SharedSource/Items/Components/DockingPort.cs:15
Barotrauma
Definition:
AchievementManager.cs:12
Barotrauma
BarotraumaShared
SharedSource
Characters
AI
ShipCommand
ShipIssueWorkerItem.cs
Generated by
1.9.1