Space Engineers
|
Classes | |
struct | MyStatAction |
struct | MyStatEfficiencyModifier |
struct | MyStatRegenModifier |
Public Member Functions | |
virtual void | Init (IMyCharacter character, Dictionary< MyStringHash, MyEntityStat > stats, string scriptName) |
virtual void | Update () |
virtual void | Update10 () |
virtual void | Close () |
void | AddAction (string actionId, MyStatAction action) |
void | AddModifier (string modifierId, MyStatRegenModifier modifier) |
void | AddEfficiency (string modifierId, MyStatEfficiencyModifier modifier) |
bool | CanDoAction (string actionId, bool continuous, out MyTuple< ushort, MyStringHash > message) |
bool | DoAction (string actionId) |
void | ApplyModifier (string modifierId) |
float | GetEfficiencyModifier (string modifierId) |
Public Attributes | |
const int | STAT_VALUE_TOO_LOW = 4 |
Protected Member Functions | |
virtual void | OnCharacterChanged (IMyCharacter oldCharacter) |
Protected Attributes | |
Dictionary< MyStringHash, MyEntityStat > | m_stats |
Properties | |
string | Name [get] |
IMyCharacter | Character [get, set] |
bool | EnableAutoHealing [get] |
Dictionary< string, MyStatAction > | StatActions [get] |
Dictionary< string, MyStatRegenModifier > | StatRegenModifiers [get] |
Dictionary< string, MyStatEfficiencyModifier > | StatEfficiencyModifiers [get] |
Definition at line 30 of file MyStatLogic.cs.
|
inline |
Definition at line 116 of file MyStatLogic.cs.
|
inline |
Definition at line 126 of file MyStatLogic.cs.
|
inline |
Definition at line 121 of file MyStatLogic.cs.
|
inline |
Definition at line 197 of file MyStatLogic.cs.
|
inline |
Definition at line 131 of file MyStatLogic.cs.
|
inlinevirtual |
Reimplemented in SpaceStatEffect.MySpaceStatEffect.
Definition at line 113 of file MyStatLogic.cs.
|
inline |
Definition at line 175 of file MyStatLogic.cs.
|
inline |
Definition at line 214 of file MyStatLogic.cs.
|
inlinevirtual |
Reimplemented in SpaceStatEffect.MySpaceStatEffect.
Definition at line 96 of file MyStatLogic.cs.
|
inlineprotectedvirtual |
Definition at line 114 of file MyStatLogic.cs.
|
inlinevirtual |
Definition at line 110 of file MyStatLogic.cs.
|
inlinevirtual |
Definition at line 111 of file MyStatLogic.cs.
|
protected |
Definition at line 80 of file MyStatLogic.cs.
const int Sandbox.Game.MyStatLogic.STAT_VALUE_TOO_LOW = 4 |
Definition at line 94 of file MyStatLogic.cs.
|
getset |
Definition at line 78 of file MyStatLogic.cs.
|
getprotected |
Definition at line 83 of file MyStatLogic.cs.
|
get |
Definition at line 75 of file MyStatLogic.cs.
|
get |
Definition at line 86 of file MyStatLogic.cs.
|
get |
Definition at line 92 of file MyStatLogic.cs.
|
get |
Definition at line 89 of file MyStatLogic.cs.