CGUnit_C::KnowsSpell
function · objectlayer · primitive
- Address
0x60c740· 128 bytes, up to0x60c7bf- Meaning
- Returns whether the active player or the pet bar's unit knows a spell
- Confidence
- verified, proof one
- Finding
- objectlayer/units#known-spells-skills-and-prices
Finding: Known spells, skills and prices in objectlayer: units
0x60c740 tells whether a unit knows a spell: the active player by its known-spell bits, the pet
bar's unit by its spell list. 0x60c7c0 finds a spell's skill line ability for a creature family
or a race and class; 0x60c840 raises a spell's level to its skill's, 0x60c8d0 finds a known
higher rank. 0x612b80 gives a vendor's discount.
The derivation is in the doc.
Callers 17
- ReevaluateTrainerStates ui
- Script::GetTrainerServiceAbilityReq ui
- RefreshSpellBook ui
- Script::GetTalentInfo ui
- Script::GetTalentPrereqs ui
- Script::LearnTalent ui
- BuildCraftList ui
- Script::GetTradeSkillItemStats ui
- CGTooltip::BuildPassiveTalent ui
- CGTooltip::AddTalentRequirements ui
- CGTooltip::BuildItem ui
- CGTooltip::BuildSpell ui
- GameTooltip::SetTalent ui
- CGPlayer_C::OnActiveArrival objectlayer
- CGPlayer_C::CanUseItem objectlayer
- CheckCasterStateForSpell objectlayer
- CGUnit_C::KnowsHigherRank objectlayer
Callees 1
- IsActivePlayerUnit objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.