Click or drag to resize

ModAssets Methods

The ModAssets type exposes the following members.

Methods
  NameDescription
Public methodStatic memberHasAsset
Returns true if any loaded mod conatins an asset with the specified name.
Public methodStatic memberLoad(String)
Attempts to load an asset from a loaded mod. This method will check all loaded mods for an asset with the specified name.
Public methodStatic memberLoadT(String)
Attempts to load an asset from a loaded mod and return the value as the specified generic type. This method will check all loaded mods for an asset with the specified name.
Public methodStatic memberLoadAsync(String)
Attempts to load an asset from a loaded mod asynchronously. This method will check all loaded mods for an asset with the specified name.
Public methodStatic memberLoadAsyncT(String)
Attempts to load an asset from a loaded mod asynchronously and return the result as the specified generic type. This method will check all loaded mods for an asset with the specified name.
Top
See Also