Quest
Namespace: SharpPluginLoader.Core
Exposes various functions and properties related to quests.
public static class Quest
Properties
SingletonInstance
The sQuest singleton instance.
public static nint SingletonInstance { get; }
Property Value
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
CurrentQuestStarcount
Gets the current quest star count.
public static Int32& CurrentQuestStarcount { get; }
Property Value
QuestState
Gets the current quest state.
public static UInt32& QuestState { get; }
Property Value
CurrentQuestRewardMoney
Gets the current quests reward money.
public static UInt32& CurrentQuestRewardMoney { get; }
Property Value
CurrentQuestRewardHrp
Gets the current quests reward HRP.
public static UInt32& CurrentQuestRewardHrp { 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 Timer& QuestEndTimer { get; }
Property Value
Methods
GetQuestName(Int32)
Gets the name of the quest with the specified ID.
public static string GetQuestName(int questId)
Parameters
questId
Int32
The 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.