GameServer
CachePacketSaveQuestDataRequest.h
[詳解]
1 
7 #ifndef __CACHEPACKETSAVEQUESTDATAREQUEST_H__
8 #define __CACHEPACKETSAVEQUESTDATAREQUEST_H__
9 
10 #include "PacketBase.h"
12 #include "ProcessPacketBase.h"
13 #include "QuestData.h"
14 #include "CacheServerPacketID.h"
15 
16 
21 {
22 
23 public:
24 
31 
32 
33 
38 
39 
44  {
45  }
46 
50  CachePacketSaveQuestDataRequest(u32 InClientId, u32 InCharacterId, QuestData InData)
51  {
52  ClientId = InClientId;
53  CharacterId = InCharacterId;
54  Data = InData;
55 
56  }
57 
58 
66  {
68  pStream->Serialize(&CharacterId);
69  Data.Serialize(pStream);
70 
71  return true;
72  }
73 };
74 
75 #endif // #ifndef __CACHEPACKETSAVEQUESTDATAREQUEST_H__
u32 CharacterId
キャラクタID
Definition: CachePacketSaveQuestDataRequest.h:35
unsigned char u8
Definition: TypeDefs.h:6
クエストデータパケット
u32 ClientId
Definition: ProcessPacketBase.h:19
bool Serialize(MemoryStreamInterface *pStream)
シリアライズ
Definition: CachePacketSaveQuestDataRequest.h:65
virtual u8 GetPacketID() const
パケットID取得.
Definition: CachePacketSaveQuestDataRequest.h:30
virtual bool Serialize(s32 *pValue)=0
CachePacketSaveQuestDataRequest(u32 InClientId, u32 InCharacterId, QuestData InData)
コンストラクタ
Definition: CachePacketSaveQuestDataRequest.h:50
QuestData Data
クエストデータ
Definition: CachePacketSaveQuestDataRequest.h:37
bool Serialize(MemoryStreamInterface *pStream)
シリアライズ
Definition: QuestData.h:73
クエストデータパケット
Definition: QuestData.h:17
unsigned int u32
Definition: TypeDefs.h:10
virtual bool Serialize(MemoryStreamInterface *pStream)
Definition: ProcessPacketBase.h:22
CachePacketSaveQuestDataRequest()
コンストラクタ
Definition: CachePacketSaveQuestDataRequest.h:43
クエストデータ保存リクエストパケット
Definition: CachePacketSaveQuestDataRequest.h:20
Definition: MemoryStreamInterface.h:8
クエストデータ保存リクエストパケット
Definition: CacheServerPacketID.h:79
Definition: ProcessPacketBase.h:10