mirror of
https://github.com/quizhizhe/LiteLoaderBDS-1.16.40.git
synced 2025-06-03 04:23:39 +00:00
39 lines
846 B
C++
39 lines
846 B
C++
// This Header is auto generated by BDSLiteLoader Toolchain
|
|
#pragma once
|
|
#define AUTO_GENERATED
|
|
#include "../Global.h"
|
|
|
|
#define BEFORE_EXTRA
|
|
|
|
#undef BEFORE_EXTRA
|
|
|
|
class ChunkPos {
|
|
|
|
#define AFTER_EXTRA
|
|
// Add Member There
|
|
public:
|
|
__int64 packed;
|
|
int x, z;
|
|
long long hash() {
|
|
return *((long long*)this);
|
|
}
|
|
ChunkPos(int ix, int iz)
|
|
: x(ix)
|
|
, z(iz){};
|
|
#undef AFTER_EXTRA
|
|
#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CHUNKPOS
|
|
public:
|
|
class ChunkPos& operator=(class ChunkPos const &) = delete;
|
|
ChunkPos(class ChunkPos const &) = delete;
|
|
#endif
|
|
|
|
public:
|
|
#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CHUNKPOS
|
|
#endif
|
|
MCAPI ChunkPos();
|
|
MCAPI static class ChunkPos const INVALID;
|
|
MCAPI static class ChunkPos const MAX;
|
|
MCAPI static class ChunkPos const MIN;
|
|
MCAPI static class ChunkPos const ONE;
|
|
|
|
}; |