GameServer
PacketQuestRetireResponse.h
[詳解]
1 
7 #ifndef __PACKETQUESTRETIRERESPONSE_H__
8 #define __PACKETQUESTRETIRERESPONSE_H__
9 
10 #include "PacketBase.h"
12 #include "PacketID.h"
13 
14 
19 {
20 
21 public:
22 
28  virtual u8 GetPacketID() const { return PacketID::QuestRetireResponse; }
29 
31  {
38  };
39 
44 
45 
50  {
51  }
52 
56  PacketQuestRetireResponse(u32 InQuestId, u8 InResult)
57  {
58  QuestId = InQuestId;
59  Result = InResult;
60 
61  }
62 
63 
71  {
72  pStream->Serialize(&QuestId);
73  pStream->Serialize(&Result);
74 
75  return true;
76  }
77 };
78 
79 #endif // #ifndef __PACKETQUESTRETIRERESPONSE_H__
ResultCode
Definition: PacketQuestRetireResponse.h:30
bool Serialize(MemoryStreamInterface *pStream)
シリアライズ
Definition: PacketQuestRetireResponse.h:70
unsigned char u8
Definition: TypeDefs.h:6
メインクエスト
Definition: PacketQuestRetireResponse.h:35
成功
Definition: PacketQuestRetireResponse.h:33
クエスト破棄レスポンスパケット
Definition: PacketQuestRetireResponse.h:18
virtual u8 GetPacketID() const
パケットID取得.
Definition: PacketQuestRetireResponse.h:28
クエスト破棄レスポンスパケット
Definition: PacketID.h:177
virtual bool Serialize(s32 *pValue)=0
u8 Result
結果
Definition: PacketQuestRetireResponse.h:43
PacketQuestRetireResponse(u32 InQuestId, u8 InResult)
コンストラクタ
Definition: PacketQuestRetireResponse.h:56
unsigned int u32
Definition: TypeDefs.h:10
エラー
Definition: PacketQuestRetireResponse.h:37
u32 QuestId
クエストID
Definition: PacketQuestRetireResponse.h:41
PacketQuestRetireResponse()
コンストラクタ
Definition: PacketQuestRetireResponse.h:49
Definition: PacketBase.h:9
Definition: MemoryStreamInterface.h:8