Table of Contents

Class LoreObjectAction

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

ECA action for lore object interactions. Sends a LoreObjectBroadcast to display the UILore window, grants abilities and ability events inline (idempotent), invokes OnGrantItem once per item grant so that InteractableSystem can persist each item to the database, and increments the achievement counter. Server-only.

[Serializable]
public class LoreObjectAction : BaseAction, IAction
Inheritance
LoreObjectAction
Implements
Inherited Members

Methods

Execute(ICharacter, EventData)

Executes the lore object interaction: sends the lore broadcast, grants abilities and ability events, grants items, and increments the achievement counter. Server-only.

public override void Execute(ICharacter initiator, EventData eventData)

Parameters

initiator ICharacter

The character interacting with the lore object.

eventData EventData

The event data containing the interaction context.