C# Class GameHandler, RPGQuest

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

Public Methods

Method Description
AddArmor ( int id ) : int
AddArmor ( int id, int n ) : int
AddCount ( int id, int n, Hashtable ht ) : int
AddGameTime ( float t ) : void
AddItem ( int id ) : int
AddItem ( int id, int n ) : int
AddMoney ( int m ) : int
AddNoClickMove ( NoClickMove, s ) : void
AddNoSpawn ( NoEnemySpawn, s ) : void
AddToInventory ( ItemDropType type, int itemID, int quantity ) : void
AddWeapon ( int id ) : int
AddWeapon ( int id, int n ) : int
Armors ( ) : Hashtable
BuyToInventory ( ItemDropType type, int itemID, int quantity, int price ) : void
ChangeHappened ( int id, int info, int info2 ) : void
CheckNumberVariable ( string key, float value, ValueCheck type ) : bool
CheckVariable ( string key, string value ) : bool
ClearData ( ) : void
ClearInBattleArea ( ) : void
ClearNoClickMoves ( ) : void
ClearNoSpawns ( ) : void
DragHandler ( ) : DragHandler,
Drop ( Vector3 position, ItemDropType type, int itemID, int quantity ) : void
DropFromInventory ( ItemDropType type, int itemID, int quantity ) : void
DropHandler ( ) : DropHandler,
FreezeTime ( bool b ) : void
GUIHandler ( ) : GUIHandler,
GameOver ( ) : void
GetAreaName ( ) : string
GetAreaNameID ( ) : int
GetArmorCount ( int id ) : int
GetArmorSaveData ( Hashtable ht ) : Hashtable
GetBattleArea ( ) : BattleArea,
GetControlType ( ) : ControlType
GetDifficulty ( ) : int
GetEquipment ( ) : EquipShort[],
GetEquipmentByPart ( int id ) : EquipShort[],
GetEquippedArmorCount ( int id ) : int
GetEquippedWeaponCount ( int id ) : int
GetGameTime ( ) : float
GetItemCount ( int id ) : int
GetItemRecipeSaveData ( Hashtable ht ) : Hashtable
GetItemSaveData ( Hashtable ht ) : Hashtable
GetItemsByType ( int id ) : Hashtable
GetKnownRecipes ( ) : ArrayList
GetLanguage ( ) : int
GetLevelHandler ( ) : LevelHandler
GetMoney ( ) : int
GetMusicHandler ( ) : MusicHandler
GetNumberVariable ( string key ) : float
GetNumberVariableSaveData ( Hashtable ht ) : Hashtable
GetPlayer ( ) : GameObject
GetSkin ( GUISkin skin ) : GUISkinWrapper
GetStealableItems ( ) : ArrayList
GetTimeString ( ) : string
GetTimeString ( float t ) : string
GetVariable ( string key ) : string
GetVariableSaveData ( Hashtable ht ) : Hashtable
GetWeaponCount ( int id ) : int
GetWeaponSaveData ( Hashtable ht ) : Hashtable
HasArmor ( int id, int n ) : bool
HasArmors ( ) : bool
HasEnoughMoney ( int m ) : bool
HasEquipment ( ) : bool
HasEquipmentPart ( int id ) : bool
HasEquipmentPart ( int id, int classID ) : bool
HasInInventory ( ItemDropType type, int itemID, int quantity ) : bool
HasInventory ( ) : bool
HasItem ( int id, int n ) : bool
HasItemType ( int id ) : bool
HasItems ( ) : bool
HasWeapon ( int id, int n ) : bool
HasWeapons ( ) : bool
Init ( ) : void
Instance ( ) : GameHandler
IsBlockControl ( ) : bool
IsControlBattle ( ) : bool
IsControlEvent ( ) : bool
IsControlField ( ) : bool
IsControlMenu ( ) : bool
IsControlNone ( ) : bool
IsControlSave ( ) : bool
IsControlType ( ControlType ct ) : bool
IsGamePaused ( ) : bool
IsInBattleArea ( ) : bool
Items ( ) : Hashtable
KnowsRecipes ( ) : bool
LearnRecipe ( int index ) : void
LoadScene ( string sceneName ) : void
MainMenu ( ) : void
Party ( ) : PartyHandler
PauseGame ( bool pause ) : void
RecipeKnown ( int index ) : bool
RegisterChangeNotifier ( ChangeNotifier c ) : void
RemoveArmor ( int id ) : int
RemoveArmor ( int id, int n ) : int
RemoveCount ( int id, int n, Hashtable ht ) : int
RemoveFromInventory ( ItemDropType type, int itemID, int quantity ) : void
RemoveItem ( int id ) : int
RemoveItem ( int id, int n ) : int
RemoveNumberVariable ( string key ) : void
RemoveVariable ( string key ) : void
RemoveWeapon ( int id ) : int
RemoveWeapon ( int id, int n ) : int
RestoreControl ( ) : void
SellFromInventory ( ItemDropType type, int itemID, int quantity, int price ) : void
SetAreaName ( int id ) : void
SetAreaName ( int id, DialoguePosition dp ) : void
SetAreaNameID ( int id ) : void
SetArmorSaveData ( Hashtable ht ) : void
SetBattleArea ( BattleArea area ) : void
SetBlockControl ( int add ) : void
SetControlType ( ControlType ct ) : void
SetDifficulty ( int id ) : void
SetGameTime ( float t ) : void
SetInBattleArea ( int add ) : void
SetItemRecipeSaveData ( Hashtable ht ) : void
SetItemSaveData ( Hashtable ht ) : void
SetLanguage ( int id ) : void
SetMoney ( int m ) : void
SetNumberVariable ( string key, float value ) : void
SetNumberVariableSaveData ( Hashtable ht ) : void
SetVariable ( string key, string value ) : void
SetVariableSaveData ( Hashtable ht ) : void
SetWeaponSaveData ( Hashtable ht ) : void
SpawnPlayer ( int spawnID ) : void
StartNewGame ( ) : void
SubMoney ( int m ) : int
Weapons ( ) : Hashtable
WindowHandler ( ) : WindowHandler
WithinNoClickMove ( Vector3 point ) : bool
WithinNoSpawn ( Vector3 point ) : bool

