java.io.Serializable
public final class MultiplayerOptions
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class | Description |
---|---|---|
static class |
MultiplayerOptions.Builder |
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object o) |
|
java.util.Set<PortSet> |
getClientPorts() |
|
PortSet |
getServerPort() |
|
int |
getSharedPort() |
|
int |
hashCode() |
|
static MultiplayerOptionsSyntax |
multiplayerSetup() |
|
static MultiplayerOptions |
multiplayerSetupFor(int portStart,
int playerCount) |
|
java.lang.String |
toString() |
public static MultiplayerOptionsSyntax multiplayerSetup()
public static MultiplayerOptions multiplayerSetupFor(int portStart, int playerCount)
public int getSharedPort()
public PortSet getServerPort()
public java.util.Set<PortSet> getClientPorts()
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.