public class UseEntityObjectiveTask extends CountObjectiveTask
Class UseEntityObjectiveTask. Provides useentityobjectivetask functionality for the Hytale server.
java.lang.Object > CountObjectiveTask > UseEntityObjectiveTask
Field Summary
npcUUIDs
protected
Set
npcUUIDs
Field npcUUIDs.
objectiveUUID
final
UUID
objectiveUUID
Field objectiveUUID.
objectiveDataStore
final
ObjectiveDataStore
objectiveDataStore
Field objectiveDataStore.
taskId
final
String
taskId
Field taskId.
dialogOptions
final
UseEntityObjectiveTaskAsset.DialogOptions
dialogOptions
Field dialogOptions.
playerComponent
final
Player
playerComponent
Field playerComponent.
Method Detail
UseEntityObjectiveTask
public
public
UseEntityObjectiveTask
(@Nonnull final UseEntityObjectiveTaskAsset asset, final int taskSetIndex, final int taskIndex)
Method UseEntityObjectiveTask.
- Parameters:
@Nonnull final UseEntityObjectiveTaskAssetassetfinal inttaskSetIndexfinal inttaskIndex
setup0
protected
TransactionRecord[]
setup0
(@Nonnull final Objective objective, @Nonnull final World world, @Nonnull final Store store)
Method setup0.
- Parameters:
@Nonnull final Objectiveobjective@Nonnull final Worldworld@Nonnull final Storestore
UseEntityTransactionRecord
public
new
UseEntityTransactionRecord
(objectiveUUID, taskId)
Method UseEntityTransactionRecord.
- Parameters:
objectiveUUIDobjectiveUUIDtaskIdtaskId
increaseTaskCompletion
public
boolean
increaseTaskCompletion
(@Nonnull final Store store, @Nonnull final Ref ref, final int qty, @Nonnull final Objective objective, @Nonnull final PlayerRef playerRef, final UUID npcUUID)
Method increaseTaskCompletion.
- Parameters:
@Nonnull final Storestore@Nonnull final Refreffinal intqty@Nonnull final Objectiveobjective@Nonnull final PlayerRefplayerReffinal UUIDnpcUUID
DialogPage
public
new
DialogPage
(playerRef, dialogOptions)
Method DialogPage.
- Parameters:
playerRefplayerRefdialogOptionsdialogOptions
toString
public
String
toString
()
Method toString.