Sc2ApiSerializable<SC2APIProtocol.Sc2Api.PortSet>
, java.io.Serializable
public final class PortSet extends java.lang.Object implements Sc2ApiSerializable<SC2APIProtocol.Sc2Api.PortSet>
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object o) |
|
int |
getBasePort() |
|
int |
getGamePort() |
|
int |
hashCode() |
|
static PortSet |
of(int gamePort,
int basePort) |
|
SC2APIProtocol.Sc2Api.PortSet |
toSc2Api() |
|
java.lang.String |
toString() |
public static PortSet of(int gamePort, int basePort)
public SC2APIProtocol.Sc2Api.PortSet toSc2Api()
toSc2Api
in interface Sc2ApiSerializable<SC2APIProtocol.Sc2Api.PortSet>
public int getGamePort()
public int getBasePort()
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.