pcinfo.h

来自「天之炼狱1服务器端源文件游戏服务端不完整」· C头文件 代码 · 共 58 行

H
58
字号
//----------------------------------------------------------------------//// Filename    : PCInfo.h// Writen By   : Reiot// Description :////----------------------------------------------------------------------#ifndef __PC_INFO_H__#define __PC_INFO_H__// include files#include "Types.h"#include "Exception.h"#include "SocketInputStream.h"#include "SocketOutputStream.h"//----------------------------------------------------------------------//// class PCInfo;//// LCPCList 菩哦俊 淬败辑 朝酒坷绰 SlayerPCInfo, VampirePCInfo 努贰胶狼 海捞胶// 努贰胶捞促. LCPCList 菩哦俊绰 PCInfo* [3] 捞 历厘登哥, DB 惑狼 某腐磐狼// 箭磊俊 蝶扼辑, 咯扁俊 角力 SlayerPCInfo, VampirePCInfo 肚绰 NULL 捞 历厘// 等促.////----------------------------------------------------------------------class PCInfo {public :	// destructor	virtual ~PCInfo () {}		// 泅犁 牢胶畔胶啊 浇饭捞绢牢瘤 轨颇捞绢牢瘤..	virtual PCType getPCType () const throw () = 0;		//----------------------------------------------------------------------	// 菩哦俊 embedding 登妨绰 按眉绰 酒贰客 鞍篮 单捞鸥甫 疙矫秦具 茄促.	//----------------------------------------------------------------------	// read data from socket input stream	virtual void read (SocketInputStream & iStream) throw (ProtocolException, Error) = 0;	// write data to socket output stream	virtual void write (SocketOutputStream & oStream) const throw (ProtocolException, Error) = 0;	// get size of object	virtual uint getSize () const throw () = 0;	// get debug string	virtual string toString () const throw () = 0;};#endif

⌨️ 快捷键说明

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