📄 waitforapart.h
字号:
#ifndef __WAIT_FOR_APART_H__#define __WAIT_FOR_APART_H__#include "Inventory.h"#include "PlayerCreature.h"#include "PartnerWaitingManager.h"class WaitForApart : public PartnerWaitInfo{public: WaitForApart( 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_APART; } static bool removeCoupleItem( PlayerCreature* pPC ) throw(Error); static bool hasCoupleItem( PlayerCreature* pPC ) throw(Error) { return getCoupleItem( pPC ) != NULL; } static Item* getCoupleItem( PlayerCreature* pPC ) throw(Error);};#endif // __WAIT_FOR_APART_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -