public abstract class TargetedEvent extends Event
Constructor and Description |
---|
TargetedEvent(Connection sender,
Connection receiver) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
Connection |
getReceiver()
Receiver of the action.
|
Connection |
getSender()
Creator of the action.
|
int |
hashCode() |
String |
toString() |
public TargetedEvent(Connection sender, Connection receiver)
public Connection getSender()
public Connection getReceiver()
protected boolean canEqual(Object other)
Copyright © 2012–2020 SpigotMC. All rights reserved.