📄 connectionlayer.h
字号:
//-----------------------------------------------------------------------------
// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -