dreamworkAPI
Ctrl K
GitHub
typeDocs / dreamwork / vfs / Mount

dreamwork.vfs.Mount

typesource

Fields

NameTypeDescription
pathstringThe absolute virtual path of the mount.
search_pathstringThe search path, e.g. MOD, DATA or hl2.
search_directorystringThe directory inside of the search path, empty string for its root.
writablebooleanIf true, files and directories can be created and written.
deletablebooleanIf true, files and directories can be deleted.
extensionstable<string, boolean> | nilThe map of extensions allowed to write, nil allows any extension.
nodedreamwork.vfs.NodeThe root directory of the mount.
Generated from the dreamwork meta branch.