DayZ 1.30
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 строка 520

521 {
522 string path;
523 if (GetParticle(path, EGetParticleMode.NO_EXT))
524 return ParticleList.GetParticleID(path);
525 else
526 return -1;
527 }
string path
Определения OptionSelectorMultistate.c:142
bool GetParticle(out string path, EGetParticleMode mode)
Gets the path to the currently assigned particle.
Определения ParticleSource.c:496

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