Client LuaCsForBarotrauma
OrComponent.cs
1
namespace
Barotrauma.Items.Components
2
{
3
sealed
class
OrComponent
:
BooleanOperatorComponent
4
{
5
public
OrComponent
(
Item
item
,
ContentXElement
element)
6
: base(
item
, element) { }
7
8
protected
override
bool
GetOutput
(
int
numTrueInputs) => numTrueInputs > 0;
9
}
10
}
Barotrauma.ContentXElement
Definition:
ContentXElement.cs:13
Barotrauma.Item
Definition:
BarotraumaShared/SharedSource/Items/Item.cs:26
Barotrauma.Items.Components.BooleanOperatorComponent
Definition:
BooleanOperatorComponent.cs:7
Barotrauma.Items.Components.ItemComponent.item
Item item
Definition:
BarotraumaShared/SharedSource/Items/Components/ItemComponent.cs:36
Barotrauma.Items.Components.OrComponent
Definition:
OrComponent.cs:4
Barotrauma.Items.Components.OrComponent.OrComponent
OrComponent(Item item, ContentXElement element)
Definition:
OrComponent.cs:5
Barotrauma.Items.Components.OrComponent.GetOutput
override bool GetOutput(int numTrueInputs)
Barotrauma.Items.Components
Definition:
BarotraumaShared/SharedSource/Items/Components/DockingPort.cs:15
Barotrauma
BarotraumaShared
SharedSource
Items
Components
Signal
BooleanOperatorComponent
OrComponent.cs
Generated by
1.9.1