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