Class SilenceTrigger

All Implemented Interfaces:
Serializable, Cloneable, HasDesc<EventTriggerDesc>

public class SilenceTrigger extends EventTrigger
Fires whenever an Actor is Attribute.SILENCED.

The SilenceEvent populates the silenced actor into EntityReference.EVENT_TARGET.

Values at the time of firing
Field Value
EntityReference.EVENT_SOURCE the Player entity of the player that performed the silencing
EntityReference.EVENT_TARGET the target of the silencing
EventTriggerArg.TARGET_PLAYER the player that performed the increase
EventTriggerArg.SOURCE_PLAYER -1
EventValueProvider 0
See Also:
  • Constructor Details

  • Method Details

    • innerQueues

      protected boolean innerQueues(GameEvent event, Enchantment enchantment, Entity host)
      Description copied from class: EventTrigger
      When an event this trigger is EventTrigger.interestedIn() occurs, this test indicates whether or not the trigger should enter the queue of effects that should be evaluated. This is distinct from whether or not
      Specified by:
      innerQueues in class EventTrigger
      Returns:
    • interestedIn

      public com.hiddenswitch.spellsource.rpc.Spellsource.GameEventTypeMessage.GameEventType interestedIn()
      Specified by:
      interestedIn in class EventTrigger