C# Class CardIdleRemastered.AccountModel

Inheritance: ObservableModel, IDisposable
Show file Open project: AlexanderSharykin/CardIdleRemastered Class Usage Examples

Public Properties

Property Type Description
StartParam string
StopParam string

Public Methods

Method Description
AccountModel ( ) : System
AddBadge ( BadgeModel badge ) : void
Dispose ( ) : void
InitSteamTimer ( ) : void

Initialize timer to regularly check Steam client status

LoadAccount ( ) : void

Load account when application starts

RemoveBadge ( BadgeModel badge ) : void
UpdateTotalValues ( ) : void

Updates number of badges and remaining cards

Private Methods

Method Description
AddGame ( ) : void
BadgeIdleStatusChanged ( object sender, PropertyChangedEventArgs e ) : void
BlacklistBadge ( object parameter ) : void
CanEnqueueBadge ( object o ) : bool
CanIdle ( object parameter ) : bool
CanSetHigherPriority ( object o ) : bool
CanSetLowerPriority ( object o ) : bool
CanSetPriority ( object o, int priority ) : bool
CanStartBadgeIdle ( object o ) : bool
CanStopBadgeIdle ( object o ) : bool
CheckAuth ( ) : Task
CheckIdleStatus ( ) : void

Updates number of active idle processes

DequeueAll ( ) : void

Removes all selected badges from idle queue

DequeueBadge ( object o ) : void
EnqueueAll ( object parameter ) : void

Adds selected badges to idle queue

EnqueueBadgeHigh ( object o ) : void
EnqueueBadgeLow ( object o ) : void
Idle ( object parameter ) : void
InitProfile ( ) : System.Threading.Tasks.Task
Login ( ) : void
Logout ( ) : void

Log out from current account

PropertySearchFunc ( ) : Predicate
RemoveGame ( object o ) : void
SaveConfiguration ( object sender, PropertyChangedEventArgs e ) : void
SelectGame ( int id ) : void
SetFilter ( ) : void

Applies selected filter to collection of badges

SetHigherPriority ( object o ) : void
SetLowerPriority ( object o ) : void
SetPriority ( object o, int priority ) : void
SettingsDialog ( ) : void
StartBadgeIdle ( object o ) : void
StopBadgeIdle ( object o ) : void
StopIdle ( ) : void
TitleSearchFunc ( ) : Predicate

Method Details

AccountModel() public method

public AccountModel ( ) : System
return System

AddBadge() public method

public AddBadge ( BadgeModel badge ) : void
badge BadgeModel
return void

Dispose() public method

public Dispose ( ) : void
return void

InitSteamTimer() public method

Initialize timer to regularly check Steam client status
public InitSteamTimer ( ) : void
return void

LoadAccount() public method

Load account when application starts
public LoadAccount ( ) : void
return void

RemoveBadge() public method

public RemoveBadge ( BadgeModel badge ) : void
badge BadgeModel
return void

UpdateTotalValues() public method

Updates number of badges and remaining cards
public UpdateTotalValues ( ) : void
return void

Property Details

StartParam public static property

public static string StartParam
return string

StopParam public static property

public static string StopParam
return string