C# Class Cindeck.Core.Simulator

Inheritance: INotifyPropertyChanged
Afficher le fichier Open project: noelex/Cindeck Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

public OnPropertyChanged ( string propertyName, object before, object after ) : void
propertyName string
before object
after object
Résultat void

Reload() public méthode

public Reload ( ) : void
Résultat void

Simulator() public méthode

public Simulator ( AppConfig config ) : PropertyChanged
config AppConfig
Résultat PropertyChanged

StartSimulation() public méthode

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