GameServer
CachePacketSaveItemShortcutResponse.h
[詳解]
1 
7 #ifndef __CACHEPACKETSAVEITEMSHORTCUTRESPONSE_H__
8 #define __CACHEPACKETSAVEITEMSHORTCUTRESPONSE_H__
9 
10 #include "PacketBase.h"
12 #include "ProcessPacketBase.h"
13 #include "CacheServerPacketID.h"
14 
15 
20 {
21 
22 public:
23 
30 
32  {
37  };
38 
45 
46 
51  {
52  }
53 
57  CachePacketSaveItemShortcutResponse(u32 InClientId, u8 InResult, u32 InItemId1, u32 InItemId2)
58  {
59  ClientId = InClientId;
60  Result = InResult;
61  ItemId1 = InItemId1;
62  ItemId2 = InItemId2;
63 
64  }
65 
66 
74  {
76  pStream->Serialize(&Result);
77  pStream->Serialize(&ItemId1);
78  pStream->Serialize(&ItemId2);
79 
80  return true;
81  }
82 };
83 
84 #endif // #ifndef __CACHEPACKETSAVEITEMSHORTCUTRESPONSE_H__
unsigned char u8
Definition: TypeDefs.h:6
エラー
Definition: CachePacketSaveItemShortcutResponse.h:36
bool Serialize(MemoryStreamInterface *pStream)
シリアライズ
Definition: CachePacketSaveItemShortcutResponse.h:73
u32 ItemId2
アイテムID2
Definition: CachePacketSaveItemShortcutResponse.h:44
u32 ClientId
Definition: ProcessPacketBase.h:19
virtual bool Serialize(s32 *pValue)=0
CachePacketSaveItemShortcutResponse()
コンストラクタ
Definition: CachePacketSaveItemShortcutResponse.h:50
virtual u8 GetPacketID() const
パケットID取得.
Definition: CachePacketSaveItemShortcutResponse.h:29
アイテムショートカット保存レスポンスパケット
Definition: CacheServerPacketID.h:73
unsigned int u32
Definition: TypeDefs.h:10
成功
Definition: CachePacketSaveItemShortcutResponse.h:34
u32 ItemId1
アイテムID1
Definition: CachePacketSaveItemShortcutResponse.h:42
virtual bool Serialize(MemoryStreamInterface *pStream)
Definition: ProcessPacketBase.h:22
u8 Result
結果
Definition: CachePacketSaveItemShortcutResponse.h:40
Definition: MemoryStreamInterface.h:8
ResultCode
Definition: CachePacketSaveItemShortcutResponse.h:31
アイテムショートカット保存レスポンスパケット
Definition: CachePacketSaveItemShortcutResponse.h:19
CachePacketSaveItemShortcutResponse(u32 InClientId, u8 InResult, u32 InItemId1, u32 InItemId2)
コンストラクタ
Definition: CachePacketSaveItemShortcutResponse.h:57
Definition: ProcessPacketBase.h:10