Package de.delinkedde.mobarenareborn
Klasse Services
java.lang.Object
de.delinkedde.mobarenareborn.Services
Immutable container that owns and exposes the plugin's subsystems.
The plugin uses manual constructor-based dependency injection instead of a framework.
create(MobArenaPlugin) builds the subsystems in dependency order and returns a
fully initialised container.
- Siehe auch:
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibung@NotNull AbilityService@NotNull MobArenaApiapi()@NotNull ArenaManager@NotNull BossRegistry@NotNull ClassRegistry@NotNull CommandManager@NotNull ConfigManagerstatic @NotNull Servicescreate(@NotNull MobArenaPlugin plugin) Builds the service container in dependency order.@NotNull InfoSigns@NotNull ItemTemplates@NotNull MenuManager@NotNull Messagesmessages()@NotNull MobRegistry@NotNull MobScaler@NotNull PetService@NotNull MobArenaPluginplugin()@NotNull ProgressionService@NotNull RevivalService@NotNull RewardCache@NotNull SessionManagervoidshutdown()Ends every active session (restoring players and flushing progression) and closes the database.@NotNull SoftRestore@NotNull SpectateManager@NotNull StashStore@NotNull StatsService@NotNull ThreatService@NotNull WaveSetRegistry
-
Methodendetails
-
create
Builds the service container in dependency order.- Parameter:
plugin- the owning plugin instance- Gibt zurück:
- a fully initialised service container
-
shutdown
public void shutdown()Ends every active session (restoring players and flushing progression) and closes the database. -
plugin
- Gibt zurück:
- the owning plugin instance
-
configManager
- Gibt zurück:
- the configuration manager
-
messages
- Gibt zurück:
- the message renderer
-
arenaManager
- Gibt zurück:
- the arena registry
-
mobRegistry
- Gibt zurück:
- the mob registry
-
mobScaler
- Gibt zurück:
- the mob scaler
-
bossRegistry
- Gibt zurück:
- the boss registry
-
waveSetRegistry
- Gibt zurück:
- the wave-set registry
-
classRegistry
- Gibt zurück:
- the class registry
-
progressionService
- Gibt zurück:
- the progression service
-
threatService
- Gibt zurück:
- the threat service
-
abilityService
- Gibt zurück:
- the ability service
-
revivalService
- Gibt zurück:
- the healer revive service
-
rewardCache
- Gibt zurück:
- the reward cache holding undelivered reward items
-
softRestore
- Gibt zurück:
- the soft-restore service
-
itemTemplates
- Gibt zurück:
- the item template store
-
petService
- Gibt zurück:
- the pet service
-
infoSigns
- Gibt zurück:
- the live info-sign service
-
api
- Gibt zurück:
- the public API facade for other plugins
-
statsService
- Gibt zurück:
- the statistics service
-
spectateManager
- Gibt zurück:
- the spectate manager
-
stashStore
- Gibt zurück:
- the persistent stash store
-
sessionManager
- Gibt zurück:
- the arena session manager
-
commandManager
- Gibt zurück:
- the command manager
-