Table of Contents

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

int

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

string

CurrentQuestRewardHrp

Gets the current quests reward HRP.

public static ref uint CurrentQuestRewardHrp { get; }

Property Value

uint

CurrentQuestRewardMoney

Gets the current quests reward money.

public static ref uint CurrentQuestRewardMoney { get; }

Property Value

uint

CurrentQuestStarcount

Gets the current quest star count.

public static ref int CurrentQuestStarcount { get; }

Property Value

int

Objectives

Gets the current quests objectives

public static Span<QuestTargetData> Objectives { get; }

Property Value

Span<QuestTargetData>

QuestEndTimer

Gets the quests ending timer.

public static ref Timer QuestEndTimer { get; }

Property Value

Timer

QuestState

Gets the current quest state.

public static ref uint QuestState { get; }

Property Value

uint

SingletonInstance

The sQuest singleton instance.

public static MtObject SingletonInstance { get; }

Property Value

MtObject

Methods

GetQuestName(int)

Gets the name of the quest with the specified ID.

public static string GetQuestName(int questId)

Parameters

questId int

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.