Table of Contents

Class WorldPortalStateEntity

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

A portal opened for the whole world, permanently or until ActiveUntil. See WorldPortalStateData.

public class WorldPortalStateEntity
Inheritance
WorldPortalStateEntity
Inherited Members

Remarks

No version and no soft-delete: every write is an idempotent merge (permanent ORs, the deadline takes the later), so there is no stale write to reject and nothing to undo.

Properties

ActiveUntil

UTC moment a timed opening ends; the Unix epoch when never timed.

public DateTime ActiveUntil { get; set; }

Property Value

DateTime

Permanent

Open for good.

public bool Permanent { get; set; }

Property Value

bool

PortalIndex

The portal's authored index within that scene. Part of the primary key.

public int PortalIndex { get; set; }

Property Value

int

SceneName

The scene the portal stands in. Part of the primary key.

public string SceneName { get; set; }

Property Value

string

TimeCreated

public DateTime TimeCreated { get; set; }

Property Value

DateTime

TimeUpdated

public DateTime TimeUpdated { get; set; }

Property Value

DateTime