netstringpacker.h
来自「网络游戏魔域源代码 测试可以完整变异」· C头文件 代码 · 共 33 行
H
33 行
// NetStringPacker.h: interface for the CNetStringPacker class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_NETSTRINGPACKER_H__185B6BE4_A9BA_463E_B618_7260C0B8CD1A__INCLUDED_)
#define AFX_NETSTRINGPACKER_H__185B6BE4_A9BA_463E_B618_7260C0B8CD1A__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CNetStringPacker
{
public:
CNetStringPacker();
virtual ~CNetStringPacker();
BOOL AddString (const char* pszString);
BOOL GetString (UINT uIndex, char* pszStrBuf, UINT uBufSize);
UINT GetStrAmount (void);
UINT GetSize (void);
void SetBuf (char* pBuf, UINT uBufSize);
private:
char* m_pBuf;
UINT m_uBufSize;
};
#endif // !defined(AFX_NETSTRINGPACKER_H__185B6BE4_A9BA_463E_B618_7260C0B8CD1A__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?