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>
27 lines
627 B
C++
27 lines
627 B
C++
#ifndef _RYL_BILLINGDB_H_
|
|
#define _RYL_BILLINGDB_H_
|
|
|
|
#include <BaseLibrary/DB/OLEDB.h>
|
|
#include "../Network/Protocol/RYL_AdminMgrProtocol.h"
|
|
|
|
|
|
/*!
|
|
\class CBillingDB
|
|
과금 DB : 한국 운영서버일 경우만 사용
|
|
*/
|
|
class CBillingDB : public OleDB
|
|
{
|
|
private:
|
|
enum SIZE { MAX_QUERY_LENGTH = 5000 };
|
|
|
|
public:
|
|
// RYLBillingDB Only!
|
|
bool CheckLogin(unsigned long dwServerGroup, unsigned long dwUID); // 해당 계정의 접속 여부 판별
|
|
|
|
// RYLBillingDB_log Only!
|
|
unsigned long GetUIDFromAccount(char* szAccountName); // 계정명으로 UID 얻기
|
|
bool GetAccountFromUID(unsigned long dwUID, void* lpGetData); // UID로 계정명 얻기
|
|
|
|
};
|
|
|
|
#endif |