java.io.Serializable
public final class UpgradeData
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object o) |
|
static UpgradeData |
from(SC2APIProtocol.Data.UpgradeData sc2ApiUpgradeData) |
|
java.util.Optional<Ability> |
getAbility() |
|
java.util.Optional<java.lang.Integer> |
getMineralCost() |
|
java.lang.String |
getName() |
|
java.util.Optional<java.lang.Float> |
getResearchTime() |
|
Upgrade |
getUpgrade() |
|
java.util.Optional<java.lang.Integer> |
getVespeneCost() |
|
int |
hashCode() |
|
java.lang.String |
toString() |
public static UpgradeData from(SC2APIProtocol.Data.UpgradeData sc2ApiUpgradeData)
public Upgrade getUpgrade()
public java.lang.String getName()
public java.util.Optional<java.lang.Integer> getMineralCost()
public java.util.Optional<java.lang.Integer> getVespeneCost()
public java.util.Optional<java.lang.Float> getResearchTime()
public java.util.Optional<Ability> getAbility()
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.