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

◆ GetParticleIDLegacy()

int ParticleSource::GetParticleIDLegacy ( )
inlineprivate

Gets the ParticleList ID of the currently assigned particle.

Заметки
This is because the new GetParticleID will only work when every particle file name has a unique name In case this is not the case, then this method is what one will want to use
Возвращает
int ID of particle registered in ParticleList

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

517 {
518 string path;
519 if (GetParticle(path, EGetParticleMode.NO_EXT))
520 return ParticleList.GetParticleID(path);
521 else
522 return -1;
523 }
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::GetParticleID() и path.