Table of Contents

Interface IPartyController

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

A character's party membership, as the rest of the game reads it: which party, what rank, and who is in it.

public interface IPartyController : ICharacterBehaviour
Inherited Members

Remarks

The core contract of the Social module's party (Phase 3, 2026-11-16). Read-only: the group finder, the dungeon finder, arenas, instances, chat, the map, the harm rule and observer streaming all ask "are these two in the same party?" and "does this one lead it?", and none of them change it. Joining, leaving, invitations and the roster window are the module's (IPartyMembership, IPartySystem). Without the module no character has this, and every one of those reads finds no party.

Properties

ID

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

long ID { get; }

Property Value

long

Rank

The character's rank in its party (None outside one).

PartyRank Rank { get; }

Property Value

PartyRank

Events

OnAddPartyMember

Client: a member was added to the local character's roster (member ID, rank, health fraction from the party's database row).

event Action<long, PartyRank, float> OnAddPartyMember

Event Type

Action<long, PartyRank, float>

OnLeaveParty

Client: the local character left its party.

event Action OnLeaveParty

Event Type

Action

OnRemovePartyMember

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

event Action<long> OnRemovePartyMember

Event Type

Action<long>

OnValidatePartyMembers

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

event Action<HashSet<long>> OnValidatePartyMembers

Event Type

Action<HashSet<long>>