ScummVM API documentation
AGS3::sc_File Struct Referencefinal
Inheritance diagram for AGS3::sc_File:
AGS3::CCBasicObject AGS3::IScriptObject

Public Member Functions

int Dispose (void *address, bool force) override
 
const char * GetType () override
 
int Serialize (void *address, uint8_t *buffer, int bufsize) override
 
int OpenFile (const char *filename, int mode)
 
void Close ()
 
- Public Member Functions inherited from AGS3::CCBasicObject
void * GetFieldPtr (void *address, intptr_t offset) override
 
void Read (void *address, intptr_t offset, uint8_t *dest, size_t size) override
 
uint8_t ReadInt8 (void *address, intptr_t offset) override
 
int16_t ReadInt16 (void *address, intptr_t offset) override
 
int32_t ReadInt32 (void *address, intptr_t offset) override
 
float ReadFloat (void *address, intptr_t offset) override
 
void Write (void *address, intptr_t offset, const uint8_t *src, size_t size) override
 
void WriteInt8 (void *address, intptr_t offset, uint8_t val) override
 
void WriteInt16 (void *address, intptr_t offset, int16_t val) override
 
void WriteInt32 (void *address, intptr_t offset, int32_t val) override
 
void WriteFloat (void *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: