Vixen
c7401864
csharp
public sealed class QuestReward

What turning a quest in pays, compiled.

Read the guide page for this →

Remarks

⚠ A list, not a transaction. This library never gives anybody anything: it says what is owed and the caller — which knows about containers, currencies and factions, and which is on the realm — pays it. Doc 28's authority table puts quest rewards in the grain for exactly that reason, and a quest library that handed out items would be deciding a durable question from the wrong process.

Fields and properties (7)

  • public static QuestReward None

    A reward that pays nothing.

  • public int Experience

    How much experience.

  • public ReadOnlySpan<QuestGrant> Items

    Items, always given.

  • public ReadOnlySpan<QuestGrant> Currencies

    Currencies, always given.

  • public ReadOnlySpan<QuestGrant> Reputation

    Faction standing, always given.

  • public ReadOnlySpan<QuestGrant> Choices

    Items to pick one of, empty when there is no choice.

  • public bool NeedsChoice

    Whether a turn-in has to name a choice.

Methods (1)

  • public bool IsValidChoice(int choice)

    Whether an index names one of the choices.

Used by (7)

  • ContributionTierVixen.Gameplay.Quests
  • DynamicEventTemplateVixen.Gameplay.Quests
  • DynamicEventTestsVixen.Gameplay.Quests.Tests
  • QuestJournalVixen.Gameplay.Quests
  • QuestJournalTestsVixen.Gameplay.Quests.Tests
  • QuestLibraryVixen.Gameplay.Quests
  • QuestTemplateVixen.Gameplay.Quests