CSCommon: MAsyncDBJob_WinTheClanGame.h 소스 파일

MAIET

MAsyncDBJob_WinTheClanGame.h

00001 #ifndef _MASYNCDBJOB_WINTHECLANGAME_H
00002 #define _MASYNCDBJOB_WINTHECLANGAME_H
00003 
00004 
00005 #include "MAsyncDBJob.h"
00006 
00007 class MAsyncDBJob_WinTheClanGame : public MAsyncJob {
00008 protected:  // Input Argument
00009     int         m_nWinnerCLID;
00010     int         m_nLoserCLID;
00011     bool        m_bIsDrawGame;
00012     int         m_nWinnerPoint;
00013     int         m_nLoserPoint;
00014     char        m_szWinnerClanName[CLAN_NAME_LENGTH];
00015     char        m_szLoserClanName[CLAN_NAME_LENGTH];
00016     int         m_nRoundWins;
00017     int         m_nRoundLosses;
00018     int         m_nMapID;
00019     int         m_nGameType;
00020     char        m_szWinnerMembers[512];
00021     char        m_szLoserMembers[512];
00022 protected:  // Output Result
00023 
00024 public:
00025     MAsyncDBJob_WinTheClanGame()
00026         : MAsyncJob(MASYNCJOB_WINTHECLANGAME)
00027     {
00028 
00029     }
00030     virtual ~MAsyncDBJob_WinTheClanGame()   {}
00031 
00032     bool Input(const int nWinnerCLID, const int nLoserCLID, const bool bIsDrawGame,
00033                     const int nWinnerPoint, const int nLoserPoint, const char* szWinnerClanName,
00034                     const char* szLoserClanName, const int nRoundWins, const int nRoundLosses,
00035                     const int nMapID, const int nGameType,
00036                     const char* szWinnerMembers, const char* szLoserMembers);
00037 
00038 
00039     virtual void Run(void* pContext);
00040 };
00041 
00042 
00043 
00044 
00045 #endif


MAIET entertainment