GameServer
PacketReceiveNotice.h
[詳解]
1 
7 #ifndef __PACKETRECEIVENOTICE_H__
8 #define __PACKETRECEIVENOTICE_H__
9 
10 #include "PacketBase.h"
12 #include "NoticeData.h"
13 #include "PacketID.h"
14 
15 
20 {
21 
22 public:
23 
29  virtual u8 GetPacketID() const { return PacketID::ReceiveNotice; }
30 
31 
32 
35 
36 
41  {
42  }
43 
48  {
49  Notice = InNotice;
50 
51  }
52 
53 
61  {
62  Notice.Serialize(pStream);
63 
64  return true;
65  }
66 };
67 
68 #endif // #ifndef __PACKETRECEIVENOTICE_H__
bool Serialize(MemoryStreamInterface *pStream)
シリアライズ
Definition: NoticeData.h:68
unsigned char u8
Definition: TypeDefs.h:6
NoticeData Notice
通知データ
Definition: PacketReceiveNotice.h:34
virtual u8 GetPacketID() const
パケットID取得.
Definition: PacketReceiveNotice.h:29
PacketReceiveNotice(NoticeData InNotice)
コンストラクタ
Definition: PacketReceiveNotice.h:47
通知パケット
Definition: PacketReceiveNotice.h:19
PacketReceiveNotice()
コンストラクタ
Definition: PacketReceiveNotice.h:40
bool Serialize(MemoryStreamInterface *pStream)
シリアライズ
Definition: PacketReceiveNotice.h:60
通知データパケット
Definition: PacketBase.h:9
通知データパケット
Definition: NoticeData.h:17
Definition: MemoryStreamInterface.h:8
通知パケット
Definition: PacketID.h:113