Get rid of MSVC's __int64

Use either int64_t, uint64_t or long long and unsigned long long, defined as per C++11 standard
This commit is contained in:
void_17
2026-03-02 15:53:32 +07:00
parent d6ec138710
commit d63f79325f
308 changed files with 5371 additions and 5379 deletions

View File

@@ -11,7 +11,7 @@ class RespawnPacket : public Packet, public enable_shared_from_this<RespawnPacke
public:
char dimension;
char difficulty;
__int64 mapSeed;
int64_t mapSeed;
int mapHeight;
GameType *playerGameType;
bool m_newSeaLevel; // 4J added
@@ -21,7 +21,7 @@ public:
int m_hellScale; // 4J Added
RespawnPacket();
RespawnPacket(char dimension, __int64 mapSeed, int mapHeight, GameType *playerGameType, char difficulty, LevelType *pLevelType, bool newSeaLevel, int newEntityId, int xzSize, int hellScale);
RespawnPacket(char dimension, int64_t mapSeed, int mapHeight, GameType *playerGameType, char difficulty, LevelType *pLevelType, bool newSeaLevel, int newEntityId, int xzSize, int hellScale);
virtual void handle(PacketListener *listener);
virtual void read(DataInputStream *dis);