MCPcopy Create free account
hub / github.com/Norbyte/ositools / IsTalentRemoved

Method IsTalentRemoved

OsiInterface/DivInterface.cpp:591–599  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

589 }
590
591 bool CharacterDynamicStat::IsTalentRemoved(TalentType talent)
592 {
593 uint32_t idx = (uint32_t)talent;
594 if (idx <= 0 || idx > (uint32_t)TALENT_Max) {
595 return false;
596 }
597
598 return (RemovedTalents[(uint32_t)idx >> 5] & (1 << (idx & 0x1f))) != 0;
599 }
600
601
602 EnumInfo<CriticalRoll>::Label const EnumInfo<CriticalRoll>::Values[] = {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected