Searched refs:g_abilityList (Results 1 – 2 of 2) sorted by relevance
21 static CfAbility g_abilityList[CF_ABILITY_MAX_SIZE] = {{0}}; variable26 if (g_abilityList[i].id == id) { in RegisterAbility()28 } else if (g_abilityList[i].id != 0) { in RegisterAbility()32 g_abilityList[i].id = id; in RegisterAbility()33 g_abilityList[i].func = func; in RegisterAbility()43 if (g_abilityList[i].id == id) { in GetAbility()44 return g_abilityList[i].func; in GetAbility()
23 static struct HksAbility g_abilityList[HKS_ABILITY_MAX_SIZE] = {{0}}; variable28 if (g_abilityList[i].id == id) { in RegisterAbility()30 } else if (g_abilityList[i].id != 0) { in RegisterAbility()33 g_abilityList[i].id = id; in RegisterAbility()34 g_abilityList[i].func = func; in RegisterAbility()45 if (g_abilityList[i].id == id) { in GetAbility()46 return g_abilityList[i].func; in GetAbility()