Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
BleedingSourcesManagerBase Class Reference

Protected Member Functions

void BleedingSourcesManagerBase (PlayerBase player)
 
void Init ()
 
void SetItem (ItemBase item)
 
set< intGetBleedingSourcesLocations ()
 
int GetBleedingSourceBitsByInvLocation (int inv_location)
 
int GetFreeBleedingSourceBitsByInvLocation (int inv_location)
 
bool IsBleedingSourceActive (string name)
 
int GetBitFromSelectionID (int id)
 
BleedingSourceZone GetBleedingSourceMeta (int bit)
 
int GetRegisteredSourcesCount ()
 
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)
 
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 RemoveAllSources ()
 
int GetBitFromSelectionName (string name)
 
string GetSelectionNameFromBit (int bit)
 
bool AttemptAddBleedingSource (int component)
 
bool AttemptAddBleedingSourceBySelection (string selection_name)
 
bool AttemptAddBleedingSourceDirectly (int bit, eBleedingSourceType type=eBleedingSourceType.NORMAL, int context=0)
 
bool CanAddBleedingSource (int bit)
 
void AddBleedingSourceEx (int bit, eBleedingSourceType type=eBleedingSourceType.NORMAL, int context=0)
 
void AddBleedingSource (int bit)
 
int GetBleedingSourceActiveTime (int bit)
 
void SetBleedingSourceActiveTime (int bit, int time)
 
void SetBleedingSourceType (int bit, eBleedingSourceType type)
 
eBleedingSourceType GetBleedingSourceType (int bit)
 
bool RemoveBleedingSource (int bit)
 
int GetBleedingSourcesCount ()
 
void Init ()
 
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)
 
void OnVariablesSynchronized (int current_bits)
 
void Reload ()
 
void AddBleedingSource (int bit)
 
bool RemoveBleedingSource (int bit)
 
void OnBleedingBitsUpdate (int old_mask, int new_mask)
 
int GetBleedingSourceCountRemote ()
 
void SetDiag (bool value)
 
void OnUpdate ()
 
void DisplayDebug ()
 
void CleanDebug ()
 
void DisplayVisualDebug ()
 
void CleanVisualDebug ()
 
BleedingSourceZone GetBleedingSourceZone (int bit)
 
int GetStorageVersion ()
 
void RequestDeletion (int bit)
 
void AddBleedingSource (int bit)
 
bool RemoveBleedingSource (int bit)
 
void RemoveAnyBleedingSource ()
 
void RemoveMostSignificantBleedingSource ()
 
void RemoveMostSignificantBleedingSourceEx (ItemBase item)
 
int GetMostSignificantBleedingSource ()
 
void OnTick (float delta_time)
 
void ActivateAllBS ()
 
void ProcessHit (float damage, EntityAI source, int component, string zone, string ammo, vector modelPos)
 
void DebugActivateBleedingSource (int source)
 
void SetBloodLoss (bool status)
 
void OnStoreSave (ParamsWriteContext ctx)
 
bool OnStoreLoad (ParamsReadContext ctx, int version)
 
void ~BleedingSourcesManagerServer ()
 

Protected Attributes

int m_Bit
 
int m_BitOffset = 0
 
bool m_ProcessSourcesRemoval = false
 
const int STORAGE_VERSION = 103
 

Detailed Description

Definition at line 1 of file bleedingsourcesmanagerbase.c.

Constructor & Destructor Documentation

◆ BleedingSourcesManagerBase()

void BleedingSourcesManagerBase::BleedingSourcesManagerBase ( PlayerBase player)
protected

Definition at line 15 of file bleedingsourcesmanagerbase.c.

◆ ~BleedingSourcesManagerServer()

void BleedingSourcesManagerBase::~BleedingSourcesManagerServer ( )
protected

Definition at line 298 of file bleedingsourcesmanagerserver.c.

Member Function Documentation

◆ ActivateAllBS()

void BleedingSourcesManagerBase::ActivateAllBS ( )
protected

Definition at line 154 of file bleedingsourcesmanagerserver.c.

