Add Discord RPC back with new features, add beta splitscreen support, PR's from MCLCE used in this https://github.com/MCLCE/MinecraftConsoles/pull/1044 https://github.com/MCLCE/MinecraftConsoles/pull/1136 https://github.com/MCLCE/MinecraftConsoles/pull/1245
23 lines
362 B
C++
23 lines
362 B
C++
#pragma once
|
|
|
|
class DataLayer
|
|
{
|
|
public:
|
|
byteArray data;
|
|
|
|
private:
|
|
const int depthBits;
|
|
const int depthBitsPlusFour;
|
|
|
|
public:
|
|
DataLayer(int length, int depthBits);
|
|
DataLayer(byteArray data, int depthBits);
|
|
~DataLayer();
|
|
|
|
int get(int x, int y, int z);
|
|
|
|
void set(int x, int y, int z, int val);
|
|
bool isValid();
|
|
void setAll(int br);
|
|
};
|