C# 클래스 LogicSpawn.GTARPG.Core.Scripts.Questing.Quest

파일 보기 프로젝트 열기: logicspawn/GTARPG

공개 프로퍼티들

프로퍼티 타입 설명
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

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
CleanupQuestOnDone ( ) : void
CleanupQuestOnReset ( ) : void
SetupConditions ( ) : void

메소드 상세

AddCondiiton() 공개 메소드

public AddCondiiton ( QuestCondition condition ) : Quest
condition QuestCondition
리턴 Quest

AddFinishBlip() 공개 메소드

public AddFinishBlip ( Vector3 position ) : Quest
position Vector3
리턴 Quest

AddReward() 공개 메소드

public AddReward ( ) : Quest
리턴 Quest

AddReward() 공개 메소드

public AddReward ( QuestReward reward ) : Quest
reward QuestReward
리턴 Quest

CheckState() 공개 메소드

public CheckState ( ) : void
리턴 void

ClearObjectsAndBlips() 공개 메소드

public ClearObjectsAndBlips ( ) : void
리턴 void

Complete() 공개 메소드

public Complete ( ) : void
리턴 void

GetBasicRewardString() 공개 메소드

public GetBasicRewardString ( ) : string
리턴 string

GetCondition() 공개 메소드

public GetCondition ( string conditionName ) : QuestCondition
conditionName string
리턴 QuestCondition

GetProgressString() 공개 메소드

public GetProgressString ( ) : string
리턴 string

OnReload() 공개 메소드

public OnReload ( ) : void
리턴 void

Quest() 공개 메소드

public Quest ( ) : System
리턴 System

Quest() 공개 메소드

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
리턴 System

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

SetupCondition() 공개 메소드

public SetupCondition ( QuestCondition c, bool firstSetup ) : void
c QuestCondition
firstSetup bool
리턴 void

Start() 공개 메소드

public Start ( bool withPopup = true ) : void
withPopup bool
리턴 void

WithAutoComplete() 공개 메소드

public WithAutoComplete ( ) : Quest
리턴 Quest

WithCannotBeCancelled() 공개 메소드

public WithCannotBeCancelled ( ) : Quest
리턴 Quest

WithOnComplete() 공개 메소드

public WithOnComplete ( Action onComplete ) : Quest
onComplete Action
리턴 Quest

WithOnStart() 공개 메소드

public WithOnStart ( Action onStart ) : Quest
onStart Action
리턴 Quest

WithSpawnedTargets() 공개 메소드

public WithSpawnedTargets ( ) : Quest
리턴 Quest

WithSpawnedTargets() 공개 메소드

public WithSpawnedTargets ( int amount ) : Quest
amount int
리턴 Quest

프로퍼티 상세

AdditionalRewards 공개적으로 프로퍼티

public List AdditionalRewards
리턴 List

AmountToSpawn 공개적으로 프로퍼티

public int AmountToSpawn
리턴 int

AutoComplete 공개적으로 프로퍼티

public bool AutoComplete
리턴 bool

Cancellable 공개적으로 프로퍼티

public bool Cancellable
리턴 bool

Conditions 공개적으로 프로퍼티

public List Conditions
리턴 List

CreateHandInBlip 공개적으로 프로퍼티

public bool CreateHandInBlip
리턴 bool

CurrentCondition 공개적으로 프로퍼티

public int CurrentCondition
리턴 int

Description 공개적으로 프로퍼티

public string Description
리턴 string

Done 공개적으로 프로퍼티

public bool Done
리턴 bool

ExpReward 공개적으로 프로퍼티

public int ExpReward
리턴 int

HandInBlipPosition 공개적으로 프로퍼티

public Vector3 HandInBlipPosition
리턴 Vector3

InProgress 공개적으로 프로퍼티

public bool InProgress
리턴 bool

IsContract 공개적으로 프로퍼티

public bool IsContract
리턴 bool

IsRepeatable 공개적으로 프로퍼티

public bool IsRepeatable
리턴 bool

MoneyReward 공개적으로 프로퍼티

public int MoneyReward
리턴 int

Name 공개적으로 프로퍼티

public string Name
리턴 string

QuestMode 공개적으로 프로퍼티

public QuestMode QuestMode
리턴 QuestMode

SpawnTargets 공개적으로 프로퍼티

public bool SpawnTargets
리턴 bool