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

◆ CreateParticleServer()

static int SEffectManager::CreateParticleServer ( vector pos,
EffecterParameters parameters )
inlinestaticprotected

returns unique effecter ID

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

578 {
579 EffecterBase eff;
580 eff = EffecterBase.Cast(GetGame().CreateObjectEx(parameters.m_EffecterType, pos, ECE_PLACE_ON_SURFACE));
581
582 if (eff)
583 {
584 int id = GetFreeEffecterID();
585 m_EffectersMap.Insert(id, eff);
586 }
587
588 eff.Init(id, parameters);
589 return id;
590 }
const int ECE_PLACE_ON_SURFACE
Определения CentralEconomy.c:37
void EffecterBase()
Определения EffectManager.c:690
static int GetFreeEffecterID()
Определения EffectManager.c:344
static ref map< int, EffecterBase > m_EffectersMap
Определения EffectManager.c:26
proto native CGame GetGame()

Перекрестные ссылки ECE_PLACE_ON_SURFACE, EffecterBase(), EffecterParameters(), GetFreeEffecterID(), GetGame() и m_EffectersMap.

Используется в CheckContactCache(), ActionMineBush::OnExecuteServer(), OnExecuteServer(), ItemBase::PlayCatchParticleSynced() и ActionFishingNew::PlaySplashEffectSynced().