Private Methods

Method Description
GameHandler ( ) : System.Collections
GetCount ( int id, Hashtable ht ) : int

Method Details

AddArmor() public static method

public static AddArmor ( int id ) : int
id int
return int

AddArmor() public static method

public static AddArmor ( int id, int n ) : int
id int
n int
return int

AddCount() public static method

public static AddCount ( int id, int n, Hashtable ht ) : int
id int
n int
ht Hashtable
return int

AddGameTime() public static method

public static AddGameTime ( float t ) : void
t float
return void

AddItem() public static method

public static AddItem ( int id ) : int
id int
return int

AddItem() public static method

public static AddItem ( int id, int n ) : int
id int
n int
return int

AddMoney() public static method

public static AddMoney ( int m ) : int
m int
return int

AddNoClickMove() public static method

public static AddNoClickMove ( NoClickMove, s ) : void
s NoClickMove,
return void

AddNoSpawn() public static method

public static AddNoSpawn ( NoEnemySpawn, s ) : void
s NoEnemySpawn,
return void

AddToInventory() public static method

public static AddToInventory ( ItemDropType type, int itemID, int quantity ) : void
type ItemDropType
itemID int
quantity int
return void

AddWeapon() public static method

public static AddWeapon ( int id ) : int
id int
return int

AddWeapon() public static method

public static AddWeapon ( int id, int n ) : int
id int
n int
return int

Armors() public static method

public static Armors ( ) : Hashtable
return Hashtable

BuyToInventory() public static method

public static BuyToInventory ( ItemDropType type, int itemID, int quantity, int price ) : void
type ItemDropType
itemID int
quantity int
price int
return void

ChangeHappened() public static method

