C# Class Cindeck.ViewModels.UnitViewModel

Inheritance: IViewModel, INotifyPropertyChanged
Exibir arquivo Open project: noelex/Cindeck Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
IsIdolInUse ( OwnedIdol idol ) : bool
OnActivate ( ) : void
OnDeactivate ( ) : void
OnPropertyChanged ( string propertyName, object before, object after ) : void
RemoveIdolFromUnits ( OwnedIdol idol ) : void
UnitViewModel ( AppConfig config, MainViewModel mvm ) : Cindeck.Core

Private Methods

Method Description
CanHighlight ( string target ) : bool
CanMoveToSlot ( string target ) : bool
CanResetSlot ( string target ) : bool
CopyIid ( ) : void
CopyIidFromSlot ( string slot ) : void
Delete ( ) : void
Highlight ( string target ) : void
MoveToSlot ( string target ) : void
ResetSlot ( string target ) : void
Save ( ) : void
SendToSlot ( string slot ) : void
SetGuestCenter ( ) : void
SetGuestCenterFromSlot ( string slot ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

IsIdolInUse() public method

public IsIdolInUse ( OwnedIdol idol ) : bool
idol Cindeck.Core.OwnedIdol
return bool

OnActivate() public method

public OnActivate ( ) : void
return void

OnDeactivate() public method

public OnDeactivate ( ) : void
return void

OnPropertyChanged() public method

public OnPropertyChanged ( string propertyName, object before, object after ) : void
propertyName string
before object
after object
return void

RemoveIdolFromUnits() public method

public RemoveIdolFromUnits ( OwnedIdol idol ) : void
idol Cindeck.Core.OwnedIdol
return void

UnitViewModel() public method

public UnitViewModel ( AppConfig config, MainViewModel mvm ) : Cindeck.Core
config Cindeck.Core.AppConfig
mvm MainViewModel
return Cindeck.Core