◆ AddBleedingSource() [1/3]

void BleedingSourcesManagerBase::AddBleedingSource ( int bit)
protected

Definition at line 260 of file bleedingsourcesmanagerbase.c.

◆ AddBleedingSource() [2/3]

void BleedingSourcesManagerBase::AddBleedingSource ( int bit)
protected

Definition at line 70 of file bleedingsourcesmanagerremote.c.

◆ AddBleedingSource() [3/3]

void BleedingSourcesManagerBase::AddBleedingSource ( int bit)
protected

Definition at line 31 of file bleedingsourcesmanagerserver.c.

◆ AddBleedingSourceEx()

void BleedingSourcesManagerBase::AddBleedingSourceEx ( int bit,
eBleedingSourceType type = eBleedingSourceType.NORMAL,
int context = 0 )
protected

Definition at line 254 of file bleedingsourcesmanagerbase.c.

◆ AttemptAddBleedingSource()

bool BleedingSourcesManagerBase::AttemptAddBleedingSource ( int component)
protected

Definition at line 194 of file bleedingsourcesmanagerbase.c.

◆ AttemptAddBleedingSourceBySelection()

bool BleedingSourcesManagerBase::AttemptAddBleedingSourceBySelection ( string selection_name)
protected

Definition at line 211 of file bleedingsourcesmanagerbase.c.

◆ AttemptAddBleedingSourceDirectly()

bool BleedingSourcesManagerBase::AttemptAddBleedingSourceDirectly ( int bit,
eBleedingSourceType type = eBleedingSourceType.NORMAL,
int context = 0 )
protected

Definition at line 230 of file bleedingsourcesmanagerbase.c.

◆ CanAddBleedingSource()

bool BleedingSourcesManagerBase::CanAddBleedingSource ( int bit)
protected

Definition at line 241 of file bleedingsourcesmanagerbase.c.

◆ CleanDebug()

void BleedingSourcesManagerBase::CleanDebug ( )
protected

Definition at line 203 of file bleedingsourcesmanagerremote.c.

◆ CleanVisualDebug()

void BleedingSourcesManagerBase::CleanVisualDebug ( )
protected

Definition at line 243 of file bleedingsourcesmanagerremote.c.

◆ DebugActivateBleedingSource()

void BleedingSourcesManagerBase::DebugActivateBleedingSource ( int source)
protected

Definition at line 214 of file bleedingsourcesmanagerserver.c.

◆ DisplayDebug()

void BleedingSourcesManagerBase::DisplayDebug ( )
protected

Definition at line 158 of file bleedingsourcesmanagerremote.c.

◆ DisplayVisualDebug()

void BleedingSourcesManagerBase::DisplayVisualDebug ( )
protected

Definition at line 213 of file bleedingsourcesmanagerremote.c.

◆ GetBitFromSelectionID()

int BleedingSourcesManagerBase::GetBitFromSelectionID ( int id)
protected

Definition at line 107 of file bleedingsourcesmanagerbase.c.

◆ GetBitFromSelectionName()

int BleedingSourcesManagerBase::GetBitFromSelectionName ( string name)
protected

Definition at line 180 of file bleedingsourcesmanagerbase.c.

◆ GetBleedingSourceActiveTime()

int BleedingSourcesManagerBase::GetBleedingSourceActiveTime ( int bit)
protected

Definition at line 274 of file bleedingsourcesmanagerbase.c.

◆ GetBleedingSourceBitsByInvLocation()

int BleedingSourcesManagerBase::GetBleedingSourceBitsByInvLocation ( int inv_location)
protected

Definition at line 77 of file bleedingsourcesmanagerbase.c.

◆ GetBleedingSourceCountRemote()

int BleedingSourcesManagerBase::GetBleedingSourceCountRemote ( )
protected

Definition at line 117 of file bleedingsourcesmanagerremote.c.

◆ GetBleedingSourceMeta()

BleedingSourceZone BleedingSourcesManagerBase::GetBleedingSourceMeta ( int bit)
protected

