aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/Packet.h
diff options
context:
space:
mode:
authorvoid_17 <61356189+void2012@users.noreply.github.com>2026-03-07 03:31:30 +0700
committerGitHub <noreply@github.com>2026-03-07 03:31:30 +0700
commit988e3042e00485aa7ed3725fe7bfde1da8cf8519 (patch)
treecf712d80b4d03eec73f935e0cce23020ddb6f5ef /Minecraft.World/Packet.h
parent175fc3824e502ecd701c1da2ecd2061d77495693 (diff)
Remove all MSVC `__int64` (#742)
Diffstat (limited to 'Minecraft.World/Packet.h')
-rw-r--r--Minecraft.World/Packet.h14
1 files changed, 7 insertions, 7 deletions
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<Packet> (*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();