C# Class LogicSpawn.GTARPG.Core.Scripts.Questing.Quest

Afficher le fichier Open project: logicspawn/GTARPG

Méthodes publiques

Свойство Type Description
AdditionalRewards List
AmountToSpawn int
AutoComplete bool
Cancellable bool
Conditions List
CreateHandInBlip bool
CurrentCondition int
Description string
Done bool
ExpReward int
HandInBlipPosition Vector3
InProgress bool
IsContract bool
IsRepeatable bool
MoneyReward int
Name string
QuestMode QuestMode
SpawnTargets bool

Méthodes publiques

Méthode Description
AddCondiiton ( QuestCondition condition ) : Quest
AddFinishBlip ( Vector3 position ) : Quest
AddReward ( ) : Quest
AddReward ( QuestReward reward ) : Quest
CheckState ( ) : void
ClearObjectsAndBlips ( ) : void
Complete ( ) : void
GetBasicRewardString ( ) : string
GetCondition ( string conditionName ) : QuestCondition
GetProgressString ( ) : string
OnReload ( ) : void
Quest ( ) : System
Quest ( string name, string desc, bool isRepeatable, bool isContract, int expReward, int moneyReward, QuestMode questMode = QuestMode.AllAtOnce ) : System
Reset ( ) : void
SetupCondition ( QuestCondition c, bool firstSetup ) : void
Start ( bool withPopup = true ) : void
WithAutoComplete ( ) : Quest
WithCannotBeCancelled ( ) : Quest
WithOnComplete ( Action onComplete ) : Quest
WithOnStart ( Action onStart ) : Quest
WithSpawnedTargets ( ) : Quest
WithSpawnedTargets ( int amount ) : Quest

Private Methods

Méthode Description
CleanupQuestOnDone ( ) : void
CleanupQuestOnReset ( ) : void
SetupConditions ( ) : void

Method Details

AddCondiiton() public méthode

public AddCondiiton ( QuestCondition condition ) : Quest
condition QuestCondition
Résultat Quest

AddFinishBlip() public méthode

public AddFinishBlip ( Vector3 position ) : Quest
position Vector3
Résultat Quest

AddReward() public méthode

public AddReward ( ) : Quest
Résultat Quest

AddReward() public méthode

public AddReward ( QuestReward reward ) : Quest
reward QuestReward
Résultat Quest

CheckState() public méthode

public CheckState ( ) : void
Résultat void

ClearObjectsAndBlips() public méthode

public ClearObjectsAndBlips ( ) : void
Résultat void

Complete() public méthode

public Complete ( ) : void
Résultat void

GetBasicRewardString() public méthode

public GetBasicRewardString ( ) : string
Résultat string

GetCondition() public méthode

public GetCondition ( string conditionName ) : QuestCondition
conditionName string
Résultat QuestCondition

GetProgressString() public méthode

public GetProgressString ( ) : string
Résultat string

OnReload() public méthode

public OnReload ( ) : void
Résultat void

Quest() public méthode

public Quest ( ) : System
Résultat System

Quest() public méthode

public Quest ( string name, string desc, bool isRepeatable, bool isContract, int expReward, int moneyReward, QuestMode questMode = QuestMode.AllAtOnce ) : System
name string
desc string
isRepeatable bool
isContract bool
expReward int
moneyReward int
questMode QuestMode
Résultat System

Reset() public méthode

public Reset ( ) : void
Résultat void

SetupCondition() public méthode

public SetupCondition ( QuestCondition c, bool firstSetup ) : void
c QuestCondition
firstSetup bool
Résultat void

Start() public méthode

public Start ( bool withPopup = true ) : void
withPopup bool
Résultat void

WithAutoComplete() public méthode

public WithAutoComplete ( ) : Quest
Résultat Quest

WithCannotBeCancelled() public méthode

public WithCannotBeCancelled ( ) : Quest
Résultat Quest

WithOnComplete() public méthode

public WithOnComplete ( Action onComplete ) : Quest
onComplete Action
Résultat Quest

WithOnStart() public méthode

public WithOnStart ( Action onStart ) : Quest
onStart Action
Résultat Quest

WithSpawnedTargets() public méthode

public WithSpawnedTargets ( ) : Quest
Résultat Quest

WithSpawnedTargets() public méthode

public WithSpawnedTargets ( int amount ) : Quest
amount int
Résultat Quest

Property Details

AdditionalRewards public_oe property

public List AdditionalRewards
Résultat List

AmountToSpawn public_oe property

public int AmountToSpawn
Résultat int

AutoComplete public_oe property

public bool AutoComplete
Résultat bool

Cancellable public_oe property

public bool Cancellable
Résultat bool

Conditions public_oe property

public List Conditions
Résultat List

CreateHandInBlip public_oe property

public bool CreateHandInBlip
Résultat bool

CurrentCondition public_oe property

public int CurrentCondition
Résultat int

Description public_oe property

public string Description
Résultat string

Done public_oe property

public bool Done
Résultat bool

ExpReward public_oe property

public int ExpReward
Résultat int

HandInBlipPosition public_oe property

public Vector3 HandInBlipPosition
Résultat Vector3

InProgress public_oe property

public bool InProgress
Résultat bool

IsContract public_oe property

public bool IsContract
Résultat bool

IsRepeatable public_oe property

public bool IsRepeatable
Résultat bool

MoneyReward public_oe property

public int MoneyReward
Résultat int

Name public_oe property

public string Name
Résultat string

QuestMode public_oe property

public QuestMode QuestMode
Résultat QuestMode

SpawnTargets public_oe property

public bool SpawnTargets
Résultat bool