40 #ifndef AGS_ENGINE_AC_DYNOBJ_CCDYNAMIC_OBJECT_H 41 #define AGS_ENGINE_AC_DYNOBJ_CCDYNAMIC_OBJECT_H 43 #include "ags/engine/ac/dynobj/cc_script_object.h" 47 namespace AGS {
namespace Shared {
class Stream; } }
61 int Dispose(
void * ,
bool )
override;
64 int Serialize(
void * , uint8_t * ,
int )
override;
69 void *GetFieldPtr(
void *address, intptr_t offset)
override;
70 void Read(
void *address, intptr_t offset, uint8_t *dest,
size_t size)
override;
71 uint8_t ReadInt8(
void *address, intptr_t offset)
override;
72 int16_t ReadInt16(
void *address, intptr_t offset)
override;
73 int32_t ReadInt32(
void *address, intptr_t offset)
override;
74 float ReadFloat(
void *address, intptr_t offset)
override;
75 void Write(
void *address, intptr_t offset,
const uint8_t *src,
size_t size)
override;
76 void WriteInt8(
void *address, intptr_t offset, uint8_t val)
override;
77 void WriteInt16(
void *address, intptr_t offset, int16_t val)
override;
78 void WriteInt32(
void *address, intptr_t offset, int32_t val)
override;
79 void WriteFloat(
void *address, intptr_t offset,
float val)
override;
93 int Serialize(
void *address, uint8_t *buffer,
int bufsize)
override;
100 virtual size_t CalcSerializeSize(
const void *address) = 0;
112 const char *GetType()
override {
return "StaticObject"; }
Definition: achievements_tables.h:27
Definition: cc_ags_dynamic_object.h:108
Definition: cc_script_object.h:60
Definition: cc_ags_dynamic_object.h:88
Definition: cc_ags_dynamic_object.h:56