public void Tick(RTPPlayerAction involvedAction) { if (!endOfCooldownEventEmitted) { endOfCooldownEventEmitted = true; } }
public void IncreaseOrAddActionsRemainingExecutionAmount(RTPPlayerAction RTPPlayerAction, int deltaRemaining) { if (RTPPlayerAction.PlayerActionType != PlayerActionType.UNCLASSIFIED) { currentAvailableActions.TryGetValue(RTPPlayerAction.PlayerActionType, out var retrievedActions); if (retrievedActions != null && retrievedActions.Count > 0) { foreach (var action in retrievedActions) { action.IncreaseActionRemainingExecutionAmount(deltaRemaining); } } else //Wa add { currentAvailableActions.MultiValueAdd(RTPPlayerAction.PlayerActionType, RTPPlayerAction); } } else //Wa add { currentAvailableActions.MultiValueAdd(RTPPlayerAction.PlayerActionType, RTPPlayerAction); } }
public void ExecuteAction(RTPPlayerAction rTPPlayerAction) { this.PlayerActionManager.ExecuteAction(rTPPlayerAction); this.PlayerActionWheelManager.PlayerActionWheelSleep(false); }
public void IncreaseOrAddActionsRemainingExecutionAmount(RTPPlayerAction RTPPlayerAction, int deltaRemaining) { this.PlayerActionManager.IncreaseOrAddActionsRemainingExecutionAmount(RTPPlayerAction, deltaRemaining); }
internal void AddActionToAvailable(RTPPlayerAction addedAction) { PlayerActionsAvailableManager.AddActionToAvailable(addedAction); }
internal void RemoveActionToAvailable(RTPPlayerAction removedAction) { this.PlayerActionsAvailableManager.RemoveActionToAvailable(removedAction); }
internal void IncreaseOrAddActionsRemainingExecutionAmount(RTPPlayerAction RTPPlayerAction, int deltaRemaining) { PlayerActionsAvailableManager.IncreaseOrAddActionsRemainingExecutionAmount(RTPPlayerAction, deltaRemaining); }
internal void ExecuteAction(RTPPlayerAction rTPPlayerAction) { PlayerActionExecutionManager.ExecuteAction(rTPPlayerAction); }
public PlayerSelectionWheelNodeData(RTPPlayerAction playerAction) { this.playerAction = playerAction; }
public void RemoveActionToAvailable(RTPPlayerAction rTPPlayerActionToRemove) { currentAvailableActions.MultiValueRemove(rTPPlayerActionToRemove.PlayerActionType, rTPPlayerActionToRemove); }
public void AddActionToAvailable(RTPPlayerAction rTPPlayerActionToAdd) { currentAvailableActions.MultiValueAdd(rTPPlayerActionToAdd.PlayerActionType, rTPPlayerActionToAdd); }
internal void StopAction() { currentAction = null; isActionExecuting = false; }
public void ExecuteAction(RTPPlayerAction PlayerAction) { currentAction = PlayerAction; isActionExecuting = true; currentAction.FirstExecution(); }