minigamequeststatus.h
来自「dk1游戏的原代码文件,完整.编译系统redhat7.3,mysql 3.23 」· C头文件 代码 · 共 34 行
H
34 行
#ifndef __MINI_GAME_QUEST_STATUS_H__#define __MINI_GAME_QUEST_STATUS_H__#include "QuestStatus.h"#include "Gpackets/GCQuestStatus.h"class MiniGameQuestStatus : public QuestStatus{public: MiniGameQuestStatus( QuestID_t qID, const VSDateTime& deadline, int gameType ) : QuestStatus( qID, deadline, QUEST_CLASS_MINI_GAME ), m_GameType(gameType) { m_bScoreSet = false; m_GameScore = 0; } virtual ~MiniGameQuestStatus() { } bool isSuccess() const throw() { return m_bScoreSet; } int getGameType() const { return m_GameType; } bool setScore( uint score ) { if ( m_bScoreSet ) return false; m_GameScore = score; return m_bScoreSet = true; } GCQuestStatus* makeStatusPacket() const; string toStrong() const throw(Error); void executeWhenStart(); void executeWhenFail();private: int m_GameType; uint m_GameScore; bool m_bScoreSet;};#endif // __MINI_GAME_QUEST_STATUS_H__
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?