Helper function for EffectRegister to decide an Effect ID.
- Возвращает
int
A currently unused Effect ID
См. определение в файле EffectManager.c строка 400
401 {
402 int return_id;
403
405 {
408 }
409 else
410 {
413 }
414
415 return return_id;
416 }
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().