Table of Contents

Interface ISupportsOverrides

Namespace
CustomKnight
Assembly
CustomKnight.dll

Interface that must be implemented for your skin to have support for overrides(alternate sheets)

public interface ISupportsOverrides

Methods

GetAllOverrides(string)

GetAllOverrides returns the overrides if a given file has overrides

string[] GetAllOverrides(string FileName)

Parameters

FileName string

A string that identifies the file

Returns

string[]

A string[] of overrides

GetOverride(string)

GetOverride gets the currently selected override (or default)

string GetOverride(string FileName)

Parameters

FileName string

A string that identifies the file

Returns

string

A string that identifies the overridden file

HasOverrides(string)

HasOverrides returns if a given file has overrides

bool HasOverrides(string FileName)

Parameters

FileName string

A string that identifies the file

Returns

bool

A bool representing if the file exists in this skin.

SetOverride(string, string)

SetOverride sets a file as the selected override

void SetOverride(string FileName, string AlternateFileName)

Parameters

FileName string

A string that identifies the file

AlternateFileName string

A string that identifies the alternate file