C# Class QuestManager, tf_client

显示文件 Open project: wids-eria/tf_client Class Usage Examples

Protected Properties

Property Type Description
completedQuests Quest>.Dictionary
lockedQuests Quest>.Dictionary
unlockedQuests Quest>.Dictionary

Public Methods

Method Description
GetCompletedQuests ( ) : Quest[],
GetCompletedQuestsNames ( ) : string[]
GetLockedQuests ( ) : Quest[],
GetUnlockedQuests ( ) : Quest[],
GetUnlockedQuestsNames ( ) : string[]
GetViewableQuests ( ) : Quest[],
ModifyQuestList ( Quest>.Dictionary locked, Quest>.Dictionary unlocked, Quest>.Dictionary completed ) : void
OnAwake ( ) : void
OnDestroy ( ) : void

Protected Methods

Method Description
AddLockedQuest ( Quest, quest ) : void
AddUnlockedQuest ( Quest, quest ) : void
DestroyAllCompletedQuest ( ) : void
OnQuestComplete ( string name ) : void
OnQuestsComplete ( string names ) : void
OnUnlockQuest ( string name ) : void
OnUnlockQuests ( string names ) : void
QuestManager ( ) : UnityEngine

Method Details

AddLockedQuest() protected method

protected AddLockedQuest ( Quest, quest ) : void
quest Quest,
return void

AddUnlockedQuest() protected method

protected AddUnlockedQuest ( Quest, quest ) : void
quest Quest,
return void

DestroyAllCompletedQuest() protected method

protected DestroyAllCompletedQuest ( ) : void
return void

GetCompletedQuests() public method

public GetCompletedQuests ( ) : Quest[],
return Quest[],

GetCompletedQuestsNames() public method

public GetCompletedQuestsNames ( ) : string[]
return string[]

GetLockedQuests() public method

public GetLockedQuests ( ) : Quest[],
return Quest[],

GetUnlockedQuests() public method

public GetUnlockedQuests ( ) : Quest[],
return Quest[],

GetUnlockedQuestsNames() public method

public GetUnlockedQuestsNames ( ) : string[]
return string[]

GetViewableQuests() public method

public GetViewableQuests ( ) : Quest[],
return Quest[],

ModifyQuestList() public method

public ModifyQuestList ( Quest>.Dictionary locked, Quest>.Dictionary unlocked, Quest>.Dictionary completed ) : void
locked Quest>.Dictionary
unlocked Quest>.Dictionary
completed Quest>.Dictionary
return void

OnAwake() public method

public OnAwake ( ) : void
return void

OnDestroy() public method

public OnDestroy ( ) : void
return void

OnQuestComplete() protected method

protected OnQuestComplete ( string name ) : void
name string
return void

OnQuestsComplete() protected method

protected OnQuestsComplete ( string names ) : void
names string
return void

OnUnlockQuest() protected method

protected OnUnlockQuest ( string name ) : void
name string
return void

OnUnlockQuests() protected method

protected OnUnlockQuests ( string names ) : void
names string
return void

QuestManager() protected method

protected QuestManager ( ) : UnityEngine
return UnityEngine

Property Details

completedQuests protected_oe property

protected Dictionary completedQuests
return Quest>.Dictionary

lockedQuests protected_oe property

protected Dictionary lockedQuests
return Quest>.Dictionary

unlockedQuests protected_oe property

protected Dictionary unlockedQuests
return Quest>.Dictionary