Elin Decompiled Documentation EA 23.102 Nightly
|
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 > () |
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< Quest > | list = new List<Quest>() |
List< Quest > | globalList = 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 Core | core |
Properties | |
QuestMain | Main [get] |
new QuestHome | Home [get] |
![]() | |
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 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) |
Definition at line 6 of file QuestManager.cs.
|
inline |
Definition at line 29 of file QuestManager.cs.
References Game.cards, Quest.Create(), CardManager.GlobalCharaList.Find(), EClass.game, CardManager.globalCharas, globalList, Game.quests, Quest.SetClient(), and Quest.source.
Referenced by GameDate.AdvanceDay(), QuestLoytelFarm.OnComplete(), QuestShippingChest.OnComplete(), QuestVernis.OnComplete(), QuestDialog.OnDropReward(), QuestIntoDarkness.OnStart(), CoreDebug.QuickStart(), Chara.ShowDialog(), and CoreDebug.UpdateInput().
|
inline |
Definition at line 245 of file QuestManager.cs.
References Game.cards, Quest.Create(), CardManager.GlobalCharaList.Find(), EClass.game, CardManager.globalCharas, QuestCraft.req1, QuestCraft.req2, and Quest.SetClient().
|
inline |
Definition at line 255 of file QuestManager.cs.
References Game.cards, Quest.Create(), CardManager.GlobalCharaList.Find(), EClass.game, CardManager.globalCharas, QuestCraft.req1, QuestCraft.req2, and Quest.SetClient().
|
inline |
Definition at line 98 of file QuestManager.cs.
References Quest.Complete().
Referenced by QuestCraft.Deliver(), QuestDeliver.Deliver(), Quest.OnCompleteTask(), and DramaManager.ParseLine().
|
inline |
Definition at line 201 of file QuestManager.cs.
|
inline |
Definition at line 214 of file QuestManager.cs.
Referenced by LayerQuestBoard.RefreshQuest().
|
inline |
Definition at line 172 of file QuestManager.cs.
|
inline |
Definition at line 160 of file QuestManager.cs.
Referenced by InvOwnerDeliver._OnProcess(), AI_PlayMusic.Evaluate(), ZonePreEnterOnCompleteQuestInstance.Execute(), CoreDebug.Fix_LoytelDebt(), DramaOutcome.OnClaimLand(), Zone_DungeonPuppy.OnGenerateMap(), TraitStoryBookHome.OnRead(), DramaManager.ParseLine(), InvOwnerDeliver.PayBill(), DramaOutcome.poppy_found(), DramaOutcome.QuestDebt_reward(), DramaOutcome.QuestExploration_AfterCrystal(), DramaOutcome.QuestExploration_MeetFarris(), DramaOutcome.QuestExploration_MeetFarris2(), Remove(), Chara.ShowDialog(), Chara.Tick(), Chara.TryDropBossLoot(), and CoreDebug.UpdateInput().
|
inline |
|
inline |
Definition at line 184 of file QuestManager.cs.
References globalList, and Quest.id.
Referenced by GameDate.AdvanceDay().
|
inline |
T | : | Quest |
Definition at line 132 of file QuestManager.cs.
References completedTypes, item, and list.
Referenced by IsStarted< T >().
|
inline |
Definition at line 264 of file QuestManager.cs.
References EClass._map, EClass._zone, Map.charas, Card.Dist(), Zone.HasLaw, Chara.IsEscorted(), Zone.IsInstance, Zone.IsPCFaction, Zone.IsTown, and EClass.pc.
Referenced by Player.ExitBorder().
|
inline |
Definition at line 196 of file QuestManager.cs.
References completedIDs.
Referenced by GameDate.AdvanceDay(), QuestVernis.CanUpdateOnTalk(), and QuestDialog.OnDropReward().
|
inline |
Definition at line 233 of file QuestManager.cs.
Referenced by ActPlan._Update().
|
inline |
T | : | Quest |
Definition at line 127 of file QuestManager.cs.
References GetPhase< T >().
|
inline |
Definition at line 115 of file QuestManager.cs.
References Quest.IsExpired, and list.
Referenced by GameDate.AdvanceHour().
|
inline |
Definition at line 289 of file QuestManager.cs.
References Quest.OnEnterZone().
Referenced by Scene.Init().
|
inline |
Definition at line 103 of file QuestManager.cs.
References CoreDebug.autoAdvanceQuest, EClass.debug, item, and list.
Referenced by Chara.ShowDialog().
|
inline |
Definition at line 67 of file QuestManager.cs.
References Quest.deadline, Debug, Get(), Quest.Hours, Quest.IsRandomQuest, list, Quest.source, and Quest.uid.
Referenced by Quest.Complete(), Quest.Fail(), ItemQuestTracker.OnClickClose(), RemoveAll(), and Recipe.ToggleTrack().
|
inline |
Definition at line 86 of file QuestManager.cs.
References Quest.chara, globalList, item, list, Remove(), and RemoveGlobal().
Referenced by DramaOutcome.QuestExploration_AfterComplete().
|
inline |
Definition at line 52 of file QuestManager.cs.
References EClass.core, Core.IsGameStarted, list, EClass.player, Player.questTracker, WidgetQuestTracker.Show(), Quest.Start(), and Quest.UpdateJournal().
Definition at line 47 of file QuestManager.cs.
References Quest.Create(), Quest.SetClient(), and Start().
|
inline |
Definition at line 41 of file QuestManager.cs.
References Game.cards, Quest.Create(), CardManager.GlobalCharaList.Find(), EClass.game, CardManager.globalCharas, Quest.SetClient(), and Start().
Referenced by TraitDoorman_Fighter.GiveTrial(), TraitDoorman_Mage.GiveTrial(), TraitDoorman_Thief.GiveTrial(), DramaOutcome.guild_trial(), QuestDialog.OnDropReward(), Player.OnStartNewGame(), DramaManager.ParseLine(), DramaOutcome.QuestExploration_AfterComplete(), DramaOutcome.QuestExploration_AfterCrystal(), DramaOutcome.QuestExploration_MeetFarris2(), Start(), Game.StartNewGame(), Recipe.ToggleTrack(), and CoreDebug.UpdateInput().
|
inline |
Definition at line 227 of file QuestManager.cs.
References Msg.Say().
Referenced by DramaManager.ParseLine().
HashSet<string> QuestManager.completedIDs = new HashSet<string>() |
Definition at line 17 of file QuestManager.cs.
Referenced by Quest.Complete(), IsCompleted(), DramaOutcome.melilith_friend(), and TraitStoryBookHome.OnRead().
HashSet<string> QuestManager.completedTypes = new HashSet<string>() |
Definition at line 20 of file QuestManager.cs.
Referenced by Quest.Complete(), and GetPhase< T >().
Definition at line 14 of file QuestManager.cs.
Referenced by Add(), GetGlobal(), QuestDefense.OnChangePhase(), DramaOutcome.OnClaimLand(), QuestIntroInspector.OnComplete(), QuestSharedContainer.OnComplete(), TCExtra.OnDraw(), QuestDialog.OnDropReward(), QuestExploration.OnStart(), DramaManager.ParseLine(), LayerQuestBoard.RefreshQuest(), RemoveAll(), RemoveGlobal(), and Game.StartNewGame().
Definition at line 11 of file QuestManager.cs.
Referenced by DramaCustomSequence.Build(), CountNew(), CountRandomQuest(), Card.DamageHP(), Get(), Get< T >(), GetPhase< T >(), Recipe.GetQuestTrack(), Chara.GiveGift(), IsDeliverTarget(), Chara.IsEscorted(), Player.ModKarma(), OnAdvanceHour(), Game.OnLoad(), OnShowDialog(), ContentQuest.OnSwitchContent(), ItemQuestTracker.Refresh(), WidgetQuestTracker.Refresh(), TCOrbitChara.RefreshAll(), LayerQuestBoard.RefreshQuest(), Remove(), RemoveAll(), ItemQuest.SetQuest(), Start(), WidgetQuestTracker.TryShow(), TraitTeleporter.TryTeleport(), and Zone.UpdateQuests().
|
static |
Definition at line 8 of file QuestManager.cs.
int QuestManager.uid |
Definition at line 23 of file QuestManager.cs.
Referenced by Get(), and Quest.Init().
|
get |
Definition at line 27 of file QuestManager.cs.
|
get |
Definition at line 25 of file QuestManager.cs.
Referenced by DramaOutcome.QuestExploration_AfterComplete(), and DramaOutcome.QuestExploration_MeetFarris2().