User Tools

Site Tools


eliteapi:functions:entity:setentitydata

SetEntityData

Sets the data within a given entities structure at the given offset.

ELITEAPI_API bool __stdcall SetEntityData(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 write the data to.
  • offset [in]
    • The offset within the entity to write the data to.
  • lpBuffer [in-out]
    • The buffer holding the data to write to the entity.
  • size [in]
    • The size of the buffer to write.

Return Value

Returns true on success, false otherwise.

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