waitformeet.h

来自「dk1游戏的原代码文件,完整.编译系统redhat7.3,mysql 3.23 」· C头文件 代码 · 共 33 行

H
33
字号
#ifndef __WAIT_FOR_MEET_H__#define __WAIT_FOR_MEET_H__#include "PartnerWaitingManager.h"#include "PlayerCreature.h"class CoupleRingBase;class WaitForMeet : public PartnerWaitInfo{public:	WaitForMeet( PlayerCreature* pWaitingPC, string RequestedPCName ) : PartnerWaitInfo( pWaitingPC, RequestedPCName ){ }public:	uint waitPartner( PlayerCreature* pTargetPC ) throw(Error);	uint acceptPartner( PlayerCreature* pRequestedPC ) throw(Error);	void timeExpired() throw(Error);	WaitType getWaitType() { return WAIT_FOR_MEET; }public:	static Gold_t	getCoupleRegisterFee( PlayerCreature* pPC ) throw(Error);protected:	static void receiveCoupleRegisterFee( PlayerCreature* pPC ) throw(Error);	static uint canMakeCouple( PlayerCreature* pPC1, PlayerCreature* pPC2 );	static OptionType_t getRandomOptionType( PlayerCreature* pPC );	static CoupleRingBase* giveCoupleRing( PlayerCreature* pPC, string partnerName, _TPOINT* pPt = NULL ) throw(Error);	static bool canGetCoupleRing( PlayerCreature* pPC, _TPOINT& pt );	static uint canHavePartner( PlayerCreature* pPC ) throw(Error);};#endif // __WAIT_FOR_MEET_H__

⌨️ 快捷键说明

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