cevent.h
来自「mud游戏人在江湖」· C头文件 代码 · 共 76 行
H
76 行
//---------------------------------------------------------------------------
#ifndef _CEVENT_H_
#define _CEVENT_H_
//---------------------------------------------------------------------------
#include <string>
#include <list>
#include "CEventCommon.h"
using namespace std;
class CEventRun
{
public:
int EventRunType;
int EventRunGoodKind; // new: 2000/06/23
string EventRunItemName;
int EventRunValue;
CEventRun();
~CEventRun();
};
class CEventLimit
{
public:
int LimitType;
int LimitGoodKind; // new: 2000/06/23
string LimitItemName;
int LimitValue;
// [NO]: When the Limit is not satisfied
string MsgWhenNo;
list<CEventRun> EventRunListWhenNo;
// [YES]: When the Limit is satisfied
string MsgWhenYes;
list<CEventRun> EventRunListWhenYes;
CEventLimit();
CEventLimit(const CEventLimit &SourceLimit);
~CEventLimit();
};
class CEventAsk
{
public:
string KeyWord;
int AskType;
int LimitChoose;
// add 7/24 start
// [NO]: Default EventRun When the Limit is not satisfied
string MsgDefaultWhenNo;
list<CEventRun> DefaultEventRunListWhenNo;
// [YES]: Default EventRun When the Limit is satisfied
string MsgDefaultWhenYes;
list<CEventRun> DefaultEventRunListWhenYes;
// add 7/24 end
list<CEventLimit> LimitList;
CEventAsk();
CEventAsk(char* szKeyWord, int nAskType, int nLimitChoose = EV_LIMITCHOOSE_All, int nNeedDefaultLimit = 0);
~CEventAsk();
};
class CNpcEvent
{
public:
list<CEventAsk> EventAskList;
CNpcEvent();
~CNpcEvent();
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?