ModuCoreEcoPayEvent

class ModuCoreEcoPayEvent(    val to: Player,     val from: Player,     val amount: Double) : ModuCoreEvent

Event is called whenever a player pays another player.

Parameters

to

the target player

from

the player who sent money

amount

the amount that was sent. from lost this much, to gained this much.

Constructors

Link copied to clipboard
fun ModuCoreEcoPayEvent(    to: Player,     from: Player,     amount: Double)

Functions

Link copied to clipboard
open fun callEvent(): Boolean
Link copied to clipboard
@NotNull
open fun getEventName(): @NotNull String
Link copied to clipboard
open override fun getHandlers(): HandlerList
Link copied to clipboard
fun isAsynchronous(): Boolean

Properties

Link copied to clipboard
val amount: Double
Link copied to clipboard
val from: Player
Link copied to clipboard
val to: Player