public static ChangeHappened ( int id, int info, int info2 ) : void
id int
info int
info2 int
return void

CheckNumberVariable() public static method

public static CheckNumberVariable ( string key, float value, ValueCheck type ) : bool
key string
value float
type ValueCheck
return bool

CheckVariable() public static method

public static CheckVariable ( string key, string value ) : bool
key string
value string
return bool

ClearData() public method

public ClearData ( ) : void
return void

ClearInBattleArea() public static method

public static ClearInBattleArea ( ) : void
return void

ClearNoClickMoves() public static method

public static ClearNoClickMoves ( ) : void
return void

ClearNoSpawns() public static method

public static ClearNoSpawns ( ) : void
return void

DragHandler() public static method

public static DragHandler ( ) : DragHandler,
return DragHandler,

Drop() public static method

public static Drop ( Vector3 position, ItemDropType type, int itemID, int quantity ) : void
position Vector3
type ItemDropType
itemID int
quantity int
return void

DropFromInventory() public static method

public static DropFromInventory ( ItemDropType type, int itemID, int quantity ) : void
type ItemDropType
itemID int
quantity int
return void

DropHandler() public static method

public static DropHandler ( ) : DropHandler,
return DropHandler,

FreezeTime() public static method

public static FreezeTime ( bool b ) : void
b bool
return void

GUIHandler() public static method

public static GUIHandler ( ) : GUIHandler,
return GUIHandler,

GameOver() public static method

public static GameOver ( ) : void
return void

GetAreaName() public static method

public static GetAreaName ( ) : string
return string

GetAreaNameID() public static method

public static GetAreaNameID ( ) : int
return int

GetArmorCount() public static method

public static GetArmorCount ( int id ) : int
id int
return int

GetArmorSaveData() public static method

public static GetArmorSaveData ( Hashtable ht ) : Hashtable
ht Hashtable
return Hashtable

GetBattleArea() public static method

public static GetBattleArea ( ) : BattleArea,
return BattleArea,

GetControlType() public static method

public static GetControlType ( ) : ControlType
return ControlType

GetDifficulty() public static method

public static GetDifficulty ( ) : int
return int

GetEquipment() public static method

public static GetEquipment ( ) : EquipShort[],
return EquipShort[],

GetEquipmentByPart() public static method

public static GetEquipmentByPart ( int id ) : EquipShort[],
id int
return EquipShort[],

GetEquippedArmorCount() public static method

public static GetEquippedArmorCount ( int id ) : int
id int
return int

GetEquippedWeaponCount() public static method

public static GetEquippedWeaponCount ( int id ) : int
id int
return int

GetGameTime() public static method

public static GetGameTime ( ) : float
return float

GetItemCount() public static method

public static GetItemCount ( int id ) : int
id int
return int

GetItemRecipeSaveData() public static method

public static GetItemRecipeSaveData ( Hashtable ht ) : Hashtable
ht Hashtable
return Hashtable

GetItemSaveData() public static method

public static GetItemSaveData ( Hashtable ht ) : Hashtable
ht Hashtable
return Hashtable

GetItemsByType() public static method

public static GetItemsByType ( int id ) : Hashtable
id int
return Hashtable

GetKnownRecipes() public static method

public static GetKnownRecipes ( ) : ArrayList
return ArrayList

GetLanguage() public static method

public static GetLanguage ( ) : int
return int

GetLevelHandler() public static method

public static GetLevelHandler ( ) : LevelHandler
return LevelHandler

GetMoney() public static method

public static GetMoney ( ) : int
return int

GetMusicHandler() public static method

public static GetMusicHandler ( ) : MusicHandler
return MusicHandler

GetNumberVariable() public static method

public static GetNumberVariable ( string key ) : float
key string
return float

GetNumberVariableSaveData() public static method

public static GetNumberVariableSaveData ( Hashtable ht ) : Hashtable
ht Hashtable
return Hashtable

GetPlayer() public static method

public static GetPlayer ( ) : GameObject
return GameObject

GetSkin() public static method

