java.io.Serializable
public final class PlayerInfo
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object o) |
|
static PlayerInfo |
from(SC2APIProtocol.Sc2Api.PlayerInfo sc2ApiPlayerInfo) |
|
java.util.Optional<Race> |
getActualRace() |
|
java.util.Optional<Difficulty> |
getDifficulty() |
|
int |
getPlayerId() |
|
java.util.Optional<PlayerType> |
getPlayerType() |
|
Race |
getRequestedRace() |
|
int |
hashCode() |
|
java.lang.String |
toString() |
public static PlayerInfo from(SC2APIProtocol.Sc2Api.PlayerInfo sc2ApiPlayerInfo)
public int getPlayerId()
public java.util.Optional<PlayerType> getPlayerType()
public Race getRequestedRace()
public java.util.Optional<Race> getActualRace()
public java.util.Optional<Difficulty> getDifficulty()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2017–2018 Ocraft Project. All rights reserved.