ITaterzenEditor

interface ITaterzenEditor

Interface for players who edit TaterzenNPCs.

Types

EditorMode
Link copied to clipboard
enum EditorMode
Available editor modes.

Functions

getEditingMessageIndex
Link copied to clipboard
abstract fun getEditingMessageIndex(): Int
Gets the index of the message player is editing for selected TaterzenNPC.
getEditorMode
Link copied to clipboard
abstract fun getEditorMode(): ITaterzenEditor.EditorMode
Gets current edit mode type.
getNpc
Link copied to clipboard
@Nullable
open fun getNpc(): @Nullable TaterzenNPC
Gets the selected Taterzen of player.
getSelectedNpc
Link copied to clipboard
abstract fun getSelectedNpc(): Optional<TaterzenNPC>
Gets the selected Taterzen of player.
selectNpc
Link copied to clipboard
abstract fun selectNpc(@Nullable npc: @Nullable TaterzenNPC): Boolean
Selects TaterzenNPC to be editoed.
setEditingMessageIndex
Link copied to clipboard
abstract fun setEditingMessageIndex(selected: Int)
Sets the index of message that's being edited by the player.
setEditorMode
Link copied to clipboard
abstract fun setEditorMode(mode: ITaterzenEditor.EditorMode)
Sets the active editor mode for the selected Taterzen.

Inheritors

ServerPlayerMixinCast_ITaterzenEditor
Link copied to clipboard