30 #ifndef AGS_ENGINE_AC_STATOBJ_STATICOBJECT_H 31 #define AGS_ENGINE_AC_STATOBJ_STATICOBJECT_H 33 #include "ags/shared/core/types.h" 41 virtual const char *GetFieldPtr(
const char *address, intptr_t offset) = 0;
42 virtual void Read(
const char *address, intptr_t offset,
void *dest,
int size) = 0;
43 virtual uint8_t ReadInt8(
const char *address, intptr_t offset) = 0;
44 virtual int16_t ReadInt16(
const char *address, intptr_t offset) = 0;
45 virtual int32_t ReadInt32(
const char *address, intptr_t offset) = 0;
46 virtual float ReadFloat(
const char *address, intptr_t offset) = 0;
47 virtual void Write(
const char *address, intptr_t offset,
void *src,
int size) = 0;
48 virtual void WriteInt8(
const char *address, intptr_t offset, uint8_t val) = 0;
49 virtual void WriteInt16(
const char *address, intptr_t offset, int16_t val) = 0;
50 virtual void WriteInt32(
const char *address, intptr_t offset, int32_t val) = 0;
51 virtual void WriteFloat(
const char *address, intptr_t offset,
float val) = 0;
Definition: static_object.h:37