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

📄 npc_eventaction.h

📁 石器时代8.0服务端完整源代码。可以直接编译
💻 H
字号:
#ifndef _PRO_NPCFIX_H#define _PRO_NPCFIX_H//ANDY_EditBOOL ActionNpc_CheckMenuFree( int meindex, int toindex, char *npcarg, int nums);BOOL ActionNpc_CheckFree( int meindex, int toindex, char *npcarg);BOOL Action_RunDoEventAction( int meindex, int toindex, char *buf1);BOOL ActionNpc_WarpPoint(int meindex,int talker,char *npcarg);BOOL Action_PartyCheck( int meindex, int talker);BOOL NPC_ActionAddGold( int talker, int Golds);BOOL NPC_ActionDelGold( int talker,char *buf);// WON ADDBOOL NPC_ActionAddGold2( int talker,char *buf);BOOL NPC_ActionDelPet( int toindex,char *buf);#ifdef _NPC_NewDelPetBOOL NPC_ActionNewDelPet( int talker,char *msg);#endifBOOL NPC_ActionAddPet( int talker, char *buf);BOOL NPC_ActionDelItem( int talker,char *buf);BOOL NPC_ActionAddItem( int talker, char *buf);BOOL NPC_ActionSetEend( int talkerindex, char * buf);BOOL NPC_ActionSetNow( int toindex, char * buf);BOOL NPC_ActionClearEvent( int toindex, char * buf);BOOL NPC_ActionCheckTrans(int meindex,int talker,int trans,int flg);BOOL NPC_ActionLevelCheck(int meindex,int talker,int level,int flg);#ifdef _PROFESSION_SKILL			// WON ADD 人物职业技能BOOL NPC_ActionClassCheck( int meindex,int talker,int p_class,int flg);BOOL NPC_ActionSkillCheck( int meindex,int talker,int skillId,int flg);BOOL NPC_ActionSkillNumCheck( int meindex,int talker,int sknum,int flg);BOOL NPC_ActionSkillPointAndSkillCheck( int meindex,int talker,int sknum,int flg);BOOL NPC_ActionCleanProfession( int toindex, char *buf);BOOL NPC_ActionAddProfessionSkillPoint( int toindex, char *buf );#endifBOOL NPC_ActionGoldCheck(int meindex,int talker,int Golds,int flg);BOOL NPC_ActionPartyCheck( int toindex, int nums, int flg);BOOL NPC_ActionReItemCheck( int toindex, int nums, int flg);BOOL NPC_ActionRePetCheck( int toindex, int nums, int flg);BOOL ActionCheckMyPet( int meindex, int talker, int petLv, int flg, int petid);BOOL NPC_ActionBigSmallLastCheck(int point1,int mypoint,int flg);BOOL NPC_ActionItemCheck(int meindex,int talker,int itemNo, int flg);BOOL NPC_ActioneEquitCheck(int meindex,int talker,int itemNo, int flg);BOOL NPC_ActionFreeIfCheck(int meindex,int talker, char* buf, char *opt, int kosuu,int flg, int temp);BOOL NPC_ActionBigSmallCheck(int meindex,int talker,char* buf);BOOL NPC_ActionPassCheck( int meindex, int talker, char *buf);BOOL NPC_ActionWarpManReduce(int meindex,int talker,char *buf);#ifdef _NPC_ActionFreeCmp BOOL NPC_ActionWarpManReduce2(int meindex,int talker,char *buf);#endif#ifdef _NPCCHANGE_PLAYERIMG	//andyBOOL NPC_ActionChangePlayerBBI( int meindex, int charindex, char *Img);BOOL NPC_CheckPlayerBBI( int meindex, int charindex, int BBI, int flg);#endifBOOL showString( int meindex, char *showstr,int flg);BOOL NPC_getTimeXYPoint( int meindex, int Mode);BOOL NPC_getTimeData( int meindex, char *npcarg, int *born, int *dead, int loopspeed);void NPC_TimeDefineDo( int meindex, int born, int dead, int typeMode);BOOL NPC_CheckTimeDefine( char *timetype);void GetRand_WarpPoint( char *buf, int *fl, int *x, int *y );#ifdef _EMENY_CHANCEMANint NPC_EmenyChanceCheck( int meindex, int charaindex, char *arg);int NPC_DischargePartyForSex( int meindex, int charaindex, int fl, int x, int y, int fsex);#endif#ifdef _ACTION_GMQUEBOOL CheckGmQueflg(  int talker,int nCount,int flg);BOOL GMQUE_InSertQue( int meindex, int charaindex);BOOL GMQUE_getQueStr( int meindex, int charaindex);void GMQUE_cleanQueStr( int nindex);void GMQUE_showQueStr( int meindex, int charaindex);BOOL GMQUE_CheckQueStr( int meindex, int charaindex, int count);BOOL GMQUE_DelQueStrPet( int meindex, int charaindex, int count);BOOL GMQUE_AddQueStrTrophy( int meindex, int charaindex);#endifBOOL NPC_ActionDuelRankCheck(int meindex,int talker,int rank,int flg);BOOL NPC_ActionDuelPointCheck(int meindex,int talker,int rank,int flg);#ifdef _ACTION_BULLSCRBOOL NPC_ActionCheckABulltime( int meindex,int talker,int nCount,int flg);BOOL NPC_ActionCheckABullstart( int meindex,int talker,int start,int flg);BOOL NPC_ActionCheckABullscore( int meindex,int talker,int score,int flg);BOOL NPC_ActionCheckABullEvent( int meindex,int talker);#endif#ifdef _TREASURE_BOXBOOL NPC_ActionTreasureTypeCheck( int meindex, int level, int type, int flg);#endifBOOL NPC_ActionTreasureRandItemGet(int meidex,int talker,int rand_j,char *buf);void NPC_ActionLevelAndTransUp( int meindex, int charindex, int level,							   int skillpoint, int exp, int ridepet);#ifdef _ITEM_PILENUMSBOOL NPC_ActionDoPileDelItem( int toindex, int itemID, int num);BOOL NPC_DelItem( int toindex, int ti, int num);#endifvoid NPC_ActionDoPileClearItem( int toindex, int itemID);#ifdef _PROFESSION_SKILL			// WON ADD 人物职业技能int PROFESSION_RESTORE_POINT( int charaindex );#endif#ifdef _NPC_ADDWARPMAN1BOOL NPC_ActionPartyCountCheck( int toindex, int nums, int flg);BOOL NPC_ActionManCountCheck( int toindex, int nums, int flg);//检查男生人数BOOL NPC_ActionWomanCountCheck( int toindex, int nums, int flg);//检查女生人数#endif#endif

⌨️ 快捷键说明

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