⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 monstersummoninfo.h

📁 天之炼狱1服务器端源文件游戏服务端不完整
💻 H
字号:
//////////////////////////////////////////////////////////////////////////////// Filename    : MonsterSummonInfo.h// Written By  : 江// Description ://////////////////////////////////////////////////////////////////////////////#ifndef __MONSTER_SUMMON_INFO_H__#define __MONSTER_SUMMON_INFO_H__#include "Types.h"#include "MonsterInfoTypes.h"#include <list>#include <vector>struct MonsterCollection;// 家券瞪锭狼 沥焊struct SUMMON_INFO{	enum ClanType	{		CLAN_TYPE_DEFAULT,			// default = 1		CLAN_TYPE_RANDOM_EACH,		// 捞锅俊 积己登绰 局甸 阿阿 促福霸		CLAN_TYPE_RANDOM_GROUP,		// 捞锅俊 积己登绰 局甸 傈何 鞍霸		CLAN_TYPE_GROUP,			// 捞锅俊 积己登绰 局甸 傈何 鞍霸. clanID瘤沥	};	SUMMON_INFO()	{		scanEnemy = false;		canScanEnemy = false;		clanType = CLAN_TYPE_DEFAULT;		clanID = 0;		hasItem = true;		regenType = REGENTYPE_MAX;		initHPPercent = 0;	}	bool 		canScanEnemy;		// 利(阁胶磐? -_-;)阑 胶胶肺 scan窍绰啊?	ClanType 	clanType;	int 	 	clanID;	bool	 	hasItem;			// 家券等 阁胶磐啊 酒捞袍阑 啊瘤绰啊?	RegenType   regenType;	bool 		scanEnemy;			// 积己瞪锭 利(阁胶磐? -_-;)阑  scan窍绰啊?	int 		initHPPercent;};// 家券瞪锭狼 沥焊: 咯矾啊瘤甫 茄波锅俊 家券struct SUMMON_INFO2 : public SUMMON_INFO{	ZoneCoord_t   		X;	ZoneCoord_t   		Y; 	MonsterCollection*	pMonsters;};// 阁胶磐 割 付府struct MonsterCollectionInfo{	SpriteType_t	SpriteType;	MonsterType_t	MonsterType;	int             Num;	void parseString(const string& infoString);	string toString() const;};// 阁胶磐 咯矾 辆幅struct MonsterCollection{	list<MonsterCollectionInfo> Infos;	void parseString(const string& collectionString);	string toString() const;};// 家券 窜拌struct MonsterSummonStep{	vector<MonsterCollection>  Collections;	const MonsterCollection* getRandomMonsterCollection() const;	void parseString(const string& summonStepsString);	string toString() const;};// 家券 沥焊struct MonsterSummonInfo{	vector<MonsterSummonStep>  Steps;		const MonsterCollection* getRandomMonsterCollection(int step) const;	bool hasNextMonsterCollection(int step) const;	void parseString(const string& summonInfoString);	string toString() const;};#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -