void BleedingSource(PlayerBase player, int bit, string bone, vector orientation, vector offset, int max_time, float flow_modifier, string particle_name)
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
class BoxCollidingParams component
ComponentInfo for BoxCollidingResult.
bool IsBleedingSourceActive(string name)
int GetBleedingSourceBitsByInvLocation(int inv_location)
int GetBleedingSourceActiveTime(int bit)
void AddBleedingSourceEx(int bit, eBleedingSourceType type=eBleedingSourceType.NORMAL, int context=0)
void RegisterBleedingZone(string name, int max_time, string bone="", vector orientation="0 0 0", vector offset="0 0 0", float flow_modifier=1, string particle_name="BleedingSourceEffect")
void SetItem(ItemBase item)
static ref map< int, int > m_BleedingSourcesZonesMaskByLocation
bool AttemptAddBleedingSourceDirectly(int bit, eBleedingSourceType type=eBleedingSourceType.NORMAL, int context=0)
int GetFreeBleedingSourceBitsByInvLocation(int inv_location)
void AddBleedingSource(int bit)
int GetRegisteredSourcesCount()
bool AttemptAddBleedingSource(int component)
eBleedingSourceType GetBleedingSourceType(int bit)
BleedingSourceZone GetBleedingSourceMeta(int bit)
string GetSelectionNameFromBit(int bit)
ref map< int, ref BleedingSource > m_BleedingSources
void SetBleedingSourceActiveTime(int bit, int time)
int GetBitFromSelectionName(string name)
ref map< int, int > m_BleedingSourcesByLocation
static ref set< int > m_BleedingSourcesLocationsList
bool AttemptAddBleedingSourceBySelection(string selection_name)
int GetBitFromSelectionID(int id)
void BleedingSourcesManagerBase(PlayerBase player)
bool RemoveBleedingSource(int bit)
bool CanAddBleedingSource(int bit)
ref map< int, string > m_BitToFireGeom
set< int > GetBleedingSourcesLocations()
void RegisterBleedingZoneEx(string name, int max_time, string bone="", vector orientation="0 0 0", vector offset="0 0 0", float flow_modifier=1, string particle_name="BleedingSourceEffect", int inv_location=0)
ref map< string, ref BleedingSourceZone > m_BleedingSourceZone
void SetBleedingSourceType(int bit, eBleedingSourceType type)
int GetBleedingSourcesCount()
static ref TStringArray ARRAY_STRING
provides access to slot configuration
static const float BLEEDING_SOURCE_FLOW_MODIFIER_LOW
static const float BLEEDING_SOURCE_FLOW_MODIFIER_HIGH
static const float BLEEDING_SOURCE_FLOW_MODIFIER_MEDIUM
static const int BLEEDING_SOURCE_DURATION_NORMAL
void Error(string err)
Messagebox with error message.