java.io.Serializablepublic final class PlayerCommon
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object o) |
|
static PlayerCommon |
from(SC2APIProtocol.Sc2Api.PlayerCommon sc2ApiPlayerCommon) |
|
int |
getArmyCount() |
|
int |
getFoodArmy() |
|
int |
getFoodCap() |
|
int |
getFoodUsed() |
|
int |
getFoodWorkers() |
|
int |
getIdleWorkerCount() |
|
java.util.Optional<java.lang.Integer> |
getLarvaCount() |
|
int |
getMinerals() |
|
int |
getPlayerId() |
|
int |
getVespene() |
|
java.util.Optional<java.lang.Integer> |
getWarpGateCount() |
|
int |
hashCode() |
|
java.lang.String |
toString() |
public static PlayerCommon from(SC2APIProtocol.Sc2Api.PlayerCommon sc2ApiPlayerCommon)
public int getPlayerId()
public int getMinerals()
public int getVespene()
public int getFoodCap()
public int getFoodUsed()
public int getFoodArmy()
public int getFoodWorkers()
public int getIdleWorkerCount()
public int getArmyCount()
public java.util.Optional<java.lang.Integer> getWarpGateCount()
public java.util.Optional<java.lang.Integer> getLarvaCount()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2017–2018 Ocraft Project. All rights reserved.