User Tools

Site Tools



Determines if the player has the given key item by its id.

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


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

Return Value

True if the player has the key item, false otherwise.

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