Move git root from Client/ to src/ to track all source code: - Client: Game client source (moved to Client/Client/) - Server: Game server source - GameTools: Development tools - CryptoSource: Encryption utilities - database: Database scripts - Script: Game scripts - rylCoder_16.02.2008_src: Legacy coder tools - GMFont, Game: Additional resources 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
31 lines
724 B
C++
31 lines
724 B
C++
#include "stdafx.h"
|
|
#include "MultiThreadDispatch.h"
|
|
|
|
#include <Network/Session/Session.h>
|
|
#include <Stream/Buffer/Buffer.h>
|
|
#include <Stream/Buffer/BufferFactory.h>
|
|
|
|
#include <mmsystem.h>
|
|
|
|
|
|
CRylServerMultiThreadDispatch::CRylServerMultiThreadDispatch(
|
|
CSession& Session, unsigned long dwMaxProcessPacketPerPulse)
|
|
: CRylServerDispatch(Session, dwMaxProcessPacketPerPulse)
|
|
{
|
|
|
|
}
|
|
|
|
CRylServerMultiThreadDispatch::~CRylServerMultiThreadDispatch()
|
|
{
|
|
|
|
}
|
|
|
|
|
|
bool CRylServerMultiThreadDispatch::ParsePacket(char* const lpStream_In,
|
|
unsigned long* dwStreamSize_InOut)
|
|
{
|
|
return CRylServerDispatch::ParsePacket(lpStream_In, dwStreamSize_InOut) ?
|
|
Dispatch() : false;
|
|
}
|
|
|