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:
2025-11-29 20:17:20 +09:00
parent 5d3cd64a25
commit dd97ddec92
11602 changed files with 1446576 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
#pragma once
#include <vector>
typedef struct IPBAND
{
DWORD start;
DWORD end;
}*LPIPBAND;
class NFIPSec
{
public:
NFIPSec(void);
~NFIPSec(void);
public:
void LoadAllowIP(WCHAR* lpIPFileName);
void LoadBlockIP(WCHAR* lpIPFileName);
void LoadAllowIPZ(WCHAR* lpIPFileName);
void LoadBlockIPZ(WCHAR* lpIPFileName);
int SerializeOut(int iType, int iPos, int iCount, char* lpBuffer_Out);
void SerializeIn(int iType, int iCount, char* lpBuffer_In);
inline void ClearAllowIP() { m_vecAllowIP.clear(); }
inline void ClearBlockIP() { m_vecBlockIP.clear(); }
BOOL IsAliveIP(const char * strIP);
BOOL IsAliveIP(unsigned long dwIP);
BOOL CheckAllowIP(const char * strIP);
BOOL CheckAllowIP(unsigned long dwIP);
BOOL CheckBlockIP(const char * strIP);
BOOL CheckBlockIP(unsigned long dwIP);
inline int GetAllowIPCount() { return (int)m_vecAllowIP.size(); }
inline int GetBlockIPCount() { return (int)m_vecBlockIP.size(); }
private:
std::vector<IPBAND> m_vecAllowIP;
std::vector<IPBAND> m_vecBlockIP;
};