Vixen
c7401864
csharp
public record class PvpMapDefinition

A battleground, an arena or a duel: a map, its teams and how it is won.

Read the guide page for this →

Fields and properties (10)

  • public string DisplayName

    What it is called.

  • public MatchKind Kind

    What kind of match it is.

  • public string Scene

    The address of the map it happens on.

  • public int Teams

    How many teams.

  • public int TeamSize

    How many on each.

  • public int ScoreToWin

    What it takes to win, or zero for a match won only on the clock.

  • public float TimeLimit

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

  • public int Rounds

    How many rounds, for an arena. One for anything else.

  • public List<PvpObjectiveDefinition> Objectives

    Its objectives.

  • public string Tag

    What being in one is — Pvp.Battleground. Empty for one nothing asks about.

Methods (1)

  • public override void CollectTags(ICollection<string> tags)

    Every tag this definition mentions, so the content build can bake the tag table.

Used by (8)

  • CoverageTestsMmo.Content.Tests
  • ContentVixen.Gameplay.Pvp.Tests
  • PvpLibraryVixen.Gameplay.Pvp
  • PvpLibraryTestsVixen.Gameplay.Pvp.Tests
  • PvpMapVixen.Gameplay.Pvp
  • PvpModuleVixen.Gameplay.Pvp
  • TypeRegistrationVixen.Gameplay.Pvp
  • Vixen_Gameplay_Pvp_PvpMapDefinitionSerializerVixen.Gameplay.Pvp