DIFF

class BleedingSourcesManagerBaseSource

Constructors 1

void BleedingSourcesManagerBase(PlayerBase player)
References Init(), and m_Player

Members 10

ref map<int, int> m_BleedingSourcesByLocation = new map<int, int>
static ref map<int, int> m_BleedingSourcesZonesMaskByLocation = new map<int, int>

for each inventory location, keep a bitmask where a bit is set to 1 for each bleeding source zone that belongs to that location

static ref set<int> m_BleedingSourcesLocationsList = new set<int>
ref map<int, string> m_BitToFireGeom = new map<int, string>

Methods 26

protected void SetItem(ItemBase item)
References m_Item
set<int> GetBleedingSourcesLocations()
int GetBleedingSourceBitsByInvLocation(int inv_location)
int GetFreeBleedingSourceBitsByInvLocation(int inv_location)
bool IsBleedingSourceActive(string name)
int GetRegisteredSourcesCount()
References m_BitOffset
protected 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)
protected 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")
protected int GetBitFromSelectionName(string name)
References map.Get(), GetBit(), and m_BleedingSourceZone
bool AttemptAddBleedingSourceDirectly(int bit, eBleedingSourceType type = eBleedingSourceType.NORMAL, int context = 0)
protected void AddBleedingSourceEx(int bit, eBleedingSourceType type = eBleedingSourceType.NORMAL, int context = 0)
References AddBleedingSource(), map.Get(), SetType()
Show 1 more, m_BleedingSources
int GetBleedingSourceActiveTime(int bit)
void SetBleedingSourceActiveTime(int bit, int time)
void SetBleedingSourceType(int bit, eBleedingSourceType type)
References map.Contains(), map.Get(), SetType()
Show 1 more, m_BleedingSources
eBleedingSourceType GetBleedingSourceType(int bit)
References map.Contains(), map.Get(), GetType()
Show 1 more, m_BleedingSources
int GetBleedingSourcesCount()