OpenBF1942-Plus
Refractor 1, rebuilt from scratch
Loading...
Searching...
No Matches
con.Vfs Class Reference

Public Member Functions

 __init__ (self, files=None)
 mount (self, mod_dir)
 read (self, path)

Public Attributes

 files = dict(files or {})

Detailed Description

Lower-cased path -> bytes, or a pointer into an archive read on demand.

Constructor & Destructor Documentation

◆ __init__()

con.Vfs.__init__ ( self,
files = None )

Member Function Documentation

◆ mount()

con.Vfs.mount ( self,
mod_dir )
Later mounts override earlier ones; within a mod, patches override base archives.

◆ read()

con.Vfs.read ( self,
path )

Member Data Documentation

◆ files

con.Vfs.files = dict(files or {})

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