См. определение в файле StateManager.c строка 496
497 {
499
501 {
503 if (!symptom)
504 {
505 ErrorEx(
"Symptom not registered");
506
507 return null;
508 }
509
510 if (uid == -1)
512
514
516 ErrorEx(
string.Format(
"Symptoms: Unique ID (=%1) already exists!", uid));
517
520
521 }
522
523 return symptom;
524 }
void IncreaseSymptomCount(int symptom_id)
ref map< int, SymptomBase > m_SymptomsUIDs
ref map< int, ref SymptomBase > m_AvailableSymptoms
void Init(SymptomManager manager, PlayerBase player, int uid)
Перекрестные ссылки CreateUniqueID(), ErrorEx, IncreaseSymptomCount(), SymptomBase::Init(), m_AvailableSymptoms, m_Player и m_SymptomsUIDs.
Используется в QueueUpPrimarySymptom() и QueueUpSecondarySymptomEx().