DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ BleedingIndicator()

void Managed::BleedingIndicator ( int source_ID,
int severity,
GameplayEffectsDataBleeding parent )
inlineprotected

См. определение в файле BleedingIndicator.c строка 31

32 {
33 m_Initialized = false;
34 m_SourceID = source_ID;
35 m_Severity = severity;
36 m_ParentMetaData = parent;
38 m_ActiveDrops = new set<ref BleedingIndicatorDropData>;
39 m_CleanupQueue = new set<int>;
42
43 switch (m_Severity)
44 {
45 case BleedingIndicationConstants.INDICATOR_SEVERITY_LOW:
46 {
47 m_SequenceDuration = BleedingIndicationConstants.SEQUENCE_DURATION_LOW;
48 m_AverageFrequency = BleedingIndicationConstants.SEQUENCE_DROP_AVERAGE_LOW;
49 m_DropSpawnMinDelay = BleedingIndicationConstants.SEQUENCE_DROP_DELAY_MIN_LOW;
50 m_DropSpawnMaxDelay = BleedingIndicationConstants.SEQUENCE_DROP_DELAY_MAX_LOW;
51 break;
52 }
53 case BleedingIndicationConstants.INDICATOR_SEVERITY_MEDIUM:
54 {
55 m_SequenceDuration = BleedingIndicationConstants.SEQUENCE_DURATION_MEDIUM;
56 m_AverageFrequency = BleedingIndicationConstants.SEQUENCE_DROP_AVERAGE_MEDIUM;
57 m_DropSpawnMinDelay = BleedingIndicationConstants.SEQUENCE_DROP_DELAY_MIN_MEDIUM;
58 m_DropSpawnMaxDelay = BleedingIndicationConstants.SEQUENCE_DROP_DELAY_MAX_MEDIUM;
59 break;
60 }
61 case BleedingIndicationConstants.INDICATOR_SEVERITY_HIGH:
62 {
63 m_SequenceDuration = BleedingIndicationConstants.SEQUENCE_DURATION_HIGH;
64 m_AverageFrequency = BleedingIndicationConstants.SEQUENCE_DROP_AVERAGE_HIGH;
65 m_DropSpawnMinDelay = BleedingIndicationConstants.SEQUENCE_DROP_DELAY_MIN_HIGH;
66 m_DropSpawnMaxDelay = BleedingIndicationConstants.SEQUENCE_DROP_DELAY_MAX_HIGH;
67 break;
68 }
69
70 default:
71 {
72 m_AverageFrequency = BleedingIndicationConstants.SEQUENCE_DROP_AVERAGE_LOW;
73 m_DropSpawnMinDelay = BleedingIndicationConstants.SEQUENCE_DROP_DELAY_MIN_LOW;
74 m_DropSpawnMaxDelay = BleedingIndicationConstants.SEQUENCE_DROP_DELAY_MAX_LOW;
75 Debug.Log("Unknown severity value!");
76 }
77#ifdef DIAG_DEVELOPER
78 if (DbgBleedingIndicationStaticInfo.m_DbgUseOverrideValues)
79 {
80 m_SequenceDuration = DbgBleedingIndicationStaticInfo.m_DbgSequenceDuration;
81 m_DropSpawnMinDelay = DbgBleedingIndicationStaticInfo.m_DbgDropMinDelay;
82 m_DropSpawnMaxDelay = DbgBleedingIndicationStaticInfo.m_DbgDropMaxDelay;
83 }
84#endif
85 }
86
89 }
void Debug()
Определения UniversalTemperatureSource.c:349
float m_SequenceDuration
Определения BleedingIndicator.c:18
int m_SourceID
Определения BleedingIndicator.c:12
ref set< ref BleedingIndicatorDropData > m_ActiveDrops
Определения BleedingIndicator.c:28
ref set< int > m_CleanupQueue
Определения BleedingIndicator.c:29
GameplayEffectsDataBleeding m_ParentMetaData
Определения BleedingIndicator.c:13
int m_Severity
Определения BleedingIndicator.c:11
int m_CurrentDropProbabilityStep
Определения BleedingIndicator.c:24
array< float > m_DropProbabilityArray
Определения BleedingIndicator.c:14
float m_TimeElapsedTotal
Определения BleedingIndicator.c:19
static bool m_Initialized
Определения PPERequesterBank.c:7
float m_TimeElapsedSequence
Определения BleedingIndicator.c:20
int m_DropProbabilityRollsCount
Определения BleedingIndicator.c:25
float m_AverageFrequency
Определения BleedingIndicator.c:16
float m_DropSpawnMinDelay
Определения BleedingIndicator.c:22
float m_DropSpawnMaxDelay
Определения BleedingIndicator.c:23

Перекрестные ссылки BleedingIndicationConstants::INDICATOR_SEVERITY_HIGH, BleedingIndicationConstants::INDICATOR_SEVERITY_LOW, BleedingIndicationConstants::INDICATOR_SEVERITY_MEDIUM, Debug::Log(), m_ActiveDrops, m_AverageFrequency, m_CleanupQueue, m_CurrentDropProbabilityStep, DbgBleedingIndicationStaticInfo::m_DbgDropMaxDelay, DbgBleedingIndicationStaticInfo::m_DbgDropMinDelay, DbgBleedingIndicationStaticInfo::m_DbgSequenceDuration, DbgBleedingIndicationStaticInfo::m_DbgUseOverrideValues, m_DropProbabilityArray, m_DropProbabilityRollsCount, m_DropSpawnMaxDelay, m_DropSpawnMinDelay, m_Initialized, m_ParentMetaData, m_SequenceDuration, m_Severity, m_SourceID, m_TimeElapsedSequence, m_TimeElapsedTotal, BleedingIndicationConstants::SEQUENCE_DROP_AVERAGE_HIGH, BleedingIndicationConstants::SEQUENCE_DROP_AVERAGE_LOW, BleedingIndicationConstants::SEQUENCE_DROP_AVERAGE_MEDIUM, BleedingIndicationConstants::SEQUENCE_DROP_DELAY_MAX_HIGH, BleedingIndicationConstants::SEQUENCE_DROP_DELAY_MAX_LOW, BleedingIndicationConstants::SEQUENCE_DROP_DELAY_MAX_MEDIUM, BleedingIndicationConstants::SEQUENCE_DROP_DELAY_MIN_HIGH, BleedingIndicationConstants::SEQUENCE_DROP_DELAY_MIN_LOW, BleedingIndicationConstants::SEQUENCE_DROP_DELAY_MIN_MEDIUM, BleedingIndicationConstants::SEQUENCE_DURATION_HIGH, BleedingIndicationConstants::SEQUENCE_DURATION_LOW и BleedingIndicationConstants::SEQUENCE_DURATION_MEDIUM.