Table of Contents

Class OpenPlotPanelAction

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

ECA action on a plot's deed post: asks the server to describe the plot to the player who walked up to it. Server-only.

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

Remarks

Replaces ClaimPlotAction on generated plots. Interacting used to buy the land outright, so pressing the interact key near a post spent money with no price shown and nothing to confirm. Now the server answers with what the plot is — price, owner, rent, and what this player may do — and the purchase is a separate request sent from the client's plot panel, carrying the price the panel showed.

Methods

Execute(ICharacter, EventData)

Raises a panel request for the interacted foundation.

public override void Execute(ICharacter initiator, EventData eventData)

Parameters

initiator ICharacter
eventData EventData