public static GetSkin ( GUISkin skin ) : GUISkinWrapper
skin GUISkin
return GUISkinWrapper

GetStealableItems() public static method

public static GetStealableItems ( ) : ArrayList
return ArrayList

GetTimeString() public static method

public static GetTimeString ( ) : string
return string

GetTimeString() public static method

public static GetTimeString ( float t ) : string
t float
return string

GetVariable() public static method

public static GetVariable ( string key ) : string
key string
return string

GetVariableSaveData() public static method

public static GetVariableSaveData ( Hashtable ht ) : Hashtable
ht Hashtable
return Hashtable

GetWeaponCount() public static method

public static GetWeaponCount ( int id ) : int
id int
return int

GetWeaponSaveData() public static method

public static GetWeaponSaveData ( Hashtable ht ) : Hashtable
ht Hashtable
return Hashtable

HasArmor() public static method

public static HasArmor ( int id, int n ) : bool
id int
n int
return bool

HasArmors() public static method

public static HasArmors ( ) : bool
return bool

HasEnoughMoney() public static method

public static HasEnoughMoney ( int m ) : bool
m int
return bool

HasEquipment() public static method

public static HasEquipment ( ) : bool
return bool

HasEquipmentPart() public static method

public static HasEquipmentPart ( int id ) : bool
id int
return bool

HasEquipmentPart() public static method

public static HasEquipmentPart ( int id, int classID ) : bool
id int
classID int
return bool

HasInInventory() public static method

public static HasInInventory ( ItemDropType type, int itemID, int quantity ) : bool
type ItemDropType
itemID int
quantity int
return bool

HasInventory() public static method

public static HasInventory ( ) : bool
return bool

HasItem() public static method

public static HasItem ( int id, int n ) : bool
id int
n int
return bool

HasItemType() public static method

public static HasItemType ( int id ) : bool
id int
return bool

HasItems() public static method

public static HasItems ( ) : bool
return bool

HasWeapon() public static method

public static HasWeapon ( int id, int n ) : bool
id int
n int
return bool

HasWeapons() public static method

public static HasWeapons ( ) : bool
return bool

Init() public method

public Init ( ) : void
return void

Instance() public static method

public static Instance ( ) : GameHandler
return GameHandler

IsBlockControl() public static method

public static IsBlockControl ( ) : bool
return bool

IsControlBattle() public static method

public static IsControlBattle ( ) : bool
return bool

IsControlEvent() public static method

public static IsControlEvent ( ) : bool
return bool

IsControlField() public static method

public static IsControlField ( ) : bool
return bool

IsControlMenu() public static method

public static IsControlMenu ( ) : bool
return bool

IsControlNone() public static method

public static IsControlNone ( ) : bool
return bool

IsControlSave() public static method

public static IsControlSave ( ) : bool
return bool

IsControlType() public static method

public static IsControlType ( ControlType ct ) : bool
ct ControlType
return bool

IsGamePaused() public static method

public static IsGamePaused ( ) : bool
return bool

IsInBattleArea() public static method

public static IsInBattleArea ( ) : bool
return bool

Items() public static method

public static Items ( ) : Hashtable
return Hashtable

KnowsRecipes() public static method

public static KnowsRecipes ( ) : bool
return bool

LearnRecipe() public static method

public static LearnRecipe ( int index ) : void
index int
return void

LoadScene() public static method

public static LoadScene ( string sceneName ) : void
sceneName string
return void

MainMenu() public static method

public static MainMenu ( ) : void
return void

Party() public static method

public static Party ( ) : PartyHandler
return PartyHandler

PauseGame() public static method

public static PauseGame ( bool pause ) : void
pause bool
return void

RecipeKnown() public static method

public static RecipeKnown ( int index ) : bool
index int
return bool

RegisterChangeNotifier() public static method

public static RegisterChangeNotifier ( ChangeNotifier c ) : void
c ChangeNotifier
return void

RemoveArmor() public static method

public static RemoveArmor ( int id ) : int
id int
return int

RemoveArmor() public static method

