TaskSet

public class TaskSet

Class TaskSet. Provides taskset functionality for the Hytale server.

java.lang.Object > TaskSet

Field Summary

descriptionId

protected String descriptionId

Field descriptionId.

tasks

protected ObjectiveTaskAsset[] tasks

Field tasks.

Method Detail

TaskSet

public public TaskSet (final String descriptionId, final ObjectiveTaskAsset[] tasks)

Method TaskSet.

Parameters:
final String descriptionId
final ObjectiveTaskAsset[] tasks

getDescriptionId

public String getDescriptionId ()

Method getDescriptionId.

getDescriptionKey

public String getDescriptionKey (final String objectiveId, final int taskSetIndex)

Method getDescriptionKey.

Parameters:
final String objectiveId
final int taskSetIndex

getTasks

public ObjectiveTaskAsset[] getTasks ()

Method getTasks.

toString

public String toString ()

Method toString.

KeyedCodec

public new KeyedCodec ("Tasks", new ArrayCodec(ObjectiveTaskAsset.CODEC, ObjectiveTaskAsset[]::new)

Method KeyedCodec.

Parameters:
"Tasks" "Tasks"
new ArrayCodec(ObjectiveTaskAsset.CODEC
ObjectiveTaskAsset[]::new ObjectiveTaskAsset[]::new