?? cunreliablequeuein.h
字號(hào):
/*******************************************************************
* Advanced 3D Game Programming using DirectX 9.0
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* copyright (c) 2003 by Peter A Walsh and Adrian Perez
* See license.txt for modification and distribution information
******************************************************************/
// cUnreliableQueueIn.h: interface for the cUnreliableQueueIn class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_CUNRELIABLEQUEUEIN_H__8E4CCAC1_D4DB_11D3_AE4F_00E029031C67__INCLUDED_)
#define AFX_CUNRELIABLEQUEUEIN_H__8E4CCAC1_D4DB_11D3_AE4F_00E029031C67__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "cMonitor.h"
#include "cDataPacket.h"
#include <list>
using namespace std;
class cUnreliableQueueIn : public cMonitor
{
list<cDataPacket *> d_packets;
DWORD d_currentPacketID;
public:
cUnreliableQueueIn();
virtual ~cUnreliableQueueIn();
void Clear();
void AddPacket( DWORD packetID, char *pData, unsigned short len, DWORD receiveTime );
cDataPacket *GetPacket();
};
#endif // !defined(AFX_CUNRELIABLEQUEUEIN_H__8E4CCAC1_D4DB_11D3_AE4F_00E029031C67__INCLUDED_)
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -