User Tools

Site Tools


eliteapi:functions:entity:getentitydata

GetEntityData

Reads data at the given offset within an entity entry of the given size.

ELITEAPI_API bool __stdcall GetEntityData(void* apiObject, int index, int offset, LPVOID lpBuffer, int size);

Parameters

  • apiObject [in]
    • A handle to an EliteAPI object.
  • index [in]
    • The index of the entity to obtain.
  • offset [in]
    • The offset within the entities structure to begin reading at.
  • lpBuffer [in-out]
    • Pointer to a buffer to hold the data read.
  • size [in]
    • The size of data to read. (Also the size of the buffer the data will be written to.)

Return Value

Returns true on success, false otherwise.

eliteapi/functions/entity/getentitydata.txt · Last modified: 2014/12/07 23:27 by atom0s