Class Quest
- Namespace
- SharpPluginLoader.Core
- Assembly
- SharpPluginLoader.Core.dll
Exposes various functions and properties related to quests.
public static class Quest
- Inheritance
-
Quest
- Inherited Members
Properties
CurrentQuestId
Gets the current quest ID, or -1 if there is no current quest.
public static int CurrentQuestId { get; }
Property Value
CurrentQuestName
Gets the name of the current quest, or an empty string if there is no current quest.
public static string CurrentQuestName { get; }
Property Value
CurrentQuestRewardHrp
Gets the current quests reward HRP.
public static ref uint CurrentQuestRewardHrp { get; }
Property Value
CurrentQuestRewardMoney
Gets the current quests reward money.
public static ref uint CurrentQuestRewardMoney { get; }
Property Value
CurrentQuestStarcount
Gets the current quest star count.
public static ref int CurrentQuestStarcount { get; }
Property Value
Objectives
Gets the current quests objectives
public static Span<QuestTargetData> Objectives { get; }
Property Value
QuestEndTimer
Gets the quests ending timer.
public static ref Timer QuestEndTimer { get; }
Property Value
QuestState
Gets the current quest state.
public static ref uint QuestState { get; }
Property Value
SingletonInstance
The sQuest singleton instance.
public static MtObject SingletonInstance { get; }
Property Value
Methods
GetQuestName(int)
Gets the name of the quest with the specified ID.
public static string GetQuestName(int questId)
Parameters
questId
intThe ID of the quest.
Returns
- string
The name of the quest with the specified ID, or an empty string if the quest does not exist.