connectionlayer.h
来自「五行MMORPG引擎系统V1.0」· C头文件 代码 · 共 49 行
H
49 行
//-----------------------------------------------------------------------------
// Torque Game Engine
// Copyright (C) GarageGames.com, Inc.
//-----------------------------------------------------------------------------
#ifndef _CONNECTIONLAYER_H_
#define _CONNECTIONLAYER_H_
#ifndef _CONNECTIONGHOST_H_
#include "GhostConnection.h"
#endif
//namespace CS
//{
class ConnectionLayer : public GhostConnection
{
typedef GhostConnection Parent;
public:
ConnectionLayer(){}
~ConnectionLayer(){}
protected:
//virtual void readPacket(BitStream *bstream);
//virtual void writePacket(BitStream *bstream, PacketNotify *note);
//virtual void packetReceived(PacketNotify *note);
//virtual void packetDropped(PacketNotify *note);
////virtual void connectionError(const char *errorString);
//virtual void writeDemoStartBlock(ResizeBitStream *stream);
//virtual bool readDemoStartBlock(BitStream *stream);
////virtual void demoPlaybackComplete();
};
//};//namespace CS
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?