|
static void | SendSignalIntoConnection (Signal signal, Connection conn) |
|
static void | DrawConnections (SpriteBatch spriteBatch, ConnectionPanel panel, Rectangle dragArea, Character character, out(Vector2 tooltipPos, LocalizedString text) tooltip) |
|
static void | DrawConnectionDebugInfo (SpriteBatch spriteBatch, Connection c, Vector2 position, float scale, out LocalizedString tooltip) |
|
static bool | CheckConnectionLabelOverlap (ConnectionPanel panel, out Point newRectSize) |
|
◆ Connection()
◆ CheckConnectionLabelOverlap()
static bool Barotrauma.Items.Components.Connection.CheckConnectionLabelOverlap |
( |
ConnectionPanel |
panel, |
|
|
out Point |
newRectSize |
|
) |
| |
|
static |
◆ ClearConnections()
void Barotrauma.Items.Components.Connection.ClearConnections |
( |
| ) |
|
◆ ConnectWire()
void Barotrauma.Items.Components.Connection.ConnectWire |
( |
Wire |
wire | ) |
|
◆ DisconnectWire()
void Barotrauma.Items.Components.Connection.DisconnectWire |
( |
Wire |
wire | ) |
|
◆ DrawConnectionDebugInfo()
static void Barotrauma.Items.Components.Connection.DrawConnectionDebugInfo |
( |
SpriteBatch |
spriteBatch, |
|
|
Connection |
c, |
|
|
Vector2 |
position, |
|
|
float |
scale, |
|
|
out LocalizedString |
tooltip |
|
) |
| |
|
static |
◆ DrawConnections()
static void Barotrauma.Items.Components.Connection.DrawConnections |
( |
SpriteBatch |
spriteBatch, |
|
|
ConnectionPanel |
panel, |
|
|
Rectangle |
dragArea, |
|
|
Character |
character, |
|
|
out(Vector2 tooltipPos, LocalizedString text) |
tooltip |
|
) |
| |
|
static |
◆ FindWireByItem()
Wire Barotrauma.Items.Components.Connection.FindWireByItem |
( |
Item |
it | ) |
|
◆ Flash()
void Barotrauma.Items.Components.Connection.Flash |
( |
Color? |
color = null , |
|
|
float |
flashDuration = 1.5f |
|
) |
| |
◆ InitializeFromLoaded()
void Barotrauma.Items.Components.Connection.InitializeFromLoaded |
( |
| ) |
|
◆ IsConnectedToSomething()
bool Barotrauma.Items.Components.Connection.IsConnectedToSomething |
( |
| ) |
|
Checks if the the connection is connected to a wire or a circuit box connection
◆ Save()
void Barotrauma.Items.Components.Connection.Save |
( |
XElement |
parentElement | ) |
|
◆ SendSignal()
void Barotrauma.Items.Components.Connection.SendSignal |
( |
Signal |
signal | ) |
|
◆ SendSignalIntoConnection()
static void Barotrauma.Items.Components.Connection.SendSignalIntoConnection |
( |
Signal |
signal, |
|
|
Connection |
conn |
|
) |
| |
|
static |
◆ SetRecipientsDirty()
void Barotrauma.Items.Components.Connection.SetRecipientsDirty |
( |
| ) |
|
◆ ToString()
override string Barotrauma.Items.Components.Connection.ToString |
( |
| ) |
|
◆ TryAddLink()
bool Barotrauma.Items.Components.Connection.TryAddLink |
( |
Wire |
wire | ) |
|
◆ UpdateFlashTimer()
void Barotrauma.Items.Components.Connection.UpdateFlashTimer |
( |
float |
deltaTime | ) |
|
◆ WireSlotsAvailable()
bool Barotrauma.Items.Components.Connection.WireSlotsAvailable |
( |
| ) |
|
◆ CircuitBoxConnections
List<CircuitBoxConnection> Barotrauma.Items.Components.Connection.CircuitBoxConnections = new() |
◆ DisplayName
readonly LocalizedString Barotrauma.Items.Components.Connection.DisplayName |
◆ Effects
readonly List<StatusEffect> Barotrauma.Items.Components.Connection.Effects |
◆ Grid
GridInfo Barotrauma.Items.Components.Connection.Grid |
◆ IsOutput
readonly bool Barotrauma.Items.Components.Connection.IsOutput |
◆ LoadedWires
readonly List<(ushort wireId, int? connectionIndex)> Barotrauma.Items.Components.Connection.LoadedWires |
◆ MaxPlayerConnectableWires
readonly int Barotrauma.Items.Components.Connection.MaxPlayerConnectableWires = 5 |
◆ MaxWires
readonly int Barotrauma.Items.Components.Connection.MaxWires = 5 |
◆ Name
readonly string Barotrauma.Items.Components.Connection.Name |
◆ Priority
◆ ConnectionPanel
◆ DraggingConnected
Wire Barotrauma.Items.Components.Connection.DraggingConnected |
|
staticget |
◆ FlashTimer
float Barotrauma.Items.Components.Connection.FlashTimer |
|
get |
◆ IsPower
bool Barotrauma.Items.Components.Connection.IsPower |
|
get |
◆ Item
Item Barotrauma.Items.Components.Connection.Item |
|
get |
◆ LastReceivedSignal
Signal Barotrauma.Items.Components.Connection.LastReceivedSignal |
|
get |
◆ LastSentSignal
Signal Barotrauma.Items.Components.Connection.LastSentSignal |
|
get |
◆ Recipients
List<Connection> Barotrauma.Items.Components.Connection.Recipients |
|
get |
◆ Wires
IReadOnlyCollection<Wire> Barotrauma.Items.Components.Connection.Wires |
|
get |