GameServer
CachePacketQuestRetireRequest.h
[詳解]
1 
7 #ifndef __CACHEPACKETQUESTRETIREREQUEST_H__
8 #define __CACHEPACKETQUESTRETIREREQUEST_H__
9 
10 #include "PacketBase.h"
12 #include "ProcessPacketBase.h"
13 #include "CacheServerPacketID.h"
14 
15 
20 {
21 
22 public:
23 
30 
31 
32 
37 
38 
43  {
44  }
45 
49  CachePacketQuestRetireRequest(u32 InClientId, u32 InCharacterId, u32 InQuestId)
50  {
51  ClientId = InClientId;
52  CharacterId = InCharacterId;
53  QuestId = InQuestId;
54 
55  }
56 
57 
65  {
67  pStream->Serialize(&CharacterId);
68  pStream->Serialize(&QuestId);
69 
70  return true;
71  }
72 };
73 
74 #endif // #ifndef __CACHEPACKETQUESTRETIREREQUEST_H__
virtual u8 GetPacketID() const
パケットID取得.
Definition: CachePacketQuestRetireRequest.h:29
unsigned char u8
Definition: TypeDefs.h:6
u32 CharacterId
キャラクタID
Definition: CachePacketQuestRetireRequest.h:34
u32 ClientId
Definition: ProcessPacketBase.h:19
virtual bool Serialize(s32 *pValue)=0
bool Serialize(MemoryStreamInterface *pStream)
シリアライズ
Definition: CachePacketQuestRetireRequest.h:64
クエスト破棄リクエストパケット
Definition: CacheServerPacketID.h:81
unsigned int u32
Definition: TypeDefs.h:10
u32 QuestId
クエストID
Definition: CachePacketQuestRetireRequest.h:36
クエスト破棄リクエストパケット
Definition: CachePacketQuestRetireRequest.h:19
CachePacketQuestRetireRequest()
コンストラクタ
Definition: CachePacketQuestRetireRequest.h:42
virtual bool Serialize(MemoryStreamInterface *pStream)
Definition: ProcessPacketBase.h:22
Definition: MemoryStreamInterface.h:8
CachePacketQuestRetireRequest(u32 InClientId, u32 InCharacterId, u32 InQuestId)
コンストラクタ
Definition: CachePacketQuestRetireRequest.h:49
Definition: ProcessPacketBase.h:10