Vixen
c7401864
csharp
public sealed class DynamicEventTemplate

One dynamic event, compiled.

Read the guide page for this →

Fields and properties (12)

  • public DynamicEventDefinition Definition

    What it was compiled from.

  • public DefId Id

    Its id.

  • public string DisplayName

    What it is called.

  • public GameplayTag Tag

    What being in it is, or None.

  • public DefId Scene

    Which map it happens on.

  • public ReadOnlySpan<ObjectiveTemplate> Objectives

    Its objectives.

  • public ReadOnlySpan<ContributionTier> Tiers

    Its contribution tiers, richest first.

  • public ReadOnlySpan<EventLink> OnSuccess

    What success starts.

  • public ReadOnlySpan<EventLink> OnFailure

    What failure starts.

  • public float Duration

    How long it may run, in seconds. Zero for no limit.

  • public bool ScalesObjectives

    Whether the objectives' counts grow with the crowd, or only the difficulty.

  • public bool IsSelfTerminating

    Whether it can end without anybody doing anything.

Methods (2)

  • public float Scale(int participants)

    How much harder it is with this many people.

  • public ContributionTier? TierFor(int contribution)

    Which tier a contribution reaches.

Used by (7)

  • ReferenceTestsMmo.Content.Tests
  • EventChainVixen.Editor.Gameplay.Quests
  • EventChainProjectionVixen.Editor.Gameplay.Quests
  • DynamicEventDirectorVixen.Gameplay.Quests
  • DynamicEventInstanceVixen.Gameplay.Quests
  • DynamicEventTestsVixen.Gameplay.Quests.Tests
  • QuestLibraryVixen.Gameplay.Quests