Table of Contents

Class GuildRankAdminData

Namespace
FishMMO.Database.Data
Assembly
FishMMO-DB.dll

One rung of a guild's rank ladder.

public sealed class GuildRankAdminData
Inheritance
GuildRankAdminData
Inherited Members

Remarks

RankOrder IS the value a membership row stores, which is why members are matched to ranks by it rather than by ID.

Properties

ID

Primary key.

public long ID { get; set; }

Property Value

long

MemberCount

How many members hold this rank.

public int MemberCount { get; set; }

Property Value

int

Name

Display name. Player-supplied text.

public string Name { get; set; }

Property Value

string

Permissions

Permission bit mask, matching the shared GuildPermissions flags enum.

public long Permissions { get; set; }

Property Value

long

Remarks

The mask, not a list of names. This assembly cannot see the game's enum — it is a Unity assembly and this one is referenced by it, not the other way round — so naming the bits here would mean a second copy of the enum that drifts from the first one silently. The presentation layer decodes it.

RankOrder

Ordering position. Higher is more senior, and unique within the guild.

public byte RankOrder { get; set; }

Property Value

byte

TimeCreated

When the rank was created.

public DateTime TimeCreated { get; set; }

Property Value

DateTime