InteractionSnapshotSourceCommand class

Пакет: com.hypixel.hytale.server.core.modules.interaction.commands

Файл: com/hypixel/hytale/server/core/modules/interaction/commands/InteractionSnapshotSourceCommand.java

extends: CommandBase

Методы (1)

МодификаторыВозвратСигнатура
abstract super super("snapshotsource", "server.commands.interaction.snapshotSource.desc")

Исходный код

Показать/скрыть
class="kw">package com.hypixel.hytale.server.core.modules.interaction.commands;

class="kw">import com.hypixel.hytale.server.core.Message;
class="kw">import com.hypixel.hytale.server.core.command.system.CommandContext;
class="kw">import com.hypixel.hytale.server.core.command.system.basecommands.CommandBase;
class="kw">import com.hypixel.hytale.server.core.modules.interaction.interaction.config.none.SelectInteraction;
class="kw">import javax.annotation.Nonnull;

class="kw">public class InteractionSnapshotSourceCommand class="kw">extends CommandBase {
   class="kw">public InteractionSnapshotSourceCommand() {
      super("snapshotsource", "server.commands.interaction.snapshotSource.desc");
      this.addSubCommand(new InteractionSetSnapshotSourceCommand());
   }

   @Override
   class="kw">protected void executeSync(@Nonnull CommandContext var1) {
      var1.sendMessage(Message.translation("server.commands.interaction.snapshotSource.get").param("source", SelectInteraction.SNAPSHOT_SOURCE.name()));
   }
}