C# Класс GameStatistic, RPGQuest

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
logBattles bool
logCreatedItems bool
logCustom bool
logEscapedBattles bool
logKilledEnemies bool
logLostBattles bool
logSingleCreated bool
logSingleEnemies bool
logSingleItems bool
logUsedItems bool
logWonBattles bool

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
AddIntArray ( ArrayList &s, int data, string title ) : void
SetIntArray ( int &data, Hashtable ht ) : void

Описание методов

BattleEscaped() публичный Метод

public BattleEscaped ( ) : void
Результат void

BattleLost() публичный Метод

public BattleLost ( ) : void
Результат void

BattleStarted() публичный Метод

public BattleStarted ( ) : void
Результат void

BattleWon() публичный Метод

public BattleWon ( ) : void
Результат void

Clear() публичный Метод

public Clear ( ) : void
Результат void

CustomChanged() публичный Метод

public CustomChanged ( int index, int add ) : void
index int
add int
Результат void

EnemyKilled() публичный Метод

public EnemyKilled ( int id ) : void
id int
Результат void

GameStatistic() публичный Метод

public GameStatistic ( ) : System.Collections
Результат System.Collections

GetBattles() публичный Метод

public GetBattles ( ) : int
Результат int

GetCreatedArmor() публичный Метод

public GetCreatedArmor ( int id ) : int
id int
Результат int

GetCreatedItem() публичный Метод

public GetCreatedItem ( int id ) : int
id int
Результат int

GetCreatedItems() публичный Метод

public GetCreatedItems ( ) : int
Результат int

GetCreatedWeapon() публичный Метод

public GetCreatedWeapon ( int id ) : int
id int
Результат int

GetCustom() публичный Метод

public GetCustom ( int index ) : int
index int
Результат int

GetData() публичный Метод

public GetData ( Hashtable ht ) : Hashtable
ht Hashtable
Результат Hashtable

GetEscapedBattles() публичный Метод

public GetEscapedBattles ( ) : int
Результат int

GetKilledEnemies() публичный Метод

public GetKilledEnemies ( ) : int
Результат int

GetKilledEnemy() публичный Метод

public GetKilledEnemy ( int id ) : int
id int
Результат int

GetLostBattles() публичный Метод

public GetLostBattles ( ) : int
Результат int

GetSaveData() публичный Метод

public GetSaveData ( Hashtable ht ) : Hashtable
ht Hashtable
Результат Hashtable

GetStatisticText() публичный Метод

public GetStatisticText ( string text ) : string
text string
Результат string

GetUsedItem() публичный Метод

public GetUsedItem ( int id ) : int
id int
Результат int

GetUsedItems() публичный Метод

public GetUsedItems ( ) : int
Результат int

GetWonBattles() публичный Метод

public GetWonBattles ( ) : int
Результат int

ItemCreated() публичный Метод

public ItemCreated ( int id, ItemDropType t ) : void
id int
t ItemDropType
Результат void

ItemUsed() публичный Метод

public ItemUsed ( int id ) : void
id int
Результат void

SetData() публичный Метод

public SetData ( Hashtable ht ) : void
ht Hashtable
Результат void

SetSaveData() публичный Метод

public SetSaveData ( Hashtable ht ) : void
ht Hashtable
Результат void

Описание свойств

logBattles публичное свойство

public bool logBattles
Результат bool

logCreatedItems публичное свойство

public bool logCreatedItems
Результат bool

logCustom публичное свойство

public bool logCustom
Результат bool

logEscapedBattles публичное свойство

public bool logEscapedBattles
Результат bool

logKilledEnemies публичное свойство

public bool logKilledEnemies
Результат bool

logLostBattles публичное свойство

public bool logLostBattles
Результат bool

logSingleCreated публичное свойство

public bool logSingleCreated
Результат bool

logSingleEnemies публичное свойство

public bool logSingleEnemies
Результат bool

logSingleItems публичное свойство

public bool logSingleItems
Результат bool

logUsedItems публичное свойство

public bool logUsedItems
Результат bool

logWonBattles публичное свойство

public bool logWonBattles
Результат bool