mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-08-01 02:15:54 -04:00
36 lines
1.1 KiB
C++
Executable File
36 lines
1.1 KiB
C++
Executable File
// ======================================================================
|
|
//
|
|
// UpdateConnectionServerStatus.cpp
|
|
// copyright (c) 2001 Sony Online Entertainment
|
|
//
|
|
// ======================================================================
|
|
|
|
#include "serverNetworkMessages/FirstServerNetworkMessages.h"
|
|
#include "serverNetworkMessages/UpdateConnectionServerStatus.h"
|
|
|
|
// ======================================================================
|
|
|
|
UpdateConnectionServerStatus::UpdateConnectionServerStatus(uint16 publicPort, uint16 privatePort) :
|
|
GameNetworkMessage("UpdateConnectionServerStatus"),
|
|
m_publicPort(publicPort),
|
|
m_privatePort(privatePort)
|
|
{
|
|
addVariable(m_publicPort);
|
|
addVariable(m_privatePort);
|
|
}
|
|
|
|
// ----------------------------------------------------------------------
|
|
|
|
UpdateConnectionServerStatus::UpdateConnectionServerStatus(Archive::ReadIterator & source) :
|
|
GameNetworkMessage("UpdateConnectionServerStatus"),
|
|
m_publicPort(0),
|
|
m_privatePort(0)
|
|
{
|
|
addVariable(m_publicPort);
|
|
addVariable(m_privatePort);
|
|
|
|
unpack(source);
|
|
}
|
|
|
|
// ======================================================================
|