C# Class KCB2.BattleResult.Result.FleetState.ShipState

艦娘情報
Exibir arquivo Open project: walkure/KCBr Class Usage Examples

Public Methods

Method Description
AddDamage ( double ddamage ) : bool

ダメージ加算

Initialize ( int ship_id, int ship_name_id, string ship_name, int ship_type, int max_hp, int now_hp ) : void

初期化

ShipState ( ) : System
ShipState ( ShipState orig ) : System
ToString ( ) : string

Method Details

AddDamage() public method

ダメージ加算
public AddDamage ( double ddamage ) : bool
ddamage double
return bool

Initialize() public method

初期化
public Initialize ( int ship_id, int ship_name_id, string ship_name, int ship_type, int max_hp, int now_hp ) : void
ship_id int 艦娘UID(敵の場合は-1)
ship_name_id int 艦船ID(存在しない場合は-1)
ship_name string
ship_type int
max_hp int 艦娘の最大HP
now_hp int 戦闘開始時HP
return void

ShipState() public method

public ShipState ( ) : System
return System

ShipState() public method

public ShipState ( ShipState orig ) : System
orig ShipState
return System

ToString() public method

public ToString ( ) : string
return string