VC2008 / VC2010: Enabled precompiled header through Globals.h; the header included in every module in the project. Compilation optimization.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@188 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
@@ -1,15 +1,21 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket.h"
|
||||
#include "../cMCLogger.h"
|
||||
#include "../Endianness.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
#define MSG_NOSIGNAL (0)
|
||||
#define MSG_NOSIGNAL (0)
|
||||
#endif
|
||||
|
||||
#ifdef __MAC_NA
|
||||
#define MSG_NOSIGNAL (0)
|
||||
#define MSG_NOSIGNAL (0)
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//*****************************************************************************
|
||||
// Blocking receive all function
|
||||
//*****************************************************************************
|
||||
|
||||
@@ -4,11 +4,10 @@
|
||||
#include "../PacketID.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <xstring>
|
||||
// #include <xstring>
|
||||
#else
|
||||
#include <cstring> // Silly Linux doesn't have xstring...
|
||||
#include <string>
|
||||
#include <cstdio>
|
||||
#include <cstring> // Silly Linux doesn't have xstring...
|
||||
#include <cstdio>
|
||||
#endif
|
||||
|
||||
class cSocket;
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_13.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
bool cPacket_13::Parse(cSocket & a_Socket)
|
||||
{
|
||||
m_Socket = a_Socket;
|
||||
|
||||
@@ -1,8 +1,15 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_AddToInventory.h"
|
||||
#include "cPacket_WholeInventory.h"
|
||||
#include "../cItem.h"
|
||||
#include "cPacket_ItemData.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
bool cPacket_AddToInventory::Send( cSocket & a_Socket )
|
||||
{
|
||||
unsigned int TotalSize = c_Size;
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_ArmAnim.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
bool cPacket_ArmAnim::Parse( cSocket & a_Socket )
|
||||
{
|
||||
m_Socket = a_Socket;
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_BlockAction.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
cPacket_BlockAction::cPacket_BlockAction( const cPacket_BlockAction & a_Copy )
|
||||
{
|
||||
m_PacketID = E_BLOCK_ACTION;
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_BlockChange.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
bool cPacket_BlockChange::Send(cSocket & a_Socket)
|
||||
{
|
||||
unsigned int TotalSize = c_Size;
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_BlockDig.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
bool cPacket_BlockDig::Send(cSocket & a_Socket)
|
||||
{
|
||||
unsigned int TotalSize = c_Size;
|
||||
|
||||
@@ -1,6 +1,13 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_BlockPlace.h"
|
||||
#include "cPacket_ItemData.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
bool cPacket_BlockPlace::Parse(cSocket & a_Socket)
|
||||
{
|
||||
m_Socket = a_Socket;
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_Chat.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
bool cPacket_Chat::Parse( cSocket & a_Socket )
|
||||
{
|
||||
m_Socket = a_Socket;
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_CollectItem.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
bool cPacket_CollectItem::Send( cSocket & a_Socket )
|
||||
{
|
||||
unsigned int TotalSize = c_Size;
|
||||
|
||||
@@ -1,6 +1,13 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_CreativeInventoryAction.h"
|
||||
#include "cPacket_ItemData.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
cPacket_CreativeInventoryAction::cPacket_CreativeInventoryAction( const cPacket_CreativeInventoryAction & a_Copy )
|
||||
{
|
||||
m_PacketID = E_CREATIVE_INVENTORY_ACTION;
|
||||
|
||||
@@ -1,6 +1,13 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_DestroyEntity.h"
|
||||
#include "../cEntity.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
cPacket_DestroyEntity::cPacket_DestroyEntity(cEntity* a_Entity)
|
||||
{
|
||||
m_PacketID = E_DESTROY_ENT;
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_Disconnect.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
bool cPacket_Disconnect::Parse( cSocket & a_Socket )
|
||||
{
|
||||
m_Socket = a_Socket;
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_EntityEquipment.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
cPacket_EntityEquipment::cPacket_EntityEquipment( const cPacket_EntityEquipment & a_Copy )
|
||||
{
|
||||
m_PacketID = E_ENTITY_EQUIPMENT;
|
||||
|
||||
@@ -1,7 +1,14 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_EntityLook.h"
|
||||
|
||||
#include "../cEntity.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
cPacket_EntityLook::cPacket_EntityLook(cEntity* a_Entity)
|
||||
{
|
||||
m_PacketID = E_ENT_LOOK;
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_EntityStatus.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
bool cPacket_EntityStatus::Send(cSocket & a_Socket)
|
||||
{
|
||||
unsigned int TotalSize = c_Size;
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_Explosion.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
cPacket_Explosion::~cPacket_Explosion()
|
||||
{
|
||||
if( m_Records )
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_Flying.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
bool cPacket_Flying::Parse(cSocket & a_Socket)
|
||||
{
|
||||
m_Socket = a_Socket;
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_Handshake.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
bool cPacket_Handshake::Parse(cSocket & a_Socket)
|
||||
{
|
||||
//printf("Parse: NEW Handshake\n");
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_InventoryProgressBar.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
bool cPacket_InventoryProgressBar::Send(cSocket & a_Socket)
|
||||
{
|
||||
unsigned int TotalSize = c_Size;
|
||||
|
||||
@@ -1,7 +1,14 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_InventorySlot.h"
|
||||
#include "cPacket_WholeInventory.h"
|
||||
#include "cPacket_ItemData.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
bool cPacket_InventorySlot::Send(cSocket & a_Socket)
|
||||
{
|
||||
unsigned int TotalSize = c_Size;
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_ItemData.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
bool cPacket_ItemData::Parse(cSocket & a_Socket)
|
||||
{
|
||||
m_Socket = a_Socket;
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_ItemSwitch.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
bool cPacket_ItemSwitch::Parse( cSocket & a_Socket )
|
||||
{
|
||||
m_Socket = a_Socket;
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_KeepAlive.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
bool cPacket_KeepAlive::Send(cSocket & a_Socket)
|
||||
{
|
||||
unsigned int TotalSize = c_Size;
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_Login.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
const std::string cPacket_Login::LEVEL_TYPE_DEFAULT = "DEFAULT";
|
||||
const std::string cPacket_Login::LEVEL_TYPE_SUPERFLAT = "SUPERFLAT";
|
||||
|
||||
|
||||
@@ -1,8 +1,15 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_MapChunk.h"
|
||||
#include "../cChunk.h"
|
||||
|
||||
#include "zlib.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
cPacket_MapChunk::~cPacket_MapChunk()
|
||||
{
|
||||
if( m_CompressedData )
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_Metadata.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
cPacket_Metadata::cPacket_Metadata(int s, int id)
|
||||
: m_EMetaData( (cPawn::MetaData)s )
|
||||
, m_UniqueID( id )
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_MultiBlock.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
cPacket_MultiBlock::cPacket_MultiBlock( const cPacket_MultiBlock & a_Copy )
|
||||
{
|
||||
m_PacketID = E_MULTI_BLOCK;
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_NamedEntitySpawn.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
bool cPacket_NamedEntitySpawn::Send( cSocket & a_Socket )
|
||||
{
|
||||
unsigned int TotalSize = c_Size + m_PlayerName.size() * sizeof( short );
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_NewInvalidState.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
cPacket_NewInvalidState::cPacket_NewInvalidState( const cPacket_NewInvalidState & a_Copy )
|
||||
{
|
||||
m_PacketID = E_NEW_INVALID_STATE;
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_PickupSpawn.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
bool cPacket_PickupSpawn::Parse( cSocket & a_Socket )
|
||||
{
|
||||
m_Socket = a_Socket;
|
||||
|
||||
@@ -1,6 +1,13 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_PlayerListItem.h"
|
||||
#include "../cChatColor.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
cPacket_PlayerListItem::cPacket_PlayerListItem(std::string a_PlayerName, bool a_Online, short a_Ping)
|
||||
{
|
||||
m_PacketID = E_PLAYER_LIST_ITEM;
|
||||
|
||||
@@ -1,6 +1,13 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_PlayerLook.h"
|
||||
#include "../cPlayer.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
cPacket_PlayerLook::cPacket_PlayerLook( cPlayer* a_Player )
|
||||
{
|
||||
m_PacketID = E_PLAYERLOOK;
|
||||
|
||||
@@ -1,6 +1,13 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_PlayerMoveLook.h"
|
||||
#include "../cPlayer.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
cPacket_PlayerMoveLook::cPacket_PlayerMoveLook( cPlayer* a_Player )
|
||||
{
|
||||
m_PacketID = E_PLAYERMOVELOOK;
|
||||
|
||||
@@ -1,6 +1,13 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_PlayerPosition.h"
|
||||
#include "../cPlayer.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
cPacket_PlayerPosition::cPacket_PlayerPosition( cPlayer* a_Player )
|
||||
{
|
||||
m_PacketID = E_PLAYERPOS;
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_PreChunk.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
bool cPacket_PreChunk::Send(cSocket & a_Socket)
|
||||
{
|
||||
unsigned int TotalSize = c_Size;
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_RelativeEntityMove.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
bool cPacket_RelativeEntityMove::Send( cSocket & a_Socket )
|
||||
{
|
||||
unsigned int TotalSize = c_Size;
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_RelativeEntityMoveLook.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
bool cPacket_RelativeEntityMoveLook::Send( cSocket & a_Socket )
|
||||
{
|
||||
unsigned int TotalSize = c_Size;
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_Respawn.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
bool cPacket_Respawn::Send(cSocket & a_Socket)
|
||||
{
|
||||
unsigned int TotalSize = c_Size + m_LevelType.size() * sizeof(short);
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_SoundEffect.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
cPacket_SoundEffect::cPacket_SoundEffect( const cPacket_SoundEffect & a_Copy )
|
||||
{
|
||||
m_PacketID = E_SOUND_EFFECT;
|
||||
|
||||
@@ -1,7 +1,12 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_SpawnMob.h"
|
||||
#include "../Vector3i.h"
|
||||
|
||||
#include "../cMCLogger.h"
|
||||
|
||||
|
||||
|
||||
|
||||
cPacket_SpawnMob::~cPacket_SpawnMob()
|
||||
{
|
||||
|
||||
@@ -1,7 +1,14 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_TeleportEntity.h"
|
||||
|
||||
#include "../cEntity.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
cPacket_TeleportEntity::cPacket_TeleportEntity(cEntity* a_Client)
|
||||
{
|
||||
m_PacketID = E_ENT_TELEPORT;
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_Thunderbolt.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
cPacket_Thunderbolt::cPacket_Thunderbolt( const cPacket_Thunderbolt & a_Copy )
|
||||
{
|
||||
m_PacketID = E_THUNDERBOLT;
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_TimeUpdate.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
bool cPacket_TimeUpdate::Parse(cSocket & a_Socket)
|
||||
{
|
||||
m_Socket = a_Socket;
|
||||
|
||||
@@ -1,6 +1,11 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_UpdateHealth.h"
|
||||
|
||||
#include "../cMCLogger.h"
|
||||
|
||||
|
||||
|
||||
|
||||
bool cPacket_UpdateHealth::Send(cSocket & a_Socket)
|
||||
{
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_UpdateSign.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
bool cPacket_UpdateSign::Parse( cSocket & a_Socket )
|
||||
{
|
||||
m_Socket = a_Socket;
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_UseEntity.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
bool cPacket_UseEntity::Parse(cSocket & a_Socket)
|
||||
{
|
||||
m_Socket = a_Socket;
|
||||
|
||||
@@ -1,9 +1,16 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_WholeInventory.h"
|
||||
#include "../cItem.h"
|
||||
#include "../cInventory.h"
|
||||
#include "../cWindow.h"
|
||||
#include "cPacket_ItemData.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
cPacket_WholeInventory::cPacket_WholeInventory( const cPacket_WholeInventory & a_Clone )
|
||||
{
|
||||
m_PacketID = E_INVENTORY_WHOLE;
|
||||
|
||||
@@ -1,7 +1,14 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_WindowClick.h"
|
||||
#include "cPacket_WholeInventory.h"
|
||||
#include "cPacket_ItemData.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
bool cPacket_WindowClick::Parse(cSocket & a_Socket)
|
||||
{
|
||||
// LOG("-----------INV66-----------");
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_WindowClose.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
bool cPacket_WindowClose::Parse(cSocket & a_Socket)
|
||||
{
|
||||
//LOG("CLOSE INVENTORY PACKET");
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "cPacket_WindowOpen.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
bool cPacket_WindowOpen::Send(cSocket & a_Socket)
|
||||
{
|
||||
unsigned int TotalSize = c_Size + m_WindowTitle.size() * sizeof( short );
|
||||
|
||||
Reference in New Issue
Block a user