Table of Contents

Class CharacterPortalEntity

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

One page of the portals a character has activated for themselves in one scene. See CharacterPortalData for the shape and its reasons.

public class CharacterPortalEntity
Inheritance
CharacterPortalEntity
Inherited Members

Remarks

No Version and no soft-delete, like CharacterWaypointEntity: the row is a monotonically growing bitmask merged with OR.

Properties

Character

public CharacterEntity Character { get; set; }

Property Value

CharacterEntity

CharacterID

Owning character. Part of the primary key.

public long CharacterID { get; set; }

Property Value

long

Mask

The activated bits, stored as bigint; the two's-complement reinterpretation is lossless and done in the service, because PostgreSQL has no unsigned integer.

public long Mask { get; set; }

Property Value

long

Page

Which 64-portal page of the scene. Part of the primary key.

public short Page { get; set; }

Property Value

short

SceneName

The scene the portals stand 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