Skip to content

Type Alias: TXR_fs_type

ts
type TXR_fs_type = 
  | typeof FSType_Virtual
  | typeof FSType_External
  | typeof FSType_Any;

OpenXRay filesystem scope accepted by FS.exist() overloads that return FileStatus.

Since

OpenXRay 2014-11-02, 827c9f58

Source

src/xrGame/fs_registrator_script.cpp, FS.FSType enum.

Remarks

FSType_Virtual searches mounted game paths, FSType_External searches external filesystem paths, and FSType_Any allows either source. Original vanilla FS.exist(path) overloads do not accept this argument and return an fs_file descriptor instead.