Table of Contents

Class ArenaMatchEntity

Namespace
FishMMO.Database.Npgsql.Entities
Assembly
FishMMO-DB.dll

One arena match: the instance it runs in, the format it was formed for, and its outcome.

public class ArenaMatchEntity
Inheritance
ArenaMatchEntity
Inherited Members

Remarks

Created inside the same transaction that takes the players out of the group finder queue and opens the instance, so a match row always has its instance and its members, and the scene server that ends up hosting the instance can read the whole match from this table without having taken part in forming it. Ended matches are kept as history.

Properties

BackfillUntilUtc

Until when a vacated seat may be filled from the queue (UTC), or null.

public DateTime? BackfillUntilUtc { get; set; }

Property Value

DateTime?

Format

Format index into the template's own list.

public int Format { get; set; }

Property Value

int

ID

Primary key.

public long ID { get; set; }

Property Value

long

InstanceID

The scenes row of the instance the match runs in.

public long InstanceID { get; set; }

Property Value

long

Members

Navigation collection of members.

public List<ArenaMatchMemberEntity> Members { get; set; }

Property Value

List<ArenaMatchMemberEntity>

Ranked

Whether this match moves ratings.

public bool Ranked { get; set; }

Property Value

bool

SceneName

Arena scene name.

public string SceneName { get; set; }

Property Value

string

SeasonID

Season the match counts towards, or 0 for an unranked match.

public long SeasonID { get; set; }

Property Value

long

Status

Where the match is in its life. See ArenaMatchStatus.

public int Status { get; set; }

Property Value

int

TeamCount

Teams in the match.

public int TeamCount { get; set; }

Property Value

int

TeamSize

Seats per team.

public int TeamSize { get; set; }

Property Value

int

TemplateID

Arena template ID, so the hosting server can resolve the rules.

public int TemplateID { get; set; }

Property Value

int

TimeCreated

When the match was formed (UTC).

public DateTime TimeCreated { get; set; }

Property Value

DateTime

TimeEnded

When the match ended or was cancelled (UTC), or null.

public DateTime? TimeEnded { get; set; }

Property Value

DateTime?

TimeStarted

When play began (UTC), or null.

public DateTime? TimeStarted { get; set; }

Property Value

DateTime?

WinnerTeam

Winning team index, or -1 when undecided or drawn.

public int WinnerTeam { get; set; }

Property Value

int

WorldServerID

World server the match belongs to.

public long WorldServerID { get; set; }

Property Value

long