C# Class Kroulis.Quest.Quest

Inheritance: UnityEngine.MonoBehaviour
Datei anzeigen Open project: DevelopersGuild/Castle-Bashers

Public Methods

Method Description
CheckPrerequisite ( ) : bool
CheckQuestNeed ( ) : bool
Finish ( GameObject PlayerHolder, GameObject MainProcess ) : bool
ForceFinish ( GameObject PlayerHolder, GameObject MainProcess ) : void
GiveUp ( GameObject MainProcess ) : void
SetBasicInfo ( int id, string name, string description ) : void
SetNeedItem ( int item_id, int item_number = 1 ) : void
SetNeedItem ( int id, int item_id, int item_number = 1 ) : void
SetNeedLevel ( int value ) : void
SetNeedLevel ( int id, int value ) : void
SetNeedMoney ( int value ) : void
SetNeedMoney ( int id, int value ) : void
SetNeedNumbers ( int number ) : void
SetPrerequisite ( int id ) : void
SetRewardEXP ( int value ) : void
SetRewardGold ( int value ) : void
SetRewardItems ( int item_id, int item_number = 1 ) : void
SetRewardItems ( int id, int item_id, int item_number = 1 ) : void
SetRewardItemsNumbers ( int size ) : void
StartQuest ( GameObject _MainProcess ) : void

Private Methods

Method Description
Update ( ) : void

Method Details

CheckPrerequisite() public method

public CheckPrerequisite ( ) : bool
return bool

CheckQuestNeed() public method

public CheckQuestNeed ( ) : bool
return bool

Finish() public method

public Finish ( GameObject PlayerHolder, GameObject MainProcess ) : bool
PlayerHolder UnityEngine.GameObject
MainProcess UnityEngine.GameObject
return bool

ForceFinish() public method

public ForceFinish ( GameObject PlayerHolder, GameObject MainProcess ) : void
PlayerHolder UnityEngine.GameObject
MainProcess UnityEngine.GameObject
return void

GiveUp() public method

public GiveUp ( GameObject MainProcess ) : void
MainProcess UnityEngine.GameObject
return void

SetBasicInfo() public method

public SetBasicInfo ( int id, string name, string description ) : void
id int
name string
description string
return void

SetNeedItem() public method

public SetNeedItem ( int item_id, int item_number = 1 ) : void
item_id int
item_number int
return void

SetNeedItem() public method

public SetNeedItem ( int id, int item_id, int item_number = 1 ) : void
id int
item_id int
item_number int
return void

SetNeedLevel() public method

public SetNeedLevel ( int value ) : void
value int
return void

SetNeedLevel() public method

public SetNeedLevel ( int id, int value ) : void
id int
value int
return void

SetNeedMoney() public method

public SetNeedMoney ( int value ) : void
value int
return void

SetNeedMoney() public method

public SetNeedMoney ( int id, int value ) : void
id int
value int
return void

SetNeedNumbers() public method

public SetNeedNumbers ( int number ) : void
number int
return void

SetPrerequisite() public method

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

SetRewardEXP() public method

public SetRewardEXP ( int value ) : void
value int
return void

SetRewardGold() public method

public SetRewardGold ( int value ) : void
value int
return void

SetRewardItems() public method

public SetRewardItems ( int item_id, int item_number = 1 ) : void
item_id int
item_number int
return void

SetRewardItems() public method

public SetRewardItems ( int id, int item_id, int item_number = 1 ) : void
id int
item_id int
item_number int
return void

SetRewardItemsNumbers() public method

public SetRewardItemsNumbers ( int size ) : void
size int
return void

StartQuest() public method

public StartQuest ( GameObject _MainProcess ) : void
_MainProcess UnityEngine.GameObject
return void