Table of Contents

Interface IGuildController

Namespace
FishMMO.Shared.Core
Assembly
FishMMO.Shared.dll

A character's guild membership, as the rest of the game reads it: which guild, who is in it, and the guild text the chat shows.

public interface IGuildController : ICharacterBehaviour
Inherited Members

Remarks

The core contract of the Social module's guild (Phase 3, 2026-11-16). Read-only: chat, the map, nameplates, housing access, the harm rule and observer streaming ask "which guild?" and "same guild?", and none of them change it. Joining, ranks, the roster window and the guild system are the module's (IGuildMembership). Without the module no character has this, and every one of those reads finds no guild.

Fields

OnReadID

Client: a character's guild ID was read or changed (its nameplate shows the guild's name).

public static Action<long, IPlayerCharacter> OnReadID

Field Value

Action<long, IPlayerCharacter>

Properties

ID

The guild's ID; 0 when the character is in no guild.

long ID { get; }

Property Value

long

InfoGuildID

The guild the cached info is about; 0 until it arrives.

long InfoGuildID { get; }

Property Value

long

MessageOfTheDay

The cached message of the day (the chat shows it on login).

string MessageOfTheDay { get; }

Property Value

string

Events

OnGuildMemberAdded

Client: a member was added to the local character's roster, or their row changed (character ID).

event Action<long> OnGuildMemberAdded

Event Type

Action<long>

OnLeaveGuild

Client: the local character left its guild.

event Action OnLeaveGuild

Event Type

Action

OnReceiveGuildInfo

Client: the guild's info arrived (guild ID, name, description, message of the day).

event Action<long, string, string, string> OnReceiveGuildInfo

Event Type

Action<long, string, string, string>

OnRemoveGuildMember

Client: a member left the local character's guild.

event Action<long> OnRemoveGuildMember

Event Type

Action<long>

OnValidateGuildMembers

Client: the complete set of member IDs, so a listener can drop anyone not in it.

event Action<HashSet<long>> OnValidateGuildMembers

Event Type

Action<HashSet<long>>