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

◆ GetParticleID()

override int ParticleSource::GetParticleID ( )
inlineprivate

Gets the ParticleList ID of the currently assigned particle.

Возвращает
int ID of particle registered in ParticleList

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

502 {
503 string path;
504 if (GetParticle(path, EGetParticleMode.FILE))
505 return ParticleList.GetParticleIDByName(path);
506 else
507 return -1;
508 }
string path
Определения OptionSelectorMultistate.c:142
bool GetParticle(out string path, EGetParticleMode mode)
Gets the path to the currently assigned particle.
Определения ParticleSource.c:492

Перекрестные ссылки GetParticle(), ParticleList::GetParticleIDByName() и path.