User Tools

Site Tools


eliteapi:functions:craftmenu:setcraftitem

SetCraftItem

Sets a craft item in the current craft menu.

ELITEAPI_API bool __stdcall SetCraftItem(void* apiObject, int index, unsigned short itemId, unsigned char itemIndex, unsigned char itemCount);

Parameters

  • apiObject [in]
    • A handle to an EliteAPI object.
  • index [in]
    • The index of the craft item to set.
  • itemId [in]
    • The item id to set the craft item to.
  • itemIndex [in]
    • The item index to set the craft item to.
  • itemCount [in]
    • The item count to set the craft item to.

Return Value

Returns true on success, false otherwise.

eliteapi/functions/craftmenu/setcraftitem.txt · Last modified: 2014/12/06 23:12 by atom0s