From 988e3042e00485aa7ed3725fe7bfde1da8cf8519 Mon Sep 17 00:00:00 2001 From: void_17 <61356189+void2012@users.noreply.github.com> Date: Sat, 7 Mar 2026 03:31:30 +0700 Subject: Remove all MSVC `__int64` (#742) --- Minecraft.World/Packet.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'Minecraft.World/Packet.h') diff --git a/Minecraft.World/Packet.h b/Minecraft.World/Packet.h index 7c30f6aa..c639c8f1 100644 --- a/Minecraft.World/Packet.h +++ b/Minecraft.World/Packet.h @@ -15,7 +15,7 @@ typedef shared_ptr (*packetCreateFn)(); class Packet { public: - class PacketStatistics + class PacketStatistics { private: int count; @@ -24,9 +24,9 @@ public: static const int TOTAL_TICKS = 100; // 4J Added - __int64 countSamples[TOTAL_TICKS]; - __int64 sizeSamples[TOTAL_TICKS]; - __int64 timeSamples[TOTAL_TICKS]; + int64_t countSamples[TOTAL_TICKS]; + int64_t sizeSamples[TOTAL_TICKS]; + int64_t timeSamples[TOTAL_TICKS]; int samplesPos; public: @@ -38,8 +38,8 @@ public: int getCount(); int getTotalSize(); double getAverageSize(); - __int64 getRunningTotal(); - __int64 getRunningCount(); + int64_t getRunningTotal(); + int64_t getRunningCount(); void IncrementPos(); }; @@ -58,7 +58,7 @@ public: static void map(int id, bool receiveOnClient, bool receiveOnServer, bool sendToAnyClient, bool renderStats, const type_info& clazz, packetCreateFn ); public: - const __int64 createTime; + const int64_t createTime; Packet(); -- cgit v1.2.3