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:
60
Server/RylServerProject/RylChatServer/RylChatServer.h
Normal file
60
Server/RylServerProject/RylChatServer/RylChatServer.h
Normal file
@@ -0,0 +1,60 @@
|
||||
#ifndef _RYL_CHAT_SERVER_H_
|
||||
#define _RYL_CHAT_SERVER_H_
|
||||
|
||||
#include <Utility/ServerAppFramework/ServerWindowFramework.h>
|
||||
|
||||
#ifdef AUTH_MY
|
||||
#include "NFAuthClient/AuthClient.h"
|
||||
#endif
|
||||
|
||||
// 전방 참조
|
||||
class CSessionPolicy;
|
||||
|
||||
class CRylChatServer : public CServerWindowFramework
|
||||
#ifdef AUTH_MY
|
||||
, public CPacketEvent
|
||||
#endif
|
||||
{
|
||||
public:
|
||||
|
||||
static CRylChatServer& GetInstance();
|
||||
|
||||
// Desc : 중계서버로 연결한다.
|
||||
void ConnectToAgentServer();
|
||||
|
||||
// Desc : RylChatCommands에서 호출하는 함수들.
|
||||
void PrintStatistics();
|
||||
void PrintServerInfo();
|
||||
void ReloadSetup();
|
||||
|
||||
int MakeChatLog(char* szBuffer, size_t nBufferLength);
|
||||
|
||||
#ifdef AUTH_MY
|
||||
|
||||
public:
|
||||
virtual void EventConnect(BOOL bConnect);
|
||||
|
||||
virtual void EventIRC(CHAR* strCmd, CHAR* strMsg);
|
||||
virtual void EventCMD(DWORD dwCmd, DWORD dwValue);
|
||||
|
||||
void Update(unsigned long dwTick);
|
||||
|
||||
#endif
|
||||
|
||||
private:
|
||||
|
||||
virtual bool ApplicationSpecificInit(const TCHAR* szCmdLine);
|
||||
bool InitializeCommand();
|
||||
bool InitializeMsgProc();
|
||||
|
||||
CRylChatServer();
|
||||
virtual ~CRylChatServer();
|
||||
|
||||
CSessionPolicy* m_lpClientPolicy;
|
||||
CSessionPolicy* m_lpGameServerPolicy;
|
||||
CSessionPolicy* m_lpAgentSessionPolicy;
|
||||
CSessionPolicy* m_lpChatToolPolicy;
|
||||
time_t m_tServerStart;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user