User Tools

Site Tools


eliteapi:functions:player:haspetcommand

HasPetCommand

Determines if the player has the given pet ability by its id.

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

Parameters

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

Return Value

True if the player has the pet ability, false otherwise.

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