Class AbstractNPCManagement
java.lang.Object
eu.cloudnetservice.modules.npc.impl.AbstractNPCManagement
- All Implemented Interfaces:
InternalNPCManagement, eu.cloudnetservice.modules.npc.NPCManagement
- Direct Known Subclasses:
NodeNPCManagement, PlatformNPCManagement
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringstatic final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected eu.cloudnetservice.modules.npc.configuration.NPCConfigurationprotected final Map<eu.cloudnetservice.modules.bridge.WorldPosition, eu.cloudnetservice.modules.npc.NPC> -
Constructor Summary
ConstructorsConstructorDescriptionAbstractNPCManagement(@Nullable eu.cloudnetservice.modules.npc.configuration.NPCConfiguration npcConfiguration, @NonNull eu.cloudnetservice.driver.event.EventManager eventManager) -
Method Summary
Modifier and TypeMethodDescriptionprotected eu.cloudnetservice.driver.channel.ChannelMessage.BuilderchannelMessage(@NonNull String message) voidvoidhandleInternalNPCConfigUpdate(@NonNull eu.cloudnetservice.modules.npc.configuration.NPCConfiguration configuration) voidhandleInternalNPCCreate(@NonNull eu.cloudnetservice.modules.npc.NPC npc) voidhandleInternalNPCRemove(@NonNull eu.cloudnetservice.modules.bridge.WorldPosition position) @Nullable eu.cloudnetservice.modules.npc.NPC@NonNull eu.cloudnetservice.modules.npc.configuration.NPCConfigurationvoidnpcConfiguration(@NonNull eu.cloudnetservice.modules.npc.configuration.NPCConfiguration configuration) @NonNull Collection<eu.cloudnetservice.modules.npc.NPC> npcs()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface eu.cloudnetservice.modules.npc.NPCManagement
createNPC, deleteAllNPCs, deleteAllNPCs, deleteNPC, npcs
-
Field Details
-
NPC_CHANNEL_NAME
- See Also:
-
NPC_CREATED
- See Also:
-
NPC_DELETED
- See Also:
-
NPC_BULK_DELETE
- See Also:
-
NPC_CONFIGURATION_UPDATE
- See Also:
-
npcs
protected final Map<eu.cloudnetservice.modules.bridge.WorldPosition, eu.cloudnetservice.modules.npc.NPC> npcs -
npcConfiguration
protected eu.cloudnetservice.modules.npc.configuration.NPCConfiguration npcConfiguration
-
-
Constructor Details
-
AbstractNPCManagement
-
-
Method Details
-
npcAt
-
deleteNPC
-
npcs
- Specified by:
npcsin interfaceeu.cloudnetservice.modules.npc.NPCManagement
-
npcConfiguration
-
npcConfiguration
-
handleInternalNPCCreate
- Specified by:
handleInternalNPCCreatein interfaceInternalNPCManagement
-
handleInternalNPCRemove
public void handleInternalNPCRemove(@NonNull @NonNull eu.cloudnetservice.modules.bridge.WorldPosition position) - Specified by:
handleInternalNPCRemovein interfaceInternalNPCManagement
-
handleInternalNPCConfigUpdate
public void handleInternalNPCConfigUpdate(@NonNull @NonNull eu.cloudnetservice.modules.npc.configuration.NPCConfiguration configuration) - Specified by:
handleInternalNPCConfigUpdatein interfaceInternalNPCManagement
-
channelMessage
-