Table of Contents

Struct GuildCreationCostBroadcast

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

Server to client: what founding a guild costs on this server. Issue #186.

public struct GuildCreationCostBroadcast : IBroadcast
Implements
IBroadcast
Inherited Members

Remarks

Sent once per connection so the client can say the price before the player types a name, and grey out or label the Create button, rather than learning the fee from a refusal. The fee is server configuration (an inspector field on the guild system), so it has to be told, not looked up — nothing on the client knows it otherwise.

Advisory only. The server charges whatever it is configured to charge when the request arrives; the client's copy exists to inform the player, never to authorise anything.

Fields

Amount

Amount charged, or 0 for no fee.

public long Amount

Field Value

long

CurrencyTemplateID

Template ID of the currency attribute the fee is paid in, or 0 for no fee.

public int CurrencyTemplateID

Field Value

int