BackpackAction

class BackpackAction(val slots: Int) : ShopAction

An action that unlocks a specific amount of backpack slots.

Author

MarkusTieger

Since

0.2.0

Constructors

Link copied to clipboard
constructor(slots: Int)

Properties

Link copied to clipboard
val slots: Int

Functions

Link copied to clipboard
open override fun exec(player: Player): Component?

Executes the action and unlocks a backpack slot for the player.