public class CombatActionEvaluatorSystems
Class CombatActionEvaluatorSystems. Provides combatactionevaluatorsystems functionality for the Hytale server.
java.lang.Object > CombatActionEvaluatorSystems
Field Summary
role
Field role.
balancingAsset
Field balancingAsset.
constructionData
Field constructionData.
evaluator
Field evaluator.
positionCache
Field positionCache.
obj
Field obj.
npcComponent
Field npcComponent.
evaluatorComponent
Field evaluatorComponent.
stateSupport
Field stateSupport.
currentState
Field currentState.
context
Field context.
damageMemory
Field damageMemory.
valueStoreComponent
Field valueStoreComponent.
postExecutionDistanceRange
Field postExecutionDistanceRange.
currentSubState
Field currentSubState.
basicAttacks
Field basicAttacks.
currentBasicAttack
Field currentBasicAttack.
context2
Field context2.
activeMotionController
Field activeMotionController.
transformComponent
Field transformComponent.
position
Field position.
currentAction
Field currentAction.
primaryTargetRef
Field primaryTargetRef.
targetTransformComponent
Field targetTransformComponent.
targetPosition
Field targetPosition.
targetMemoryComponent
Field targetMemoryComponent.
targetTransformComponent2
Field targetTransformComponent2.
targetPosition2
Field targetPosition2.
basicAttackOptions
Field basicAttackOptions.
combatActionEvaluator
Field combatActionEvaluator.
attack2
Field attack2.
damageFriendlies
Field damageFriendlies.
context3
Field context3.
currentAction2
Field currentAction2.
targetRef2
Field targetRef2.
targetPlayerComponent
Field targetPlayerComponent.
evaluationContext
Field evaluationContext.
minRunUtility
Field minRunUtility.
runOption
Field runOption.
utility
Field utility.
optionLists
- >
Field optionLists.
currentStateOptions
Field currentStateOptions.
damageMemory2
Field damageMemory2.
combatState
Field combatState.
markedTargetSlot
Field markedTargetSlot.
minRangeSlot
Field minRangeSlot.
maxRangeSlot
Field maxRangeSlot.
positioningAngleSlot
Field positioningAngleSlot.
data
Field data.
Method Detail
SystemDependency
new
SystemDependency
(Order.AFTER, BalancingInitialisationSystem.class)
Method SystemDependency.
- Parameters:
Order.AFTEROrder.AFTERBalancingInitialisationSystem.classBalancingInitialisationSystem.class
onEntityAdd
void
onEntityAdd
(@Nonnull final Holder holder, @Nonnull final AddReason reason, @Nonnull final Store store)
Method onEntityAdd.
- Parameters:
@Nonnull final Holderholder@Nonnull final AddReasonreason@Nonnull final Storestore
CombatActionEvaluator
new
CombatActionEvaluator
(role, combatBalance.getEvaluatorConfig()
Method CombatActionEvaluator.
- Parameters:
rolerolecombatBalance.getEvaluatorConfig(combatBalance.getEvaluatorConfig(
TargetMemory
new
TargetMemory
(combatBalance.getTargetMemoryDuration()
Method TargetMemory.
- Parameters:
combatBalance.getTargetMemoryDuration(combatBalance.getTargetMemoryDuration(
onEntityRemoved
void
onEntityRemoved
(@Nonnull final Holder holder, @Nonnull final RemoveReason reason, @Nonnull final Store store)
Method onEntityRemoved.
- Parameters:
@Nonnull final Holderholder@Nonnull final RemoveReasonreason@Nonnull final Storestore
getDependencies
Set>
getDependencies
()
Method getDependencies.
EvaluatorTick
public
EvaluatorTick
(final ComponentType componentType, final ComponentType targetMemoryComponentType, final ComponentType damageMemoryComponentType)
Method EvaluatorTick.
- Parameters:
final ComponentTypecomponentTypefinal ComponentTypetargetMemoryComponentTypefinal ComponentTypedamageMemoryComponentType
isParallel
boolean
isParallel
(final int archetypeChunkSize, final int taskCount)
Method isParallel.
- Parameters:
final intarchetypeChunkSizefinal inttaskCount
tick
void
tick
(final float dt, final int index, @Nonnull final ArchetypeChunk archetypeChunk, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)
Method tick.
- Parameters:
final floatdtfinal intindex@Nonnull final ArchetypeChunkarchetypeChunk@Nonnull final Storestore@Nonnull final CommandBuffercommandBuffer
getComponentType
CombatConstructionData>
getComponentType
()
Method getComponentType.
getCombatState
String
getCombatState
()
Method getCombatState.
setCombatState
void
setCombatState
(final String state)
Method setCombatState.
- Parameters:
final Stringstate
getMarkedTargetSlot
int
getMarkedTargetSlot
()
Method getMarkedTargetSlot.
setMarkedTargetSlot
void
setMarkedTargetSlot
(final int markedTargetSlot)
Method setMarkedTargetSlot.
- Parameters:
final intmarkedTargetSlot
getMinRangeSlot
int
getMinRangeSlot
()
Method getMinRangeSlot.
setMinRangeSlot
void
setMinRangeSlot
(final int minRangeSlot)
Method setMinRangeSlot.
- Parameters:
final intminRangeSlot
getMaxRangeSlot
int
getMaxRangeSlot
()
Method getMaxRangeSlot.
setMaxRangeSlot
void
setMaxRangeSlot
(final int maxRangeSlot)
Method setMaxRangeSlot.
- Parameters:
final intmaxRangeSlot
getPositioningAngleSlot
int
getPositioningAngleSlot
()
Method getPositioningAngleSlot.
setPositioningAngleSlot
void
setPositioningAngleSlot
(final int positioningAngleSlot)
Method setPositioningAngleSlot.
- Parameters:
final intpositioningAngleSlot