OpenTTD Source: SQFile Class Reference

OpenTTD Source 15.0-beta1

Public Member Functions | Private Attributes
SQFile Class Reference

## Public Member Functions
| SQFile (FileHandle file, size_t size)
size_t | Read (void *buf, size_t elemsize, size_t count)

## Private Attributes
FileHandle | file
size_t | size
size_t | pos

## Detailed Description

Definition at line 549 of file squirrel.cpp.

## Constructor & Destructor Documentation

## ◆ SQFile()

SQFile::SQFile | ( | FileHandle | file,
|  | size_t | size
| ) |  |
| inline

Definition at line 556 of file squirrel.cpp.

## Member Function Documentation

## ◆ Read()

size_t SQFile::Read | ( | void * | buf,
|  | size_t | elemsize,
|  | size_t | count
| ) |  |
| inline

Definition at line 558 of file squirrel.cpp.

## Field Documentation

## ◆ file

FileHandle SQFile::file
| private

Definition at line 551 of file squirrel.cpp.

## ◆ pos

size_t SQFile::pos
| private

Definition at line 553 of file squirrel.cpp.

## ◆ size

size_t SQFile::size
| private

Definition at line 552 of file squirrel.cpp.

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

- src/script/squirrel.cpp