waitforapart.h
来自「dk1游戏的原代码文件,完整.编译系统redhat7.3,mysql 3.23 」· C头文件 代码 · 共 25 行
H
25 行
#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 + =
减小字号Ctrl + -
显示快捷键?