Table of Contents

Struct GuildRankListBroadcast

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

Broadcast carrying a guild's rank ladder and the recipient's own standing in it.

public struct GuildRankListBroadcast : IBroadcast
Implements
IBroadcast
Inherited Members

Remarks

The viewer's rank and permissions are included in the SAME message as the ladder, rather than being derived on the client by looking their own rank up in it. That derivation is exactly the mistake this whole change exists to avoid: what a client believes it may do is presentation, and the value it presents should be the one the server computed, so that a disagreement between the two shows up as a greyed button rather than as a request the server silently drops.

Fields

GuildID

The guild the ladder belongs to.

public long GuildID

Field Value

long

LeaderRankOrder

The highest rank order that exists in this guild — the leader's seat.

public byte LeaderRankOrder

Field Value

byte

Ranks

The ladder, ordered by rank order ascending.

public GuildRankEntry[] Ranks

Field Value

GuildRankEntry[]

ViewerPermissions

The recipient's own permission mask, as computed by the server.

public long ViewerPermissions

Field Value

long

ViewerRankOrder

The recipient's own rank order.

public byte ViewerRankOrder

Field Value

byte