Elin Modding Docs Doc
Loading...
Searching...
No Matches
QuestManager Class Reference
Inheritance diagram for QuestManager:
EClass

Public Member Functions

Quest Add (string id, string idGlobalChara=null)
 
Quest Start (string id, string idGlobalChara)
 
Quest Start (string id, Chara c=null, bool assignQuest=true)
 
Quest Start (Quest q)
 
void Remove (Quest q)
 
void RemoveGlobal (Quest q)
 
void RemoveAll (Chara c)
 
void Complete (Quest q)
 
bool OnShowDialog (Chara c)
 
void OnAdvanceHour ()
 
bool IsStarted< T > ()
 
int GetPhase< T > ()
 
Get< T > ()
 
Quest Get (string id)
 
Quest Get (int uid)
 
Quest GetGlobal (string id)
 
bool IsCompleted (string id)
 
int CountNew ()
 
int CountRandomQuest ()
 
void UpdateJournal ()
 
bool IsDeliverTarget (Chara c)
 
void AddQuestAsh ()
 
void AddQuestFiama ()
 
bool HasFarAwayEscort (bool execute=false)
 
void OnEnterZone ()
 

Public Attributes

List< Questlist = new List<Quest>()
 
List< QuestglobalList = new List<Quest>()
 
HashSet< string > completedIDs = new HashSet<string>()
 
HashSet< string > completedTypes = new HashSet<string>()
 
int uid
 

Static Public Attributes

const int MaxRandomQuest = 5
 
- Static Public Attributes inherited from EClass
static Core core
 

Properties

QuestMain Main [get]
 
new QuestHome Home [get]
 
- Properties inherited from EClass
static Game game [get]
 
static bool AdvMode [get]
 
static Player player [get]
 
static Chara pc [get]
 
static UI ui [get]
 
static Map _map [get]
 
static Zone _zone [get]
 
static FactionBranch Branch [get]
 
static FactionBranch BranchOrHomeBranch [get]
 
static Faction Home [get]
 
static Faction Wilds [get]
 
static Scene scene [get]
 
static BaseGameScreen screen [get]
 
static GameSetting setting [get]
 
static GameData gamedata [get]
 
static ColorProfile Colors [get]
 
static World world [get]
 
static SourceManager sources [get]
 
static SourceManager editorSources [get]
 
static SoundManager Sound [get]
 
static CoreDebug debug [get]
 

Additional Inherited Members

- Static Public Member Functions inherited from EClass
static int rnd (int a)
 
static int curve (int a, int start, int step, int rate=75)
 
static int rndHalf (int a)
 
static float rndf (float a)
 
static int rndSqrt (int a)
 
static void Wait (float a, Card c)
 
static void Wait (float a, Point p)
 
static int Bigger (int a, int b)
 
static int Smaller (int a, int b)
 

Detailed Description

Definition at line 7 of file QuestManager.cs.

Member Function Documentation

◆ Add()

Quest QuestManager.Add ( string id,
string idGlobalChara = null )

Definition at line 30 of file QuestManager.cs.

◆ AddQuestAsh()

void QuestManager.AddQuestAsh ( )

Definition at line 271 of file QuestManager.cs.

◆ AddQuestFiama()

void QuestManager.AddQuestFiama ( )

Definition at line 282 of file QuestManager.cs.

◆ Complete()

void QuestManager.Complete ( Quest q)

Definition at line 101 of file QuestManager.cs.

◆ CountNew()

int QuestManager.CountNew ( )

Definition at line 214 of file QuestManager.cs.

◆ CountRandomQuest()

int QuestManager.CountRandomQuest ( )

Definition at line 231 of file QuestManager.cs.

◆ Get() [1/2]

Quest QuestManager.Get ( int uid)

Definition at line 182 of file QuestManager.cs.

◆ Get() [2/2]

Quest QuestManager.Get ( string id)

Definition at line 169 of file QuestManager.cs.

◆ Get< T >()

T QuestManager.Get< T > ( )
Type Constraints
T :Quest 

Definition at line 156 of file QuestManager.cs.

◆ GetGlobal()

Quest QuestManager.GetGlobal ( string id)

Definition at line 195 of file QuestManager.cs.

◆ GetPhase< T >()

int QuestManager.GetPhase< T > ( )
Type Constraints
T :Quest 

Definition at line 139 of file QuestManager.cs.

◆ HasFarAwayEscort()

bool QuestManager.HasFarAwayEscort ( bool execute = false)

Definition at line 292 of file QuestManager.cs.

◆ IsCompleted()

bool QuestManager.IsCompleted ( string id)

Definition at line 208 of file QuestManager.cs.

◆ IsDeliverTarget()

bool QuestManager.IsDeliverTarget ( Chara c)

Definition at line 255 of file QuestManager.cs.

◆ IsStarted< T >()

bool QuestManager.IsStarted< T > ( )
Type Constraints
T :Quest 

Definition at line 133 of file QuestManager.cs.

◆ OnAdvanceHour()

void QuestManager.OnAdvanceHour ( )

Definition at line 120 of file QuestManager.cs.

◆ OnEnterZone()

void QuestManager.OnEnterZone ( )

Definition at line 323 of file QuestManager.cs.

◆ OnShowDialog()

bool QuestManager.OnShowDialog ( Chara c)

Definition at line 107 of file QuestManager.cs.

◆ Remove()

void QuestManager.Remove ( Quest q)

Definition at line 72 of file QuestManager.cs.

◆ RemoveAll()

void QuestManager.RemoveAll ( Chara c)

Definition at line 84 of file QuestManager.cs.

◆ RemoveGlobal()

void QuestManager.RemoveGlobal ( Quest q)

Definition at line 78 of file QuestManager.cs.

◆ Start() [1/3]

Quest QuestManager.Start ( Quest q)

Definition at line 56 of file QuestManager.cs.

◆ Start() [2/3]

Quest QuestManager.Start ( string id,
Chara c = null,
bool assignQuest = true )

Definition at line 50 of file QuestManager.cs.

◆ Start() [3/3]

Quest QuestManager.Start ( string id,
string idGlobalChara )

Definition at line 43 of file QuestManager.cs.

◆ UpdateJournal()

void QuestManager.UpdateJournal ( )

Definition at line 248 of file QuestManager.cs.

Member Data Documentation

◆ completedIDs

HashSet<string> QuestManager.completedIDs = new HashSet<string>()

Definition at line 344 of file QuestManager.cs.

◆ completedTypes

HashSet<string> QuestManager.completedTypes = new HashSet<string>()

Definition at line 348 of file QuestManager.cs.

◆ globalList

List<Quest> QuestManager.globalList = new List<Quest>()

Definition at line 340 of file QuestManager.cs.

◆ list

List<Quest> QuestManager.list = new List<Quest>()

Definition at line 336 of file QuestManager.cs.

◆ MaxRandomQuest

const int QuestManager.MaxRandomQuest = 5
static

Definition at line 332 of file QuestManager.cs.

◆ uid

int QuestManager.uid

Definition at line 352 of file QuestManager.cs.

Property Documentation

◆ Home

new QuestHome QuestManager.Home
get

Definition at line 21 of file QuestManager.cs.

◆ Main

QuestMain QuestManager.Main
get

Definition at line 11 of file QuestManager.cs.


The documentation for this class was generated from the following file: