Méthode | Description | |
---|---|---|
AddOrUpdate ( |
Adds or update the given profile. Updates occur when a profile with the same name and game exist.
|
|
DeleteProfile ( |
||
ExportProfile ( |
Exports the given profile to the provided path in XML
|
|
GetAll ( ) : List |
Get all profiles
|
|
GetAll ( |
Get all profiles matching the provided game
|
|
InsertGif ( IEnumerable |
||
LoadProfileIfValid ( string path ) : |
Attempts to load a profile from a given path
|
|
RenameProfile ( |
Renames the profile on the model and filesystem
|
Méthode | Description | |
---|---|---|
CheckProfiles ( ) : void |
Makes sure the profile directory structure is in order and places default profiles
|
|
InstallDefaults ( ) : void |
Unpacks the default profiles into the profile directory
|
|
ReadProfiles ( ) : void |
public static AddOrUpdate ( |
||
prof | The profile to add or update | |
Résultat | void |
public static DeleteProfile ( |
||
prof | ||
Résultat | void |
public static ExportProfile ( |
||
prof | The profile to export | |
path | string | The path to save the profile to |
Résultat | void |
public static GetAll ( |
||
game | The game to match | |
keyboard | The keyboard to match | |
Résultat | List |
public static InsertGif ( IEnumerable |
||
profileModels | IEnumerable |
|
layerName | string | |
gifFile | ||
fileName | string | |
Résultat | void |
public static LoadProfileIfValid ( string path ) : |
||
path | string | The absolute path to load the profile from |
Résultat |
public static RenameProfile ( |
||
profile | The profile to rename | |
name | string | The new name |
Résultat | void |