aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/Packet.h
diff options
context:
space:
mode:
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();