C# Class Cindeck.Core.Simulator

Inheritance: INotifyPropertyChanged
Datei anzeigen Open project: noelex/Cindeck Class Usage Examples

Public Methods

Method Description
OnPropertyChanged ( string propertyName, object before, object after ) : void
Reload ( ) : void
Simulator ( AppConfig config ) : PropertyChanged
StartSimulation ( Random rng, int id, Queue pattern = null ) : SimulationResult

Private Methods

Method Description
CalculateAppeal ( AppealType targetAppeal, IIdol idol, bool isSupportMember, bool encore = false ) : int
CalculateAppeal ( IIdol idol, bool isSupportMember = false, bool encore = false ) : int
CalculateComboRate ( int comboNotes, int totalNotes ) : double
CalculateLife ( Unit unit, Idol guest ) : int
CheckSkillDueTime ( double frame ) : void
CreateGuestWithPotential ( IIdol guest ) : Idol
GetAppealUpRate ( IIdol idol, IIdol center, AppealType targetAppeal ) : double
GetSkillTriggerProbability ( OwnedIdol idol, IIdol center, IIdol guestCenter, Song song ) : double
SelectSupportMembers ( ) : List

Method Details

OnPropertyChanged() public method

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

Reload() public method

public Reload ( ) : void
return void

Simulator() public method

public Simulator ( AppConfig config ) : PropertyChanged
config AppConfig
return PropertyChanged

StartSimulation() public method

public StartSimulation ( Random rng, int id, Queue pattern = null ) : SimulationResult
rng System.Random
id int
pattern Queue
return SimulationResult