Helper function for EffectRegister to decide an Effect ID.
- Возвращает
int A currently unused Effect ID
См. определение в файле EffectManager.c строка 409
410 {
411 int return_id;
412
414 {
417 }
418 else
419 {
422 }
423
424 return return_id;
425 }
static ref array< int > m_FreeEffectIDs
Static array of IDs that were previously used, but freed up by unregistering.
static int m_HighestFreeEffectID
Counter for quickly getting the next ID if FreeEffectIDs array is empty.
Перекрестные ссылки m_FreeEffectIDs и m_HighestFreeEffectID.
Используется в EffectRegister().