Class GameCFREvent

All Implemented Interfaces:
Serializable

public class GameCFREvent extends GameEvent
A Client Feedback Request Event. This event is created when the server requires feedback of some form from the Client.
See Also:
  • Constructor Details

    • GameCFREvent

      public GameCFREvent(Object source, PacketCommand cfrType)
      Construct game event
  • Method Details

    • fireEvent

      public void fireEvent(GameListener gl)
      Sub-classed events implement this method to call their specific method on a GameListener instance that their event has been fired.
      Specified by:
      fireEvent in class GameEvent
      Parameters:
      gl - GameListener recipient.
    • getEventName

      public String getEventName()
      Specified by:
      getEventName in class GameEvent
    • toString

      public String toString()
      Overrides:
      toString in class GameEvent
    • getCFRType

      public PacketCommand getCFRType()
    • getEntityId

      public int getEntityId()
    • setEntityId

      public void setEntityId(int id)
    • getAmsEquipNum

      @Deprecated(since="0.51.0", forRemoval=true) public int getAmsEquipNum()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setAmsEquipNum

      public void setAmsEquipNum(int amsEquipNum)
    • getWAAs

      public List<WeaponAttackAction> getWAAs()
    • setWAAs

      public void setWAAs(List<WeaponAttackAction> weaponAttackActions)
    • getApdsDistances

      public List<Integer> getApdsDistances()
    • setApdsDistances

      public void setApdsDistances(List<Integer> apdsDist)
    • getTargetId

      public int getTargetId()
    • setTargetId

      public void setTargetId(int targetId)
    • getTelemissileTargetIds

      public List<Integer> getTelemissileTargetIds()
    • setTeleguidedMissileTargets

      public void setTeleguidedMissileTargets(List<Integer> newTargetIds)
    • getTmToHitValues

      public List<Integer> getTmToHitValues()
    • setTmToHitValues

      public void setTmToHitValues(List<Integer> toHitValues)
    • getTAGTargets

      public List<Integer> getTAGTargets()
    • setTAGTargets

      public void setTAGTargets(List<Integer> newTargets)
    • getTAGTargetTypes

      public List<Integer> getTAGTargetTypes()
    • setTAGTargetTypes

      public void setTAGTargetTypes(List<Integer> targetTypes)
    • setDirection

      public void setDirection(int direction)
    • getDirection

      public int getDirection()