C# Class GameStatistic, RPGQuest

ファイルを表示 Open project: hughrogers/RPGQuest Class Usage Examples

Public Properties

Property Type Description
logBattles bool
logCreatedItems bool
logCustom bool
logEscapedBattles bool
logKilledEnemies bool
logLostBattles bool
logSingleCreated bool
logSingleEnemies bool
logSingleItems bool
logUsedItems bool
logWonBattles bool

Public Methods

Method Description
BattleEscaped ( ) : void
BattleLost ( ) : void
BattleStarted ( ) : void
BattleWon ( ) : void
Clear ( ) : void
CustomChanged ( int index, int add ) : void
EnemyKilled ( int id ) : void
GameStatistic ( ) : System.Collections
GetBattles ( ) : int
GetCreatedArmor ( int id ) : int
GetCreatedItem ( int id ) : int
GetCreatedItems ( ) : int
GetCreatedWeapon ( int id ) : int
GetCustom ( int index ) : int
GetData ( Hashtable ht ) : Hashtable
GetEscapedBattles ( ) : int
GetKilledEnemies ( ) : int
GetKilledEnemy ( int id ) : int
GetLostBattles ( ) : int
GetSaveData ( Hashtable ht ) : Hashtable
GetStatisticText ( string text ) : string
GetUsedItem ( int id ) : int
GetUsedItems ( ) : int
GetWonBattles ( ) : int
ItemCreated ( int id, ItemDropType t ) : void
ItemUsed ( int id ) : void
SetData ( Hashtable ht ) : void
SetSaveData ( Hashtable ht ) : void

Private Methods

Method Description
AddIntArray ( ArrayList &s, int data, string title ) : void
SetIntArray ( int &data, Hashtable ht ) : void

Method Details

BattleEscaped() public method

public BattleEscaped ( ) : void
return void

BattleLost() public method

public BattleLost ( ) : void
return void

BattleStarted() public method

public BattleStarted ( ) : void
return void

BattleWon() public method

public BattleWon ( ) : void
return void

Clear() public method

public Clear ( ) : void
return void

CustomChanged() public method

public CustomChanged ( int index, int add ) : void
index int
add int
return void

EnemyKilled() public method

public EnemyKilled ( int id ) : void
id int
return void

GameStatistic() public method

public GameStatistic ( ) : System.Collections
return System.Collections

GetBattles() public method

public GetBattles ( ) : int
return int

GetCreatedArmor() public method

public GetCreatedArmor ( int id ) : int
id int
return int

GetCreatedItem() public method

public GetCreatedItem ( int id ) : int
id int
return int

GetCreatedItems() public method

public GetCreatedItems ( ) : int
return int

GetCreatedWeapon() public method

public GetCreatedWeapon ( int id ) : int
id int
return int

GetCustom() public method

public GetCustom ( int index ) : int
index int
return int

GetData() public method

public GetData ( Hashtable ht ) : Hashtable
ht Hashtable
return Hashtable

GetEscapedBattles() public method

public GetEscapedBattles ( ) : int
return int

GetKilledEnemies() public method

public GetKilledEnemies ( ) : int
return int

GetKilledEnemy() public method

public GetKilledEnemy ( int id ) : int
id int
return int

GetLostBattles() public method

public GetLostBattles ( ) : int
return int

GetSaveData() public method

public GetSaveData ( Hashtable ht ) : Hashtable
ht Hashtable
return Hashtable

GetStatisticText() public method

public GetStatisticText ( string text ) : string
text string
return string

GetUsedItem() public method

public GetUsedItem ( int id ) : int
id int
return int

GetUsedItems() public method

public GetUsedItems ( ) : int
return int

GetWonBattles() public method

public GetWonBattles ( ) : int
return int

ItemCreated() public method

public ItemCreated ( int id, ItemDropType t ) : void
id int
t ItemDropType
return void

ItemUsed() public method

public ItemUsed ( int id ) : void
id int
return void

SetData() public method

public SetData ( Hashtable ht ) : void
ht Hashtable
return void

SetSaveData() public method

public SetSaveData ( Hashtable ht ) : void
ht Hashtable
return void

Property Details

logBattles public_oe property

public bool logBattles
return bool

logCreatedItems public_oe property

public bool logCreatedItems
return bool

logCustom public_oe property

public bool logCustom
return bool

logEscapedBattles public_oe property

public bool logEscapedBattles
return bool

logKilledEnemies public_oe property

public bool logKilledEnemies
return bool

logLostBattles public_oe property

public bool logLostBattles
return bool

logSingleCreated public_oe property

public bool logSingleCreated
return bool

logSingleEnemies public_oe property

public bool logSingleEnemies
return bool

logSingleItems public_oe property

public bool logSingleItems
return bool

logUsedItems public_oe property

public bool logUsedItems
return bool

logWonBattles public_oe property

public bool logWonBattles
return bool