Definition at line 127 of file bleedingsourcesmanagerbase.c.

◆ GetBleedingSourcesCount()

int BleedingSourcesManagerBase::GetBleedingSourcesCount ( )
protected

Definition at line 321 of file bleedingsourcesmanagerbase.c.

◆ GetBleedingSourcesLocations()

set< int > BleedingSourcesManagerBase::GetBleedingSourcesLocations ( )
protected

Definition at line 70 of file bleedingsourcesmanagerbase.c.

◆ GetBleedingSourceType()

eBleedingSourceType BleedingSourcesManagerBase::GetBleedingSourceType ( int bit)
protected

Definition at line 299 of file bleedingsourcesmanagerbase.c.

◆ GetBleedingSourceZone()

BleedingSourceZone BleedingSourcesManagerBase::GetBleedingSourceZone ( int bit)
protected

Definition at line 12 of file bleedingsourcesmanagerserver.c.

◆ GetFreeBleedingSourceBitsByInvLocation()

int BleedingSourcesManagerBase::GetFreeBleedingSourceBitsByInvLocation ( int inv_location)
protected

Definition at line 88 of file bleedingsourcesmanagerbase.c.

◆ GetMostSignificantBleedingSource()

int BleedingSourcesManagerBase::GetMostSignificantBleedingSource ( )
protected

Definition at line 97 of file bleedingsourcesmanagerserver.c.

◆ GetRegisteredSourcesCount()

int BleedingSourcesManagerBase::GetRegisteredSourcesCount ( )
protected

Definition at line 132 of file bleedingsourcesmanagerbase.c.

◆ GetSelectionNameFromBit()

string BleedingSourcesManagerBase::GetSelectionNameFromBit ( int bit)
protected

Definition at line 189 of file bleedingsourcesmanagerbase.c.

◆ GetStorageVersion()

int BleedingSourcesManagerBase::GetStorageVersion ( )
protected

Definition at line 17 of file bleedingsourcesmanagerserver.c.

◆ Init() [1/2]

void BleedingSourcesManagerBase::Init ( )
protected

Definition at line 21 of file bleedingsourcesmanagerbase.c.

◆ Init() [2/2]

void BleedingSourcesManagerBase::Init ( )
protected

Definition at line 11 of file bleedingsourcesmanagerremote.c.

◆ IsBleedingSourceActive()

bool BleedingSourcesManagerBase::IsBleedingSourceActive ( string name)
protected

Definition at line 98 of file bleedingsourcesmanagerbase.c.

◆ OnBleedingBitsUpdate()

void BleedingSourcesManagerBase::OnBleedingBitsUpdate ( int old_mask,
int new_mask )
protected

Definition at line 91 of file bleedingsourcesmanagerremote.c.

◆ OnStoreLoad()

bool BleedingSourcesManagerBase::OnStoreLoad ( ParamsReadContext ctx,
int version )
protected

Definition at line 255 of file bleedingsourcesmanagerserver.c.

◆ OnStoreSave()

void BleedingSourcesManagerBase::OnStoreSave ( ParamsWriteContext ctx)
protected

Definition at line 233 of file bleedingsourcesmanagerserver.c.

◆ OnTick()

void BleedingSourcesManagerBase::OnTick ( float delta_time)
protected

Definition at line 127 of file bleedingsourcesmanagerserver.c.

◆ OnUpdate()

void BleedingSourcesManagerBase::OnUpdate ( )
protected

Definition at line 140 of file bleedingsourcesmanagerremote.c.

◆ OnVariablesSynchronized()

void BleedingSourcesManagerBase::OnVariablesSynchronized ( int current_bits)
protected

Definition at line 33 of file bleedingsourcesmanagerremote.c.

◆ ProcessHit()

void BleedingSourcesManagerBase::ProcessHit ( float damage,
EntityAI source,
int component,
string zone,
string ammo,
vector modelPos )
protected

Definition at line 167 of file bleedingsourcesmanagerserver.c.

◆ RegisterBleedingZone()

void BleedingSourcesManagerBase::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

