User Tools

Site Tools


eliteapi:functions:player:haskeyitem

HasKeyItem

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

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

Parameters

  • 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)