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" 32 #include "ags/shared/util/stream.h" 38 static const char *TypeName;
53 inline static const Header &GetHeader(
const void *address) {
54 return reinterpret_cast<const Header &
>(*(
static_cast<const uint8_t *
>(address) - MemHeaderSz));
61 const char *GetType()
override;
62 int Dispose(
void *address,
bool force)
override;
67 static const size_t MemHeaderSz =
sizeof(
Header);
69 static const size_t FileHeaderSz =
sizeof(uint32_t) * 0;
73 size_t CalcSerializeSize(
const void *address)
override;
79 namespace ScriptStructHelpers {
Definition: cc_script_object.h:50
Definition: cc_ags_dynamic_object.h:88
Definition: geometry.h:148
Definition: script_user_object.h:36