Table of Contents

Class GuildAdminData

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

One guild, as a support agent needs to see it in a list.

public sealed class GuildAdminData
Inheritance
GuildAdminData
Inherited Members

Remarks

Deliberately not GuildData. That type is the game's transfer shape: it carries the three advertisement strings a client renders and nothing about who is in the guild, because a client that is in a guild already has its roster. A support agent has neither, and the first two questions asked of any guild in a ticket are how many members it has and who leads it.

There is no leader column, and LeaderName is a derivation, not a fact. A guild's ladder is the set of guild_rank rows it owns and a membership row stores a rank_order; the leader's seat is the highest rung the ladder defines, and a member leads by reaching it — the same test the game server applies. Nothing stops two members reaching it, so when several do, the earliest to join is named and LeaderIsAmbiguous is set rather than picking one silently. A guild with no ranks has no seat, and so no leader to name.

Properties

Blurb

The recruitment advertisement, which non-members can read in game.

public string Blurb { get; set; }

Property Value

string

ID

Primary key.

public long ID { get; set; }

Property Value

long

IsRecruiting

Whether the guild is listed in the recruitment directory.

public bool IsRecruiting { get; set; }

Property Value

bool

LeaderCharacterID

The highest-ranked member's character ID, or zero when the guild is empty.

public long LeaderCharacterID { get; set; }

Property Value

long

LeaderIsAmbiguous

Whether more than one member shares the highest rank present.

public bool LeaderIsAmbiguous { get; set; }

Property Value

bool

LeaderName

The highest-ranked member's character name, or null when the guild is empty.

public string LeaderName { get; set; }

Property Value

string

MemberCount

Members in the guild. Zero is an ordinary answer, not a missing read.

public int MemberCount { get; set; }

Property Value

int

Name

Display name. Player-supplied text.

public string Name { get; set; }

Property Value

string

RankCount

Rungs on the guild's rank ladder.

public int RankCount { get; set; }

Property Value

int

Tags

Comma-separated recruitment tags, as the guild wrote them.

public string Tags { get; set; }

Property Value

string

TimeCreated

When the guild was founded.

public DateTime TimeCreated { get; set; }

Property Value

DateTime

Version

Row version, which every write moves.

public long Version { get; set; }

Property Value

long