Barotrauma Client Doc
Barotrauma.Items.Components.Signal Struct Reference

Public Member Functions

 Signal (string value, int stepsTaken=0, Character sender=null, Item source=null, float power=0.0f, float strength=1.0f)
 

Static Public Member Functions

static bool operator== (Signal a, Signal b)
 
static bool operator!= (Signal a, Signal b)
 

Public Attributes

string value
 
int stepsTaken
 
Character sender
 
Item source
 
float power
 
float strength
 
readonly double CreationTime
 

Properties

double TimeSinceCreated [get]
 

Detailed Description

Definition at line 3 of file Signal.cs.

Constructor & Destructor Documentation

◆ Signal()

Barotrauma.Items.Components.Signal.Signal ( string  value,
int  stepsTaken = 0,
Character  sender = null,
Item  source = null,
float  power = 0.0f,
float  strength = 1.0f 
)

Definition at line 15 of file Signal.cs.

Member Function Documentation

◆ operator!=()

static bool Barotrauma.Items.Components.Signal.operator!= ( Signal  a,
Signal  b 
)
static

◆ operator==()

static bool Barotrauma.Items.Components.Signal.operator== ( Signal  a,
Signal  b 
)
static

Member Data Documentation

◆ CreationTime

readonly double Barotrauma.Items.Components.Signal.CreationTime

Definition at line 11 of file Signal.cs.

◆ power

float Barotrauma.Items.Components.Signal.power

Definition at line 9 of file Signal.cs.

◆ sender

Character Barotrauma.Items.Components.Signal.sender

Definition at line 7 of file Signal.cs.

◆ source

Item Barotrauma.Items.Components.Signal.source

Definition at line 8 of file Signal.cs.

◆ stepsTaken

int Barotrauma.Items.Components.Signal.stepsTaken

Definition at line 6 of file Signal.cs.

◆ strength

float Barotrauma.Items.Components.Signal.strength

Definition at line 10 of file Signal.cs.

◆ value

string Barotrauma.Items.Components.Signal.value

Definition at line 5 of file Signal.cs.

Property Documentation

◆ TimeSinceCreated

double Barotrauma.Items.Components.Signal.TimeSinceCreated
get

Definition at line 13 of file Signal.cs.