Restructure repository to include all source folders
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>
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
#ifndef _CUMULATE_BUFFER_H_
|
||||
#define _CUMULATE_BUFFER_H_
|
||||
|
||||
class CBuffer;
|
||||
class CSession;
|
||||
|
||||
// <20><>Ŷ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
class CCumulateBuffer
|
||||
{
|
||||
public:
|
||||
CCumulateBuffer(unsigned long BufferLength, CSession* pSession);
|
||||
~CCumulateBuffer();
|
||||
|
||||
char* GetBuffer(unsigned int Length); // <20>Ҵ<EFBFBD><D2B4><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||||
|
||||
bool SendAll(); // <20><><EFBFBD><EFBFBD> <20><><EFBFBD>ۿ<EFBFBD> <20>ִ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
|
||||
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>۱<EFBFBD><DBB1><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||||
void ResizeLength(unsigned int FillLength) { m_FillLength = FillLength; }
|
||||
|
||||
private:
|
||||
char* m_lpBuffer;
|
||||
|
||||
char* m_lpNowPos;
|
||||
char* m_lpEndPos;
|
||||
|
||||
CSession* m_lpSession;
|
||||
|
||||
unsigned int m_FillLength;
|
||||
unsigned int m_BufferLength;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user