Class AssetCache
Handles asset precaching on the server so it can be sent to clients.
public static class AssetCache
- Inheritance
-
AssetCache
- Inherited Members
Properties
MapDocument
public static ElegyMapDocument MapDocument { get; }
Property Value
MaterialRefs
public static Dictionary<string, int> MaterialRefs { get; }
Property Value
ModelRefs
public static Dictionary<string, int> ModelRefs { get; }
Property Value
OtherFileRefs
public static Dictionary<string, int> OtherFileRefs { get; }
Property Value
Registry
public static AssetRegistry Registry { get; }
Property Value
SoundRefs
public static Dictionary<string, int> SoundRefs { get; }
Property Value
Methods
InitLevel(ElegyMapDocument)
public static void InitLevel(ElegyMapDocument mapDocument)
Parameters
mapDocumentElegyMapDocument
LinkModel(string)
public static void LinkModel(string name)
Parameters
namestring
LoadModel(string)
public static Model? LoadModel(string name)
Parameters
namestring
Returns
UnlinkModel(string)
public static void UnlinkModel(string name)
Parameters
namestring