mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-08-05 06:16:47 -04:00
37 lines
995 B
C++
37 lines
995 B
C++
// ChatDisconnectAvatar.cpp
|
|
// Copyright 2000-02, Sony Online Entertainment Inc., all rights reserved.
|
|
// Author: Justin Randall
|
|
|
|
//-----------------------------------------------------------------------
|
|
|
|
#include "serverNetworkMessages/FirstServerNetworkMessages.h"
|
|
#include "ChatDisconnectAvatar.h"
|
|
|
|
//-----------------------------------------------------------------------
|
|
|
|
ChatDisconnectAvatar::ChatDisconnectAvatar(const NetworkId & i) :
|
|
GameNetworkMessage("ChatDisconnectAvatar"),
|
|
characterId(i)
|
|
{
|
|
addVariable(characterId);
|
|
}
|
|
|
|
//-----------------------------------------------------------------------
|
|
|
|
ChatDisconnectAvatar::ChatDisconnectAvatar(Archive::ReadIterator & source) :
|
|
GameNetworkMessage("ChatDisconnectAvatar"),
|
|
characterId()
|
|
{
|
|
addVariable(characterId);
|
|
unpack(source);
|
|
}
|
|
|
|
//-----------------------------------------------------------------------
|
|
|
|
ChatDisconnectAvatar::~ChatDisconnectAvatar()
|
|
{
|
|
}
|
|
|
|
//-----------------------------------------------------------------------
|
|
|