C# Class PresetViewerPlugin.Calculator

Mostra file Open project: ruhiel/PresetViewerPlugin

Public Methods

Method Description
CalcAirSuperiorityPotential ( this ship ) : int

指定した艦の制空能力を計算します。

CalcAirSuperiorityPotential ( this slotItem, int onslot ) : int

装備と搭載数を指定して、スロット単位の制空能力を計算します。

CalcMaxAirSuperiorityPotential ( this ship ) : int

指定した艦の制空能力の最大値を計算します。

CalcMinAirSuperiorityPotential ( this ship ) : int

指定した艦の制空能力の最小値を計算します。

CalcViewRange ( this fleet ) : double
IsHeavilyDamage ( this hp ) : bool
WithoutEvacuated ( this ships ) : IEnumerable

現在のシーケンスから護衛退避した艦娘を除きます。

Private Methods

Method Description
CalcAirecraftAdeptBonusOfType ( this slotItem ) : int

各表記熟練度に対応した機種別熟練度ボーナスを計算します。

CalcMaxAirecraftAdeptBonus ( this slotItem, int onslot ) : double

熟練度による制空能力ボーナス最大値を計算します。

CalcMaxInternalAirecraftAdeptBonus ( this slotItem ) : double

各表記熟練度に対応した艦載機内部熟練度ボーナスの最大値を計算します。

CalcMinAirecraftAdeptBonus ( this slotItem, int onslot ) : double

熟練度による制空能力ボーナス最小値を計算します。

CalcMinInternalAirecraftAdeptBonus ( this slotItem ) : double

各表記熟練度に対応した艦載機内部熟練度ボーナスの最小値を計算します。

Method Details

CalcAirSuperiorityPotential() public static method

指定した艦の制空能力を計算します。
public static CalcAirSuperiorityPotential ( this ship ) : int
ship this
return int

CalcAirSuperiorityPotential() public static method

装備と搭載数を指定して、スロット単位の制空能力を計算します。
public static CalcAirSuperiorityPotential ( this slotItem, int onslot ) : int
slotItem this 対空能力を持つ装備。
onslot int 搭載数。
return int

CalcMaxAirSuperiorityPotential() public static method

指定した艦の制空能力の最大値を計算します。
public static CalcMaxAirSuperiorityPotential ( this ship ) : int
ship this
return int

CalcMinAirSuperiorityPotential() public static method

指定した艦の制空能力の最小値を計算します。
public static CalcMinAirSuperiorityPotential ( this ship ) : int
ship this
return int

CalcViewRange() public static method

public static CalcViewRange ( this fleet ) : double
fleet this
return double

IsHeavilyDamage() public static method

public static IsHeavilyDamage ( this hp ) : bool
hp this
return bool

WithoutEvacuated() public static method

現在のシーケンスから護衛退避した艦娘を除きます。
public static WithoutEvacuated ( this ships ) : IEnumerable
ships this
return IEnumerable