Class PlayerVictim
java.lang.Object
space.arim.libertybans.api.Victim
space.arim.libertybans.api.PlayerVictim
-
Nested Class Summary
Nested classes/interfaces inherited from class Victim
Victim.VictimType -
Method Summary
Modifier and TypeMethodDescriptionbooleanEvaluates whether this victim is the same as anothergetType()Gets this victim's type:Victim.VictimType.PLAYERgetUUID()Gets the UUID of this victiminthashCode()static PlayerVictimGets a victim from a UUIDtoString()
-
Method Details
-
of
Gets a victim from a UUID- Parameters:
uuid- the player UUID- Returns:
- a player victim
-
getType
Gets this victim's type:Victim.VictimType.PLAYER -
getUUID
-
equals
-
hashCode
-
toString
-