Table of Contents

Class SendMerchantBroadcastAction

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

ECA action that opens the merchant UI for the interacting player. Requires the interactable to implement IMerchant. Broadcasts MerchantBroadcast. Server-only.

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

Methods

Execute(ICharacter, EventData)

Sends the merchant-open broadcast with the merchant template ID.

public override void Execute(ICharacter initiator, EventData eventData)

Parameters

initiator ICharacter
eventData EventData