ScummVM API documentation
AGS3::sc_File Struct Referencefinal
Inheritance diagram for AGS3::sc_File:
AGS3::ICCDynamicObject

Public Member Functions

int Dispose (const char *address, bool force) override
 
const char * GetType () override
 
int Serialize (const char *address, char *buffer, int bufsize) override
 
int OpenFile (const char *filename, int mode)
 
void Close ()
 
const char * GetFieldPtr (const char *address, intptr_t offset) override
 
void Read (const char *address, intptr_t offset, void *dest, int size) override
 
uint8_t ReadInt8 (const char *address, intptr_t offset) override
 
int16_t ReadInt16 (const char *address, intptr_t offset) override
 
int32_t ReadInt32 (const char *address, intptr_t offset) override
 
float ReadFloat (const char *address, intptr_t offset) override
 
void Write (const char *address, intptr_t offset, void *src, int size) override
 
void WriteInt8 (const char *address, intptr_t offset, uint8_t val) override
 
void WriteInt16 (const char *address, intptr_t offset, int16_t val) override
 
void WriteInt32 (const char *address, intptr_t offset, int32_t val) override
 
void WriteFloat (const char *address, intptr_t offset, float val) override
 

Public Attributes

int32_t handle
 

Static Public Attributes

static const Shared::FileOpenMode fopenModes []
 
static const Shared::FileWorkMode fworkModes []
 

The documentation for this struct was generated from the following file: