StartGame

Undocumented in source.
class StartGame : Buffer {}

Constructors

this
this()
Undocumented in source.
this
this(long entityId, ulong runtimeId, int gamemode, Tuple!(float, "x", float, "y", float, "z") position, float yaw, float pitch, int seed, int dimension, int generator, int worldGamemode, int difficulty, Tuple!(int, "x", int, "y", int, "z") spawnPosition, bool loadedInCreative, int time, ubyte vers, float rainLevel, float lightningLevel, bool multiplayerGame, bool broadcastToLan, bool broadcastToXbl, bool commandsEnabled, bool textureRequired, sul.protocol.bedrock160.types.Rule[] gameRules, bool bonusChestEnabled, bool startWithMapEnabled, bool trustPlayersEnabled, int permissionLevel, int unknown27, string levelId, string worldName, string premiumWorldTemplate, bool unknown31, ulong worldTicks, int unknown33)
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.

Static functions

fromBuffer
StartGame fromBuffer(ubyte[] buffer)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

ADVENTURE
enum int ADVENTURE;
Undocumented in source.
CLIENTBOUND
enum bool CLIENTBOUND;
Undocumented in source.
CREATIVE
enum int CREATIVE;
Undocumented in source.
EASY
enum int EASY;
Undocumented in source.
EDUCATION
enum ubyte EDUCATION;
Undocumented in source.
END
enum int END;
Undocumented in source.
FIELDS
enum string[] FIELDS;
Undocumented in source.
FLAT
enum int FLAT;
Undocumented in source.
HARD
enum int HARD;
Undocumented in source.
ID
enum uint ID;
Undocumented in source.
INFINITE
enum int INFINITE;
Undocumented in source.
NETHER
enum int NETHER;
Undocumented in source.
NORMAL
enum int NORMAL;
Undocumented in source.
OLD
enum int OLD;
Undocumented in source.
OVERWORLD
enum int OVERWORLD;
Undocumented in source.
PEACEFUL
enum int PEACEFUL;
Undocumented in source.
SERVERBOUND
enum bool SERVERBOUND;
Undocumented in source.
SURVIVAL
enum int SURVIVAL;
Undocumented in source.
VANILLA
enum ubyte VANILLA;
Undocumented in source.
bonusChestEnabled
bool bonusChestEnabled;
Undocumented in source.
broadcastToLan
bool broadcastToLan;
Undocumented in source.
broadcastToXbl
bool broadcastToXbl;
Undocumented in source.
commandsEnabled
bool commandsEnabled;
Undocumented in source.
difficulty
int difficulty;
Undocumented in source.
dimension
int dimension;
Undocumented in source.
entityId
long entityId;
Undocumented in source.
gameRules
sul.protocol.bedrock160.types.Rule[] gameRules;
Undocumented in source.
gamemode
int gamemode;
Undocumented in source.
generator
int generator;
Undocumented in source.
levelId
string levelId;
Undocumented in source.
lightningLevel
float lightningLevel;
Undocumented in source.
loadedInCreative
bool loadedInCreative;
Undocumented in source.
multiplayerGame
bool multiplayerGame;
Undocumented in source.
permissionLevel
int permissionLevel;
Undocumented in source.
pitch
float pitch;
Undocumented in source.
position
Tuple!(float, "x", float, "y", float, "z") position;
Undocumented in source.
premiumWorldTemplate
string premiumWorldTemplate;
Undocumented in source.
rainLevel
float rainLevel;
Undocumented in source.
runtimeId
ulong runtimeId;
Undocumented in source.
seed
int seed;
Undocumented in source.
spawnPosition
Tuple!(int, "x", int, "y", int, "z") spawnPosition;
Undocumented in source.
startWithMapEnabled
bool startWithMapEnabled;
Undocumented in source.
textureRequired
bool textureRequired;
Undocumented in source.
time
int time;
Undocumented in source.
trustPlayersEnabled
bool trustPlayersEnabled;
Undocumented in source.
unknown27
int unknown27;
Undocumented in source.
unknown31
bool unknown31;
Undocumented in source.
unknown33
int unknown33;
Undocumented in source.
vers
ubyte vers;
Undocumented in source.
worldGamemode
int worldGamemode;
Undocumented in source.
worldName
string worldName;
Undocumented in source.
worldTicks
ulong worldTicks;
Undocumented in source.
yaw
float yaw;
Undocumented in source.

Inherited Members

From Buffer

_buffer
ubyte[] _buffer;
Undocumented in source.
_index
size_t _index;
Undocumented in source.
bufferInstance
Buffer bufferInstance [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
writeBytes
void writeBytes(ubyte[] bytes)
Undocumented in source. Be warned that the author may not have intended to support it.
writeString
void writeString(string str)
Undocumented in source. Be warned that the author may not have intended to support it.
readBytes
ubyte[] readBytes(size_t length)
Undocumented in source. Be warned that the author may not have intended to support it.
readString
string readString(size_t length)
Undocumented in source. Be warned that the author may not have intended to support it.
writeBigEndianBool
void writeBigEndianBool(bool a)
Undocumented in source. Be warned that the author may not have intended to support it.
readBigEndianBool
bool readBigEndianBool()
Undocumented in source. Be warned that the author may not have intended to support it.
writeLittleEndianBool
void writeLittleEndianBool(bool a)
Undocumented in source. Be warned that the author may not have intended to support it.
readLittleEndianBool
bool readLittleEndianBool()
Undocumented in source. Be warned that the author may not have intended to support it.
writeBigEndianByte
void writeBigEndianByte(byte a)
Undocumented in source. Be warned that the author may not have intended to support it.
readBigEndianByte
byte readBigEndianByte()
Undocumented in source. Be warned that the author may not have intended to support it.
writeLittleEndianByte
void writeLittleEndianByte(byte a)
Undocumented in source. Be warned that the author may not have intended to support it.
readLittleEndianByte
byte readLittleEndianByte()
Undocumented in source. Be warned that the author may not have intended to support it.
writeBigEndianUbyte
void writeBigEndianUbyte(ubyte a)
Undocumented in source. Be warned that the author may not have intended to support it.
readBigEndianUbyte
ubyte readBigEndianUbyte()
Undocumented in source. Be warned that the author may not have intended to support it.
writeLittleEndianUbyte
void writeLittleEndianUbyte(ubyte a)
Undocumented in source. Be warned that the author may not have intended to support it.
readLittleEndianUbyte
ubyte readLittleEndianUbyte()
Undocumented in source. Be warned that the author may not have intended to support it.
writeBigEndianShort
void writeBigEndianShort(short a)
Undocumented in source. Be warned that the author may not have intended to support it.
readBigEndianShort
short readBigEndianShort()
Undocumented in source. Be warned that the author may not have intended to support it.
writeLittleEndianShort
void writeLittleEndianShort(short a)
Undocumented in source. Be warned that the author may not have intended to support it.
readLittleEndianShort
short readLittleEndianShort()
Undocumented in source. Be warned that the author may not have intended to support it.
writeBigEndianUshort
void writeBigEndianUshort(ushort a)
Undocumented in source. Be warned that the author may not have intended to support it.
readBigEndianUshort
ushort readBigEndianUshort()
Undocumented in source. Be warned that the author may not have intended to support it.
writeLittleEndianUshort
void writeLittleEndianUshort(ushort a)
Undocumented in source. Be warned that the author may not have intended to support it.
readLittleEndianUshort
ushort readLittleEndianUshort()
Undocumented in source. Be warned that the author may not have intended to support it.
writeBigEndianTriad
void writeBigEndianTriad(int a)
Undocumented in source. Be warned that the author may not have intended to support it.
readBigEndianTriad
int readBigEndianTriad()
Undocumented in source. Be warned that the author may not have intended to support it.
writeLittleEndianTriad
void writeLittleEndianTriad(int a)
Undocumented in source. Be warned that the author may not have intended to support it.
readLittleEndianTriad
int readLittleEndianTriad()
Undocumented in source. Be warned that the author may not have intended to support it.
writeBigEndianInt
void writeBigEndianInt(int a)
Undocumented in source. Be warned that the author may not have intended to support it.
readBigEndianInt
int readBigEndianInt()
Undocumented in source. Be warned that the author may not have intended to support it.
writeLittleEndianInt
void writeLittleEndianInt(int a)
Undocumented in source. Be warned that the author may not have intended to support it.
readLittleEndianInt
int readLittleEndianInt()
Undocumented in source. Be warned that the author may not have intended to support it.
writeBigEndianUint
void writeBigEndianUint(uint a)
Undocumented in source. Be warned that the author may not have intended to support it.
readBigEndianUint
uint readBigEndianUint()
Undocumented in source. Be warned that the author may not have intended to support it.
writeLittleEndianUint
void writeLittleEndianUint(uint a)
Undocumented in source. Be warned that the author may not have intended to support it.
readLittleEndianUint
uint readLittleEndianUint()
Undocumented in source. Be warned that the author may not have intended to support it.
writeBigEndianLong
void writeBigEndianLong(long a)
Undocumented in source. Be warned that the author may not have intended to support it.
readBigEndianLong
long readBigEndianLong()
Undocumented in source. Be warned that the author may not have intended to support it.
writeLittleEndianLong
void writeLittleEndianLong(long a)
Undocumented in source. Be warned that the author may not have intended to support it.
readLittleEndianLong
long readLittleEndianLong()
Undocumented in source. Be warned that the author may not have intended to support it.
writeBigEndianUlong
void writeBigEndianUlong(ulong a)
Undocumented in source. Be warned that the author may not have intended to support it.
readBigEndianUlong
ulong readBigEndianUlong()
Undocumented in source. Be warned that the author may not have intended to support it.
writeLittleEndianUlong
void writeLittleEndianUlong(ulong a)
Undocumented in source. Be warned that the author may not have intended to support it.
readLittleEndianUlong
ulong readLittleEndianUlong()
Undocumented in source. Be warned that the author may not have intended to support it.
writeBigEndianFloat
void writeBigEndianFloat(float a)
Undocumented in source. Be warned that the author may not have intended to support it.
readBigEndianFloat
float readBigEndianFloat()
Undocumented in source. Be warned that the author may not have intended to support it.
writeLittleEndianFloat
void writeLittleEndianFloat(float a)
Undocumented in source. Be warned that the author may not have intended to support it.
readLittleEndianFloat
float readLittleEndianFloat()
Undocumented in source. Be warned that the author may not have intended to support it.
writeBigEndianDouble
void writeBigEndianDouble(double a)
Undocumented in source. Be warned that the author may not have intended to support it.
readBigEndianDouble
double readBigEndianDouble()
Undocumented in source. Be warned that the author may not have intended to support it.
writeLittleEndianDouble
void writeLittleEndianDouble(double a)
Undocumented in source. Be warned that the author may not have intended to support it.
readLittleEndianDouble
double readLittleEndianDouble()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta