Barotrauma Client
Loading...
Searching...
No Matches
Barotrauma.Items.Components.PowerRange Struct Reference

Public Member Functions

 PowerRange (float min, float max)
 
 PowerRange (float min, float max, float reactorMaxOutput)
 

Static Public Member Functions

static PowerRange operator+ (PowerRange a, PowerRange b)
 
static PowerRange operator- (PowerRange a, PowerRange b)
 

Public Attributes

readonly float Min
 
readonly float Max
 
readonly float ReactorMaxOutput
 Used by reactors to communicate their maximum output to each other so they can divide the grid load between each other in a sensible way.
 

Static Public Attributes

static readonly PowerRange Zero = default
 

Constructor & Destructor Documentation

◆ PowerRange() [1/2]

Barotrauma.Items.Components.PowerRange.PowerRange ( float min,
float max )

◆ PowerRange() [2/2]

Barotrauma.Items.Components.PowerRange.PowerRange ( float min,
float max,
float reactorMaxOutput )

Member Function Documentation

◆ operator+()

static PowerRange Barotrauma.Items.Components.PowerRange.operator+ ( PowerRange a,
PowerRange b )
static

◆ operator-()

static PowerRange Barotrauma.Items.Components.PowerRange.operator- ( PowerRange a,
PowerRange b )
static

Member Data Documentation

◆ Max

readonly float Barotrauma.Items.Components.PowerRange.Max

◆ Min

readonly float Barotrauma.Items.Components.PowerRange.Min

◆ ReactorMaxOutput

readonly float Barotrauma.Items.Components.PowerRange.ReactorMaxOutput

Used by reactors to communicate their maximum output to each other so they can divide the grid load between each other in a sensible way.

◆ Zero

readonly PowerRange Barotrauma.Items.Components.PowerRange.Zero = default
static

The documentation for this struct was generated from the following file: