Vixen
c7401864
csharp
public sealed class QuestObjectiveDefinition

One objective: a type, a count, and what it is counting.

Read the guide page for this →

Remarks

A type plus parameters, which is doc 28's phrasing and the reason a game can add one. Type names an IQuestObjective in the registry; every other field here is a parameter that type may or may not read. The engine ships ten and a game's eleventh is a class in its own assembly.

⚠ Every member is settable, for the YAML binder's reason — see ModifierDefinition.

Fields and properties (9)

  • public string Type

    Which objective type — Kill, Collect, or a game's own.

  • public string DisplayName

    What the tracker says — Undead slain.

  • public int Count

    How many are needed. For Survive, how many seconds.

  • public string Target

    The address of exactly what counts, or empty for anything the tags allow.

  • public List<string> TargetTags

    Tag prefixes the subject must match at least one of — Creature.Undead.

  • public List<string> ExcludeTags

    Tag prefixes the subject must match none of.

  • public string Scene

    The address of the map it counts in, or empty for anywhere.

  • public bool Optional

    Whether the stage completes without it.

  • public bool Hidden

    Whether the tracker shows it before it has been started.

Used by (18)

  • ReferenceTestsMmo.Content.Tests
  • ContentVixen.Editor.Gameplay.Quests.Tests
  • EventChainProjectionVixen.Editor.Gameplay.Quests
  • EventChainTestsVixen.Editor.Gameplay.Quests.Tests
  • QuestModelVixen.Editor.Gameplay.Quests
  • QuestModelTestsVixen.Editor.Gameplay.Quests.Tests
  • ContentVixen.Gameplay.Quests.Tests
  • DynamicEventDefinitionVixen.Gameplay.Quests
  • DynamicEventTestsVixen.Gameplay.Quests.Tests
  • ObjectiveTemplateVixen.Gameplay.Quests
  • QuestDefinitionVixen.Gameplay.Quests
  • QuestLibraryVixen.Gameplay.Quests
  • QuestStageDefinitionVixen.Gameplay.Quests
  • SectionContentVixen.Live.Gameplay.Tests
  • TypeRegistrationVixen.Gameplay.Quests
  • Vixen_Gameplay_Quests_DynamicEventDefinitionSerializerVixen.Gameplay.Quests
  • Vixen_Gameplay_Quests_QuestObjectiveDefinitionSerializerVixen.Gameplay.Quests
  • Vixen_Gameplay_Quests_QuestStageDefinitionSerializerVixen.Gameplay.Quests