Class RandomPacketEvent

java.lang.Object
java.util.EventObject
org.rspeer.event.Event<byte[]>
org.rspeer.game.event.RandomPacketEvent
All Implemented Interfaces:
Serializable

public class RandomPacketEvent extends org.rspeer.event.Event<byte[]>
See Also:
  • Constructor Details

    • RandomPacketEvent

      public RandomPacketEvent(byte[] source, String username)
      Constructs a prototypical Event.
      Parameters:
      source - The object on which the Event initially occurred.
      Throws:
      IllegalArgumentException - if source is null.
  • Method Details

    • getUsername

      public String getUsername()