ScummVM
ADGameFileDescription Struct Reference

A record describing a file to be matched for detecting a specific game variant. More...

#include <advancedDetector.h>

Public Attributes

const char * fileName
 Name of described file. More...
 
uint16 fileType
 Optional. Not used during detection, only by engines. More...
 
const char * md5
 MD5 of (the beginning of) the described file. Optional. Set to NULL to ignore. More...
 
int32 fileSize
 Size of the described file. Set to -1 to ignore. More...
 

Detailed Description

A record describing a file to be matched for detecting a specific game variant.

A list of such records is used inside every ADGameDescription to enable detection.

Definition at line 43 of file advancedDetector.h.

Member Data Documentation

◆ fileName

const char* ADGameFileDescription::fileName

Name of described file.

Definition at line 44 of file advancedDetector.h.

◆ fileSize

int32 ADGameFileDescription::fileSize

Size of the described file. Set to -1 to ignore.

Definition at line 47 of file advancedDetector.h.

◆ fileType

uint16 ADGameFileDescription::fileType

Optional. Not used during detection, only by engines.

Definition at line 45 of file advancedDetector.h.

◆ md5

const char* ADGameFileDescription::md5

MD5 of (the beginning of) the described file. Optional. Set to NULL to ignore.

Definition at line 46 of file advancedDetector.h.


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