public static RemoveArmor ( int id, int n ) : int
id int
n int
return int

RemoveCount() public static method

public static RemoveCount ( int id, int n, Hashtable ht ) : int
id int
n int
ht Hashtable
return int

RemoveFromInventory() public static method

public static RemoveFromInventory ( ItemDropType type, int itemID, int quantity ) : void
type ItemDropType
itemID int
quantity int
return void

RemoveItem() public static method

public static RemoveItem ( int id ) : int
id int
return int

RemoveItem() public static method

public static RemoveItem ( int id, int n ) : int
id int
n int
return int

RemoveNumberVariable() public static method

public static RemoveNumberVariable ( string key ) : void
key string
return void

RemoveVariable() public static method

public static RemoveVariable ( string key ) : void
key string
return void

RemoveWeapon() public static method

public static RemoveWeapon ( int id ) : int
id int
return int

RemoveWeapon() public static method

public static RemoveWeapon ( int id, int n ) : int
id int
n int
return int

RestoreControl() public static method

public static RestoreControl ( ) : void
return void

SellFromInventory() public static method

public static SellFromInventory ( ItemDropType type, int itemID, int quantity, int price ) : void
type ItemDropType
itemID int
quantity int
price int
return void

SetAreaName() public static method

public static SetAreaName ( int id ) : void
id int
return void

SetAreaName() public static method

public static SetAreaName ( int id, DialoguePosition dp ) : void
id int
dp DialoguePosition
return void

SetAreaNameID() public static method

public static SetAreaNameID ( int id ) : void
id int
return void

SetArmorSaveData() public static method

public static SetArmorSaveData ( Hashtable ht ) : void
ht Hashtable
return void

SetBattleArea() public static method

public static SetBattleArea ( BattleArea area ) : void
area BattleArea
return void

SetBlockControl() public static method

public static SetBlockControl ( int add ) : void
add int
return void

SetControlType() public static method

public static SetControlType ( ControlType ct ) : void
ct ControlType
return void

SetDifficulty() public static method

public static SetDifficulty ( int id ) : void
id int
return void

SetGameTime() public static method

public static SetGameTime ( float t ) : void
t float
return void

SetInBattleArea() public static method

public static SetInBattleArea ( int add ) : void
add int
return void

SetItemRecipeSaveData() public static method

public static SetItemRecipeSaveData ( Hashtable ht ) : void
ht Hashtable
return void

SetItemSaveData() public static method

public static SetItemSaveData ( Hashtable ht ) : void
ht Hashtable
return void

SetLanguage() public static method

public static SetLanguage ( int id ) : void
id int
return void

SetMoney() public static method

public static SetMoney ( int m ) : void
m int
return void

SetNumberVariable() public static method

public static SetNumberVariable ( string key, float value ) : void
key string
value float
return void

SetNumberVariableSaveData() public static method

public static SetNumberVariableSaveData ( Hashtable ht ) : void
ht Hashtable
return void

SetVariable() public static method

public static SetVariable ( string key, string value ) : void
key string
value string
return void

SetVariableSaveData() public static method

public static SetVariableSaveData ( Hashtable ht ) : void
ht Hashtable
return void

SetWeaponSaveData() public static method

public static SetWeaponSaveData ( Hashtable ht ) : void
ht Hashtable
return void

SpawnPlayer() public static method

public static SpawnPlayer ( int spawnID ) : void
spawnID int
return void

StartNewGame() public static method

public static StartNewGame ( ) : void
return void

SubMoney() public static method

public static SubMoney ( int m ) : int
m int
return int

Weapons() public static method

public static Weapons ( ) : Hashtable
return Hashtable

WindowHandler() public static method

public static WindowHandler ( ) : WindowHandler
return WindowHandler

WithinNoClickMove() public static method

public static WithinNoClickMove ( Vector3 point ) : bool
point Vector3
return bool

WithinNoSpawn() public static method

public static WithinNoSpawn ( Vector3 point ) : bool
point Vector3
return bool