Table of Contents

Struct NPCGroupMember

Namespace
FishMMO.Server.Implementation.World.SceneServer.AI
Assembly
FishMMO.Server.dll

One brain in an NPCGroup, and the role it plays there.

public readonly struct NPCGroupMember
Inherited Members

Remarks

A runtime record, not authored data: a pack's composition is authored on its spawner (each NPC entry's PackRole) and a member is added when the spawner spawns it. It used to be a serialized inspector row on a scene component, which is how groups were meant to be built before brains stopped existing on prefabs at all.

Constructors

NPCGroupMember(AIController, NPCGroupRole)

Records a member.

public NPCGroupMember(AIController controller, NPCGroupRole role)

Parameters

controller AIController

The member's brain.

role NPCGroupRole

The role it plays in the pack.

Fields

Controller

The member's brain.

public readonly AIController Controller

Field Value

AIController

Role

The member's combat role (Tank, Healer, DPS, Support, or None).

public readonly NPCGroupRole Role

Field Value

NPCGroupRole