Add.Pocket

A Minecraft: Pocket Edition client.

Constructors

this
this()
Undocumented in source.
this
this(long xuid, bool edu, float packetLoss, ubyte deviceOs, string deviceModel)
Undocumented in source.

Members

Functions

decode
void decode()
Undocumented in source. Be warned that the author may not have intended to support it.
encode
ubyte[] encode()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

ANDROID
enum ubyte ANDROID;
Undocumented in source.
DEDICATED
enum ubyte DEDICATED;
Undocumented in source.
FIELDS
enum string[] FIELDS;
Undocumented in source.
FIRE_OS
enum ubyte FIRE_OS;
Undocumented in source.
GEAR_VR
enum ubyte GEAR_VR;
Undocumented in source.
HOLOLENS
enum ubyte HOLOLENS;
Undocumented in source.
IOS
enum ubyte IOS;
Undocumented in source.
OSX
enum ubyte OSX;
Undocumented in source.
TYPE
enum typeof(type) TYPE;
Undocumented in source.
UNKNOWN
enum ubyte UNKNOWN;
Undocumented in source.
WINDOWS10
enum ubyte WINDOWS10;
Undocumented in source.
WINDOWS32
enum ubyte WINDOWS32;
Undocumented in source.
deviceModel
string deviceModel;

Client's device model, if supplied by the client. This field is usually a string in the format MANUFACTURER MODEL: for example, the Oneplus one is ONEPLUS A0001. This field's value may be used to ban low-end devices.

deviceOs
ubyte deviceOs;

Client's operative system, if supplied by the client. This field's value may be used to divide players that play from a phone from players that play on a computer.

edu
bool edu;

Indicates whether the client is using the Education Edition variant of the game.

packetLoss
float packetLoss;

Client's packet loss calculated from the hub. See UpdatePacketLoss.packetLoss for more informations.

xuid
long xuid;

XBOX Live id, which is a unique identifier for authenticated players or 0 if the server is in offline mode.

Meta