NPCRoleCommand

public class NPCRoleCommand extends NPCWorldCommandBase

Command for npcrol operations. Registered with the command system and callable by players.

java.lang.Object > NPCWorldCommandBase > NPCRoleCommand

Field Summary

roleInfo

final BuilderInfo roleInfo

Field roleInfo.

Method Detail

NPCRoleCommand

public public NPCRoleCommand ()

Method NPCRoleCommand.

GetRoleCommand

public new GetRoleCommand ()

Method GetRoleCommand.

execute

protected void execute (@Nonnull final CommandContext context, @Nonnull final NPCEntity npc, @Nonnull final World world, @Nonnull final Store store, @Nonnull final Ref ref)

Method execute.

Parameters:
@Nonnull final CommandContext context
@Nonnull final NPCEntity npc
@Nonnull final World world
@Nonnull final Store store
@Nonnull final Ref ref