Class Mod
A single mod, consisting of a .txd and optionally a .dff and .col
Inherited Members
Namespace: Slipe.Client.Assets
Assembly: SlipeClient.dll
Syntax
public class Mod
Constructors
| Improve this Doc View SourceMod(Txd, Dff, Col)
Creates a new Mod using TXD, DFF and COL instances
Declaration
public Mod(Txd txd = null, Dff dff = null, Col col = null)
Parameters
Type | Name | Description |
---|---|---|
Txd | txd | |
Dff | dff | |
Col | col |
Mod(String, String, String)
Creates a new mod using TXD, DFF and COL filepaths
Declaration
public Mod(string txdFilepath = null, string dffFilepath = null, string colFilepath = null)
Parameters
Type | Name | Description |
---|---|---|
String | txdFilepath | |
String | dffFilepath | |
String | colFilepath |
Methods
| Improve this Doc View SourceApplyTo(Int32, Boolean)
Downloads, loads and applies all files required for this mod.
Declaration
public void ApplyTo(int model, bool supportsAlpha = false)
Parameters
Type | Name | Description |
---|---|---|
Int32 | model | |
Boolean | supportsAlpha |
Restore(Int32)
Declaration
public void Restore(int model)
Parameters
Type | Name | Description |
---|---|---|
Int32 | model |
Events
| Improve this Doc View SourceOnDownloadComplete
Event that is called after the file has been downloaded
Declaration
public event Mod.OnDownloadCompleteHandler OnDownloadComplete
Event Type
Type | Description |
---|---|
Mod.OnDownloadCompleteHandler |