C# Class ElectronicObserver.Data.Battle.BattleData

戦闘情報を保持するデータの基底です。
Inheritance: ResponseWrapper
Datei anzeigen Open project: RadarNyan/ElectronicObserver-ML Class Usage Examples

Protected Properties

Property Type Description
_attackDamages int[]
_resultHPs int[]

Public Methods

Method Description
GetBattleDetail ( ) : string

すべての戦闘詳細データを取得します。

GetBattleDetail ( int index ) : string

指定したインデックスの艦の戦闘詳細データを取得します。

GetPhases ( ) : IEnumerable
LoadFromResponse ( string apiname, dynamic data ) : void

Private Methods

Method Description
TakeOverParameters ( BattleData prev ) : void

前回の戦闘データからパラメータを引き継ぎます。

Method Details

GetBattleDetail() public method

すべての戦闘詳細データを取得します。
public GetBattleDetail ( ) : string
return string

GetBattleDetail() public method

指定したインデックスの艦の戦闘詳細データを取得します。
public GetBattleDetail ( int index ) : string
index int インデックス。[0-23]
return string

GetPhases() public abstract method

public abstract GetPhases ( ) : IEnumerable
return IEnumerable

LoadFromResponse() public method

public LoadFromResponse ( string apiname, dynamic data ) : void
apiname string
data dynamic
return void

Property Details

_attackDamages protected_oe property

protected int[] _attackDamages
return int[]

_resultHPs protected_oe property

protected int[] _resultHPs
return int[]