public class DefaultScriptedEvent extends AbstractScriptedEvent<GameObject,MapArchObject,Archetype>
Modifier and Type | Method and Description |
---|---|
GameObject |
getEventArch()
Returns the underlying event game object.
|
int |
getEventType() |
@NotNull java.lang.String |
getOptions() |
@NotNull java.lang.String |
getPluginName() |
@NotNull java.lang.String |
getScriptPath() |
void |
modifyEventPath()
Set event path and plugin name according to user input from popup
dialog.
|
protected void |
setEventData(@NotNull java.lang.String pluginName,
@NotNull java.lang.String scriptPath,
@NotNull java.lang.String options) |
protected @NotNull java.lang.String |
typeName(int eventType) |
public void modifyEventPath()
ScriptedEvent
public GameObject getEventArch()
ScriptedEvent
public int getEventType()
@NotNull public @NotNull java.lang.String getPluginName()
@NotNull public @NotNull java.lang.String getScriptPath()
@NotNull public @NotNull java.lang.String getOptions()
@NotNull protected @NotNull java.lang.String typeName(int eventType)
typeName
in class AbstractScriptedEvent<GameObject,MapArchObject,Archetype>
protected void setEventData(@NotNull @NotNull java.lang.String pluginName, @NotNull @NotNull java.lang.String scriptPath, @NotNull @NotNull java.lang.String options)
setEventData
in class AbstractScriptedEvent<GameObject,MapArchObject,Archetype>