Table of Contents

Class CharacterWaypointEntity

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

One page of a character's discovered waypoints in one scene. See CharacterWaypointData for the shape and its reasons.

public class CharacterWaypointEntity
Inheritance
CharacterWaypointEntity
Inherited Members

Remarks

No Version and no soft-delete, like CharacterDialogueChoiceEntity: the row is a monotonically growing bitmask merged with OR, so there is no stale write to reject and nothing a delete-and-recreate would express better than a zero row.

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 discovered 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-waypoint page of the scene. Part of the primary key.

public short Page { get; set; }

Property Value

short

SceneName

The scene the waypoints 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