28 #ifndef AGS_ENGINE_DYNOBJ__SCRIPTUSERSTRUCT_H 29 #define AGS_ENGINE_DYNOBJ__SCRIPTUSERSTRUCT_H 31 #include "ags/engine/ac/dynobj/cc_ags_dynamic_object.h" 47 const char *GetType()
override;
48 int Dispose(
const char *address,
bool force)
override;
51 int Serialize(
const char *address,
char *buffer,
int bufsize)
override;
55 const char *GetFieldPtr(
const char *address, intptr_t offset)
override;
56 void Read(
const char *address, intptr_t offset,
void *dest,
int size)
override;
57 uint8_t ReadInt8(
const char *address, intptr_t offset)
override;
58 int16_t ReadInt16(
const char *address, intptr_t offset)
override;
59 int32_t ReadInt32(
const char *address, intptr_t offset)
override;
60 float ReadFloat(
const char *address, intptr_t offset)
override;
61 void Write(
const char *address, intptr_t offset,
void *src,
int size)
override;
62 void WriteInt8(
const char *address, intptr_t offset, uint8_t val)
override;
63 void WriteInt16(
const char *address, intptr_t offset, int16_t val)
override;
64 void WriteInt32(
const char *address, intptr_t offset, int32_t val)
override;
65 void WriteFloat(
const char *address, intptr_t offset,
float val)
override;
80 namespace ScriptStructHelpers {
Definition: cc_dynamic_object.h:51
Definition: script_user_object.h:35