GameServer
PacketQuestAccept.h
[詳解]
1 
7 #ifndef __PACKETQUESTACCEPT_H__
8 #define __PACKETQUESTACCEPT_H__
9 
10 #include "PacketBase.h"
12 #include "PacketID.h"
13 
14 
19 {
20 
21 public:
22 
28  virtual u8 GetPacketID() const { return PacketID::QuestAccept; }
29 
30 
31 
34 
35 
40  {
41  }
42 
47  {
48  QuestId = InQuestId;
49 
50  }
51 
52 
60  {
61  pStream->Serialize(&QuestId);
62 
63  return true;
64  }
65 };
66 
67 #endif // #ifndef __PACKETQUESTACCEPT_H__
クエスト受注パケット
Definition: PacketID.h:167
クエスト受注パケット
Definition: PacketQuestAccept.h:18
unsigned char u8
Definition: TypeDefs.h:6
PacketQuestAccept()
コンストラクタ
Definition: PacketQuestAccept.h:39
PacketQuestAccept(u32 InQuestId)
コンストラクタ
Definition: PacketQuestAccept.h:46
virtual bool Serialize(s32 *pValue)=0
unsigned int u32
Definition: TypeDefs.h:10
bool Serialize(MemoryStreamInterface *pStream)
シリアライズ
Definition: PacketQuestAccept.h:59
virtual u8 GetPacketID() const
パケットID取得.
Definition: PacketQuestAccept.h:28
Definition: PacketBase.h:9
Definition: MemoryStreamInterface.h:8
u32 QuestId
クエストID
Definition: PacketQuestAccept.h:33