初步修复
This commit is contained in:
parent
8fc4357cc6
commit
e4714f3f0e
46705 changed files with 12004901 additions and 0 deletions
24
Server/ServerCommon/DNServerPacketMaster.cpp
Normal file
24
Server/ServerCommon/DNServerPacketMaster.cpp
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
|
||||
#include "stdafx.h"
|
||||
#include "DNServerPacketMaster.h"
|
||||
#include "Util.h"
|
||||
|
||||
void MAGuildChat::Set(int nManagedID, const TGuildUID pGuildUID, UINT nAccountDBID, INT64 nCharacterDBID, LPCWSTR lpwszChatMsg, short nLen)
|
||||
{
|
||||
#if defined(_WORK)
|
||||
DN_ASSERT(0 != nManagedID, "Invalid!");
|
||||
#endif // _WORK
|
||||
DN_ASSERT(pGuildUID.IsSet(), "Invalid!");
|
||||
DN_ASSERT(0 != nAccountDBID, "Invalid!");
|
||||
DN_ASSERT(0 != nCharacterDBID, "Invalid!");
|
||||
DN_ASSERT(NULL != lpwszChatMsg, "Invalid!");
|
||||
DN_ASSERT(0 < nLen, "Invalid!");
|
||||
|
||||
m_nManagedID = nManagedID;
|
||||
m_GuildUID = pGuildUID;
|
||||
m_nAccountDBID = nAccountDBID;
|
||||
m_nCharacterDBID = nCharacterDBID;
|
||||
|
||||
_wcscpy( m_wszChatMsg, _countof(m_wszChatMsg), lpwszChatMsg, nLen );
|
||||
m_nLen = nLen;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue