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

◆ TrySpawnNextDrop()

void Managed::TrySpawnNextDrop ( )
inlineprotected

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

129 {
130 ImageWidget dropImage;
131 if (Class.CastTo(dropImage,m_ParentMetaData.GetNextDropImage()) && !dropImage.IsVisible()) //IsVisible false means the drop is free to be used
132 {
133 BleedingIndicatorDropData data = new BleedingIndicatorDropData(dropImage,m_Severity);
135 data.StartDrop();
136
137 m_ActiveDrops.Insert(data);
139 }
140
143 }
void StartDrop()
Определения BleedingDrop.c:154
void SetBasePosition(vector pos)
Определения BleedingDrop.c:182
ref set< ref BleedingIndicatorDropData > m_ActiveDrops
Определения BleedingIndicator.c:28
GameplayEffectsDataBleeding m_ParentMetaData
Определения BleedingIndicator.c:13
int m_Severity
Определения BleedingIndicator.c:11
int m_ActiveDropsCount
Определения BleedingIndicator.c:10
int m_DropSpawnsQueued
Определения BleedingIndicator.c:9
float m_TimeElapsedTotal
Определения BleedingIndicator.c:19
float m_LastDropSpawnTime
Определения BleedingIndicator.c:21
vector m_BasePosition
Определения BleedingIndicator.c:26

Перекрестные ссылки Class::CastTo(), m_ActiveDrops, m_ActiveDropsCount, m_BasePosition, m_DropSpawnsQueued, m_LastDropSpawnTime, m_ParentMetaData, m_Severity, m_TimeElapsedTotal, BleedingIndicatorDropData::SetBasePosition() и BleedingIndicatorDropData::StartDrop().

Используется в StartRunningDrops() и Update().