|
- #pragma once
-
- class Commend
- {
- public:
- Commend();
- ~Commend();
- //锁
- //static CCriticalSection m_CriticalSection; //线程锁
- //参数转成字符串
- static CString ToString(WORD wMainCmdID, WORD wCmdTable, const void* pBuffer);
- //名字
- static CString ToName(WORD wMainCmdID, WORD wCmdTable, PVOID pGetGameString = NULL);
- //名字
- static CString ToNameEx(WORD wMainCmdID, WORD wCmdTable, const void* pBuffer, int iLen, void* pGetGameString = NULL);
- //打印通讯日志
- static void ToShow(VOID* Frame, WORD wMainCmdID, WORD wCmdTable, const void* pBuffer, int iLen, DWORD dTablePrivate = 0, DWORD dUserID = 0, PVOID pGetGameString = NULL,bool bSend = true);
-
- };
-
|