GameServer
CachePacketMailAttachmentRecvResult.h
[詳解]
1 
7 #ifndef __CACHEPACKETMAILATTACHMENTRECVRESULT_H__
8 #define __CACHEPACKETMAILATTACHMENTRECVRESULT_H__
9 
10 #include "PacketBase.h"
12 #include "ProcessPacketBase.h"
13 #include "CacheServerPacketID.h"
14 
15 
20 {
21 
22 public:
23 
30 
32  {
39  };
40 
51 
52 
57  {
58  }
59 
63  CachePacketMailAttachmentRecvResult(u32 InClientId, u32 InMailId, u8 InResult, u8 InType, u32 InAttachmentId, u32 InCount)
64  {
65  ClientId = InClientId;
66  MailId = InMailId;
67  Result = InResult;
68  Type = InType;
69  AttachmentId = InAttachmentId;
70  Count = InCount;
71 
72  }
73 
74 
82  {
84  pStream->Serialize(&MailId);
85  pStream->Serialize(&Result);
86  pStream->Serialize(&Type);
87  pStream->Serialize(&AttachmentId);
88  pStream->Serialize(&Count);
89 
90  return true;
91  }
92 };
93 
94 #endif // #ifndef __CACHEPACKETMAILATTACHMENTRECVRESULT_H__
ResultCode
Definition: CachePacketMailAttachmentRecvResult.h:31
unsigned char u8
Definition: TypeDefs.h:6
bool Serialize(MemoryStreamInterface *pStream)
シリアライズ
Definition: CachePacketMailAttachmentRecvResult.h:81
u32 ClientId
Definition: ProcessPacketBase.h:19
virtual u8 GetPacketID() const
パケットID取得.
Definition: CachePacketMailAttachmentRecvResult.h:29
メール添付物受信結果パケット
Definition: CacheServerPacketID.h:97
virtual bool Serialize(s32 *pValue)=0
u8 Type
種類
Definition: CachePacketMailAttachmentRecvResult.h:46
成功
Definition: CachePacketMailAttachmentRecvResult.h:34
受信済み
Definition: CachePacketMailAttachmentRecvResult.h:36
unsigned int u32
Definition: TypeDefs.h:10
メール添付物受信結果パケット
Definition: CachePacketMailAttachmentRecvResult.h:19
u32 Count
数量
Definition: CachePacketMailAttachmentRecvResult.h:50
エラー
Definition: CachePacketMailAttachmentRecvResult.h:38
u32 MailId
メールID
Definition: CachePacketMailAttachmentRecvResult.h:42
virtual bool Serialize(MemoryStreamInterface *pStream)
Definition: ProcessPacketBase.h:22
u8 Result
結果コード
Definition: CachePacketMailAttachmentRecvResult.h:44
CachePacketMailAttachmentRecvResult(u32 InClientId, u32 InMailId, u8 InResult, u8 InType, u32 InAttachmentId, u32 InCount)
コンストラクタ
Definition: CachePacketMailAttachmentRecvResult.h:63
Definition: MemoryStreamInterface.h:8
CachePacketMailAttachmentRecvResult()
コンストラクタ
Definition: CachePacketMailAttachmentRecvResult.h:56
u32 AttachmentId
添付物ID
Definition: CachePacketMailAttachmentRecvResult.h:48
Definition: ProcessPacketBase.h:10