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:
74
Server/RylServerProject/RylUIDServer/RylUIDServer.h
Normal file
74
Server/RylServerProject/RylUIDServer/RylUIDServer.h
Normal file
@@ -0,0 +1,74 @@
|
||||
#ifndef _RYL_UID_SERVER_H_
|
||||
#define _RYL_UID_SERVER_H_
|
||||
|
||||
#include <Utility/ServerAppFramework/ServerWindowFramework.h>
|
||||
|
||||
#ifdef AUTH_MY
|
||||
#include "NFAuthClient/AuthClient.h"
|
||||
#endif
|
||||
|
||||
// forward decl.
|
||||
class CSessionPolicy;
|
||||
|
||||
typedef struct UIDINFO
|
||||
{
|
||||
// edith 2005.1.22 <20><><EFBFBD><EFBFBD><EFBFBD>Ͼƴ<CFBE> <20><><EFBFBD>Ӿȿ<D3BE><C8BF><EFBFBD><EFBFBD><EFBFBD> ó<><C3B3><EFBFBD><EFBFBD> <20><><EFBFBD>⼭ <20>ؾ<EFBFBD><D8BE>Ѵ<EFBFBD>.
|
||||
int Cmd;
|
||||
unsigned long ServerID;
|
||||
unsigned long SessionID;
|
||||
int Group;
|
||||
unsigned long UserID;
|
||||
unsigned long CharID;
|
||||
char AccountName[40];
|
||||
char Password[40];
|
||||
IN_ADDR Address;
|
||||
}*LPUIDINFO;
|
||||
|
||||
|
||||
class CRylUIDServer : public CServerWindowFramework
|
||||
#ifdef AUTH_MY
|
||||
, public CPacketEvent
|
||||
#endif
|
||||
{
|
||||
public:
|
||||
|
||||
static CRylUIDServer& GetInstance();
|
||||
|
||||
// Desc : RylUIDCommands<64><73><EFBFBD><EFBFBD> ȣ<><C8A3><EFBFBD>ϴ<EFBFBD> <20>Լ<EFBFBD><D4BC><EFBFBD>.
|
||||
void PrintStatistics();
|
||||
void PrintServerInfo();
|
||||
void CheckCurrentUser();
|
||||
|
||||
std::map<std::string, UIDINFO> m_AuthMap;
|
||||
|
||||
void SendPost(int iIndex, char* pPacket);
|
||||
|
||||
LPUIDINFO FindAuth(char* strAccount);
|
||||
LPUIDINFO AddAuth(UIDINFO stInfo);
|
||||
|
||||
#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 InitializeMsgProc();
|
||||
bool InitializeCommand();
|
||||
|
||||
CRylUIDServer();
|
||||
~CRylUIDServer();
|
||||
|
||||
CSessionPolicy* m_lpAgentSessionPolicy;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user