GeneralizableAbility<ActionRaw>
, Sc2ApiSerializable<SC2APIProtocol.Raw.ActionRaw>
, java.io.Serializable
public final class ActionRaw extends java.lang.Object implements Sc2ApiSerializable<SC2APIProtocol.Raw.ActionRaw>, GeneralizableAbility<ActionRaw>
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object o) |
|
static ActionRaw |
from(SC2APIProtocol.Raw.ActionRaw sc2ApiActionRaw) |
|
ActionRaw |
generalizeAbility(java.util.function.UnaryOperator<Ability> generalize) |
|
java.util.Optional<ActionRawCameraMove> |
getCameraMove() |
|
java.util.Optional<ActionRawToggleAutocast> |
getToggleAutocast() |
|
java.util.Optional<ActionRawUnitCommand> |
getUnitCommand() |
|
int |
hashCode() |
|
static ActionRaw |
of(ActionRawCameraMove cameraMove) |
|
static ActionRaw |
of(ActionRawToggleAutocast toggleAutocast) |
|
static ActionRaw |
of(ActionRawUnitCommand unitCommand) |
|
SC2APIProtocol.Raw.ActionRaw |
toSc2Api() |
|
java.lang.String |
toString() |
public static ActionRaw from(SC2APIProtocol.Raw.ActionRaw sc2ApiActionRaw)
public static ActionRaw of(ActionRawUnitCommand unitCommand)
public static ActionRaw of(ActionRawCameraMove cameraMove)
public static ActionRaw of(ActionRawToggleAutocast toggleAutocast)
public SC2APIProtocol.Raw.ActionRaw toSc2Api()
toSc2Api
in interface Sc2ApiSerializable<SC2APIProtocol.Raw.ActionRaw>
public java.util.Optional<ActionRawUnitCommand> getUnitCommand()
public java.util.Optional<ActionRawCameraMove> getCameraMove()
public java.util.Optional<ActionRawToggleAutocast> getToggleAutocast()
public ActionRaw generalizeAbility(java.util.function.UnaryOperator<Ability> generalize)
generalizeAbility
in interface GeneralizableAbility<ActionRaw>
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.