# VirtualFileSimple¶

class VirtualFileSimple

Bases: VirtualFile

A simple file or directory within the VirtualFileSystem: this maps to exactly one file on one mount point. Most directories, and all regular files, are of this kind.

Inheritance diagram

static TypeHandle get_class_type(void)
VirtualFileMount *get_mount(void) const

Returns the VirtualFileMount this file is associated with.

bool is_implicit_pz_file(void) const

Returns true if this file is a .pz file that should be implicitly decompressed on load, or false if it is not a .pz file or if it should not be decompressed.