diff options
| author | void_17 <61356189+void2012@users.noreply.github.com> | 2026-03-07 03:31:30 +0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-07 03:31:30 +0700 |
| commit | 988e3042e00485aa7ed3725fe7bfde1da8cf8519 (patch) | |
| tree | cf712d80b4d03eec73f935e0cce23020ddb6f5ef /Minecraft.World/SetTimePacket.cpp | |
| parent | 175fc3824e502ecd701c1da2ecd2061d77495693 (diff) | |
Remove all MSVC `__int64` (#742)
Diffstat (limited to 'Minecraft.World/SetTimePacket.cpp')
| -rw-r--r-- | Minecraft.World/SetTimePacket.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Minecraft.World/SetTimePacket.cpp b/Minecraft.World/SetTimePacket.cpp index 5936255c..e7ea3b42 100644 --- a/Minecraft.World/SetTimePacket.cpp +++ b/Minecraft.World/SetTimePacket.cpp @@ -4,13 +4,13 @@ #include "PacketListener.h" #include "SetTimePacket.h" -SetTimePacket::SetTimePacket() +SetTimePacket::SetTimePacket() { gameTime = 0; dayTime = 0; } -SetTimePacket::SetTimePacket(__int64 gameTime, __int64 dayTime, bool tickDayTime) +SetTimePacket::SetTimePacket(int64_t gameTime, int64_t dayTime, bool tickDayTime) { this->gameTime = gameTime; this->dayTime = dayTime; @@ -32,7 +32,7 @@ void SetTimePacket::read(DataInputStream *dis) //throws IOException dayTime = dis->readLong(); } -void SetTimePacket::write(DataOutputStream *dos) //throws IOException +void SetTimePacket::write(DataOutputStream *dos) //throws IOException { dos->writeLong(gameTime); dos->writeLong(dayTime); |