Definition at line 165 of file bleedingsourcesmanagerbase.c.

◆ RegisterBleedingZoneEx() [1/2]

void BleedingSourcesManagerBase::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

Definition at line 137 of file bleedingsourcesmanagerbase.c.

◆ RegisterBleedingZoneEx() [2/2]

void BleedingSourcesManagerBase::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

Definition at line 22 of file bleedingsourcesmanagerremote.c.

◆ Reload()

void BleedingSourcesManagerBase::Reload ( )
protected

Definition at line 50 of file bleedingsourcesmanagerremote.c.

◆ RemoveAllSources()

void BleedingSourcesManagerBase::RemoveAllSources ( )
protected

Definition at line 170 of file bleedingsourcesmanagerbase.c.

◆ RemoveAnyBleedingSource()

void BleedingSourcesManagerBase::RemoveAnyBleedingSource ( )
protected

Definition at line 76 of file bleedingsourcesmanagerserver.c.

◆ RemoveBleedingSource() [1/3]

bool BleedingSourcesManagerBase::RemoveBleedingSource ( int bit)
protected

Definition at line 308 of file bleedingsourcesmanagerbase.c.

◆ RemoveBleedingSource() [2/3]

bool BleedingSourcesManagerBase::RemoveBleedingSource ( int bit)
protected

Definition at line 80 of file bleedingsourcesmanagerremote.c.

◆ RemoveBleedingSource() [3/3]

bool BleedingSourcesManagerBase::RemoveBleedingSource ( int bit)
protected

Definition at line 43 of file bleedingsourcesmanagerserver.c.

◆ RemoveMostSignificantBleedingSource()

void BleedingSourcesManagerBase::RemoveMostSignificantBleedingSource ( )
protected

Definition at line 84 of file bleedingsourcesmanagerserver.c.

◆ RemoveMostSignificantBleedingSourceEx()

void BleedingSourcesManagerBase::RemoveMostSignificantBleedingSourceEx ( ItemBase item)
protected

Definition at line 91 of file bleedingsourcesmanagerserver.c.

◆ RequestDeletion()

void BleedingSourcesManagerBase::RequestDeletion ( int bit)
protected

Definition at line 22 of file bleedingsourcesmanagerserver.c.

◆ SetBleedingSourceActiveTime()

void BleedingSourcesManagerBase::SetBleedingSourceActiveTime ( int bit,
int time )
protected

Definition at line 284 of file bleedingsourcesmanagerbase.c.

◆ SetBleedingSourceType()

void BleedingSourcesManagerBase::SetBleedingSourceType ( int bit,
eBleedingSourceType type )
protected

Definition at line 292 of file bleedingsourcesmanagerbase.c.

◆ SetBloodLoss()

void BleedingSourcesManagerBase::SetBloodLoss ( bool status)
protected

Definition at line 228 of file bleedingsourcesmanagerserver.c.

◆ SetDiag()

void BleedingSourcesManagerBase::SetDiag ( bool value)
protected

Definition at line 135 of file bleedingsourcesmanagerremote.c.

◆ SetItem()

void BleedingSourcesManagerBase::SetItem ( ItemBase item)
protected

Definition at line 64 of file bleedingsourcesmanagerbase.c.

Member Data Documentation

◆ m_Bit

int BleedingSourcesManagerBase::m_Bit
protected

Definition at line 12 of file bleedingsourcesmanagerbase.c.

◆ m_BitOffset

int BleedingSourcesManagerBase::m_BitOffset = 0
protected

Definition at line 13 of file bleedingsourcesmanagerbase.c.

◆ m_ProcessSourcesRemoval

bool BleedingSourcesManagerBase::m_ProcessSourcesRemoval = false
protected

Definition at line 8 of file bleedingsourcesmanagerserver.c.

◆ STORAGE_VERSION

const int BleedingSourcesManagerBase::STORAGE_VERSION = 103
protected

Definition at line 10 of file bleedingsourcesmanagerserver.c.


The documentation for this class was generated from the following files: