Files
Client/Server/ToolProject/GameLogAnalyzer/LogAnalyzer.h
LGram16 dd97ddec92 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>
2025-11-29 20:17:20 +09:00

65 lines
1.8 KiB
C++

#ifndef _GAME_LOG_ANALYZE_H_
#define _GAME_LOG_ANALYZE_H_
#include <vector>
#include <numeric>
#include <algorithm>
#include <zlib/zlib.h>
#include <RylGameLibrary/Log/ParseLog.h>
// Àü¹æ ÂüÁ¶
class CRegion;
class CXListBox;
class CCheckComboBox;
class CLogAnalyzer
{
public:
CLogAnalyzer();
~CLogAnalyzer();
bool Initialize(HWND hWnd_In, CComboBox& SearchSort_Out, CCheckComboBox& Category_Out);
bool Open();
bool Search(CCheckComboBox& categoryValue_In,
const CString& SearchType_In, const CString& SearchValue_In,
const CTime& StartTime, const CTime& StopTime, const CRegion& Region,
const BOOL bSearchInResult);
static bool Search(CParseLog& ParseLog, CParseLog::LogPtrArray& ResultArray,
CCheckComboBox& categoryValue_In,
const CString& SearchType_In, const CString& SearchValue_In,
const CTime& StartTime, const CTime& StopTime, const CRegion& Region,
const BOOL bSearchInResult);
void SetShowMode(const BOOL bShowUID, const BOOL bShowCID,
const BOOL bShowTime, const BOOL bShowPosition);
void Show(CXListBox& Result, const size_t nShowNum, CString& Page);
void Prev(CXListBox& Result, const size_t nShowNum, CString& Page);
void Next(CXListBox& Result, const size_t nShowNum, CString& Page);
void MovePage(CXListBox& Result, const size_t nShowNum, CString& Page, unsigned int dwPageIndex);
bool ShowDetail(int nSelect);
bool Cleanup();
const char* GetFileName() { return m_szFileName; }
bool WriteTextLog(const char* szFileName);
protected:
CParseLog m_ParseLog;
CParseLog::LogPtrArray m_ResultArray;
CParseLog::LogPtrArray::size_type m_nCurrentIndex;
unsigned long m_dwShowMode;
OPENFILENAME m_OpenFile;
char m_szFileName[MAX_PATH * MAX_PATH];
};
#endif