Skip to content

Class VfsScriptFiles

Namespace: Apogee.Scripting
Assembly: Apogee.Scripting.dll

Scripts from the content file system: res://main.luau, mod://my_mod/ui.luau. Give it to and add the prefixes scripts may load from with .

public sealed class VfsScriptFiles : IScriptFileSystem

Inheritance

object ← VfsScriptFiles

Implements

IScriptFileSystem

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

VfsScriptFiles(VirtualFileSystem)

Scripts from the content file system: res://main.luau, mod://my_mod/ui.luau. Give it to and add the prefixes scripts may load from with .

public VfsScriptFiles(VirtualFileSystem files)

Parameters

files VirtualFileSystem

Methods

DirectoryExists(string)

public bool DirectoryExists(string path)

Parameters

path string

Returns

bool

FileExists(string)

public bool FileExists(string path)

Parameters

path string

Returns

bool

ReadAllText(string)

public string ReadAllText(string path)

Parameters

path string

Returns

string