Table of Contents

Class PartyEntity

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

Party entity representing a player party group and its member associations.

public class PartyEntity : IVersionedEntity
Inheritance
PartyEntity
Implements
Inherited Members

Properties

Characters

Navigation collection of party member entries.

public List<CharacterPartyEntity> Characters { get; set; }

Property Value

List<CharacterPartyEntity>

ID

Primary key.

public long ID { get; set; }

Property Value

long

TimeCreated

Row creation timestamp (UTC).

public DateTime TimeCreated { get; set; }

Property Value

DateTime

Version

Application-level concurrency token. Incremented on every write to detect stale updates.

public long Version { get; set; }

Property Value

long

WorldServerID

World server this party belongs to.

public long WorldServerID { get; set; }

Property Value

long

Remarks

A party exists on one world server and nowhere else. Characters are global — the same character can be played on any world server, deliberately, so that friends can play together wherever they are — but a party spans scene servers by being replicated through the database, and that replication is scoped to a world server. A party whose members were spread across two of them would be updated by pumps that cannot see each other, invited to instances that do not exist on the other side, and shown rosters that never converge.

So this is the column that lets a character's party membership be dropped when they arrive on a different world server, rather than being carried into one where it cannot work.