Table of Contents

Class UoFiles

Namespace
Moongate.UO.Data.Files
Assembly
Moongate.UO.Data.dll

Represents UoFiles.

public class UoFiles
Inheritance
UoFiles
Inherited Members

Properties

CacheData

Should loaded Data be cached

public static bool CacheData { get; set; }

Property Value

bool

MulPath

Contains the path infos

public static Dictionary<string, string> MulPath { get; }

Property Value

Dictionary<string, string>

RootDir

public static string RootDir { get; set; }

Property Value

string

UseHashFile

Should a Hashfile be used to speed up loading

public static bool UseHashFile { get; set; }

Property Value

bool

Methods

FindDataFile(string, bool)

public static string? FindDataFile(string fileName, bool throwError = true)

Parameters

fileName string
throwError bool

Returns

string

GetFilePath(string)

public static string GetFilePath(string fileName)

Parameters

fileName string

Returns

string

ReLoadDirectory()

public static void ReLoadDirectory()

ScanForFiles(string)

public static void ScanForFiles(string path = "")

Parameters

path string

SetMulPath(string, string)

Sets MulPath key to path

public static void SetMulPath(string path, string key)

Parameters

path string
key string