public class PlayerConnection extends Object
| Modifier and Type | Field and Description |
|---|---|
private String |
host |
private boolean |
legacy |
private String |
name |
private boolean |
onlineMode |
private int |
port |
private UUID |
uniqueId |
private int |
version |
| Constructor and Description |
|---|
PlayerConnection(UUID uniqueId,
String name,
int version,
String host,
int port,
boolean onlineMode,
boolean legacy) |
| Modifier and Type | Method and Description |
|---|---|
String |
getHost() |
String |
getName() |
int |
getPort() |
UUID |
getUniqueId() |
int |
getVersion() |
boolean |
isLegacy() |
boolean |
isOnlineMode() |
Copyright © 2020. All rights reserved.