PlayerAbilityService

Saves ability assignments for each player's click actions.

Inheritors

Functions

Link copied to clipboard
abstract fun assign(player: Player, action: Action, abilityId: String)

Assigns abilityId to action for player.

Link copied to clipboard
abstract fun clear(player: Player)

Removes all Foundry action assignments from player.

Link copied to clipboard
abstract fun get(player: Player, action: Action): String?

Returns the ability ID assigned to action, or null if there is no assignment.

Link copied to clipboard
abstract fun remove(player: Player, action: Action)

Removes the assignment for action from player.