1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-25 14:07:46 +00:00

Fixed localtime

This commit is contained in:
Mordred 2018-07-08 00:59:22 +02:00
parent 69a98f58df
commit 05afa413c9

View file

@ -10,6 +10,7 @@
#include <boost/make_shared.hpp>
#include <string.h>
#include <memory>
#include <Util/Util.h>
#include "CommonNetwork.h"
#include "PacketDef/Ipcs.h"
@ -224,6 +225,7 @@ protected:
// The IPC type itself.
m_ipcHdr.type = static_cast< ServerZoneIpcType >( m_data._ServerIpcType );
m_ipcHdr.timestamp = Util::getTimeSeconds();
m_segHdr.size = sizeof( T ) + sizeof( FFXIVARR_IPC_HEADER ) + sizeof( FFXIVARR_PACKET_SEGMENT_HEADER );
};