00001 #pragma once
00002
00003 #include "Packet.h"
00004
00005 class CPacketStream : public CPacket
00006 {
00007 public:
00008 enum EPacketStreamType
00009 {
00010 STREAM_TYPE_FRAME = 0
00011 };
00012
00013 protected:
00014 EPacketStreamType streamType;
00015 __uint32 stream;
00016
00017 public:
00018 CPacketStream(
00019 __uint32 size,
00020 __uint32 stream,
00021 EPacketStreamType streamType
00022 );
00023 virtual ~CPacketStream() { }
00024
00025 virtual inline EPacketType Type() { return PACKET_TYPE_STREAM; }
00026 inline __uint32 Stream() { return this->stream; }
00027 inline EPacketStreamType StreamType() { return this->streamType; }
00028 };