User Tools

Site Tools


eliteapi:functions:player:hasspell

HasSpell

Determines if the player has the given spell by its id.

ELITEAPI_API bool __stdcall HasSpell(void* apiObject, unsigned int id);

Parameters

  • apiObject [in]
    • A handle to an EliteAPI object.
  • id [in]
    • The id of the spell to lookup.

Return Value

True if the player has the spell, false otherwise.

eliteapi/functions/player/hasspell.txt · Last modified: 2014/12/08 02:28 (external edit)