C# Class BattleInfoPlugin.Models.Repositories.EnemyDataProvider

Mostra file Open project: Yoctillion/BattleInfoPlugin Class Usage Examples

Private Properties

Property Type Description
EnemyDataProvider System
GetComparer EnemyDataComparer
GetEnemiesFleetsById BattleFleet
GetEnemiesFromId IEnumerable>
GetEnemyEncounterRankFromId int[]
GetEnemyFormationFromId Formation
GetEnemyNameFromId string
RemoveDuplicate bool
SkipWhile void
SplitData int[][]
TakeWhile int[]
_RemoveEnemy void

Public Methods

Method Description
EnemyDataProvider ( string filePath ) : System
GetMapCellBattleTypes ( ) : Dictionary>
GetMapCellDatas ( ) : List>.Dictionary
GetMapEnemies ( ) : Dictionary>>
GetMapEnemiesNew ( ) : Dictionary>>
Merge ( string path ) : bool
Reload ( ) : void
RemoveEnemy ( string enemyId ) : void
Save ( ) : void

Private Methods

Method Description
EnemyDataProvider ( PluginSettings EnemyDataFileName ) : System
GetComparer ( ) : EnemyDataComparer
GetEnemiesFleetsById ( string enemy ) : BattleFleet
GetEnemiesFromId ( string enemyId ) : IEnumerable>
GetEnemyEncounterRankFromId ( string enemyId ) : int[]
GetEnemyFormationFromId ( string enemyId ) : Formation
GetEnemyNameFromId ( string enemyId ) : string
RemoveDuplicate ( ) : bool
SkipWhile ( int source, int &position, bool>.Func filter ) : void
SplitData ( int source ) : int[][]
TakeWhile ( int source, int &position, bool>.Func filter ) : int[]
_RemoveEnemy ( string enemyId ) : void

Method Details

EnemyDataProvider() public method

public EnemyDataProvider ( string filePath ) : System
filePath string
return System

GetMapCellBattleTypes() public method

public GetMapCellBattleTypes ( ) : Dictionary>
return Dictionary>

GetMapCellDatas() public method

public GetMapCellDatas ( ) : List>.Dictionary
return List>.Dictionary

GetMapEnemies() public method

public GetMapEnemies ( ) : Dictionary>>
return Dictionary>>

GetMapEnemiesNew() public method

public GetMapEnemiesNew ( ) : Dictionary>>
return Dictionary>>

Merge() public method

public Merge ( string path ) : bool
path string
return bool

Reload() public method

public Reload ( ) : void
return void

RemoveEnemy() public method

public RemoveEnemy ( string enemyId ) : void
enemyId string
return void

Save() public method

public Save ( ) : void
return void