PC Stable Documentation
|
|
Private Member Functions | |
float | GetEfficiency0To1 () |
Returns efficiency. The value is synchronized from server to all clients and is accurate down to 0.1 units. | |
float | GetEfficiencyDecayStart () |
Returns efficiency. The value is synchronized from server to all clients and is accurate down to 0.1 units. | |
override void | OnEnergyConsumed () |
override void | EEHealthLevelChanged (int oldLevel, int newLevel, string zone) |
void | Chemlight_ColorBase () |
void | CreateLight () |
override void | OnWorkStart () |
override void | OnInventoryExit (Man player) |
void | StandUp () |
override void | OnWorkStop () |
override void | OnWork (float consumed_energy) |
override void | SetActions () |
string | GetMaterialForDamageState (bool glowing, int healthLevel=-1) |
Private Attributes | |
string | m_DefaultMaterial |
string | m_GlowMaterial |
ChemlightLight | m_Light |
private int | m_Efficiency0To10 |
Static Private Attributes | |
static private float | m_EfficiencyDecayStart = 0.05 |
|
inlineprivate |
References Error(), GetType(), m_DefaultMaterial, m_Efficiency0To10, and m_GlowMaterial.
|
inlineprivate |
References GetGame(), GetMaterialForDamageState(), GetType(), and m_Light.
Referenced by OnWork().
References GetMaterialForDamageState().
|
inlineprivate |
Returns efficiency. The value is synchronized from server to all clients and is accurate down to 0.1 units.
References m_Efficiency0To10.
Referenced by OnWork().
|
inlineprivate |
Returns efficiency. The value is synchronized from server to all clients and is accurate down to 0.1 units.
References m_EfficiencyDecayStart.
References Error(), string::IndexOf(), m_DefaultMaterial, m_GlowMaterial, GameConstants::STATE_BADLY_DAMAGED, GameConstants::STATE_DAMAGED, GameConstants::STATE_RUINED, and string::Substring().
Referenced by CreateLight(), EEHealthLevelChanged(), and OnWorkStop().
|
inlineprivate |
References GetGame(), m_Efficiency0To10, m_EfficiencyDecayStart, and Math::Round().
|
inlineprivate |
References StandUp().
|
inlineprivate |
References CreateLight(), GetEfficiency0To1(), and m_Light.
|
inlineprivate |
|
inlineprivate |
References GetEnergy(), GetGame(), GetMaterialForDamageState(), and m_Light.
|
inlineprivate |
References AddAction().
|
inlineprivate |
References GetGame().
Referenced by OnInventoryExit().
|
private |
Referenced by Chemlight_ColorBase(), and GetMaterialForDamageState().
|
private |
Referenced by Chemlight_ColorBase(), GetEfficiency0To1(), and OnEnergyConsumed().
|
staticprivate |
Referenced by GetEfficiencyDecayStart(), and OnEnergyConsumed().
|
private |
Referenced by Chemlight_ColorBase(), and GetMaterialForDamageState().
|
private |
Referenced by CreateLight(), OnWork(), and OnWorkStop().