GameServer
CachePacketScriptFlagResponse.h
[詳解]
1 
7 #ifndef __CACHEPACKETSCRIPTFLAGRESPONSE_H__
8 #define __CACHEPACKETSCRIPTFLAGRESPONSE_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 
47 
48 
53  {
54  }
55 
59  CachePacketScriptFlagResponse(u32 InClientId, u8 InResult, u32 InBitField1, u32 InBitField2, u32 InBitField3)
60  {
61  ClientId = InClientId;
62  Result = InResult;
63  BitField1 = InBitField1;
64  BitField2 = InBitField2;
65  BitField3 = InBitField3;
66 
67  }
68 
69 
77  {
79  pStream->Serialize(&Result);
80  pStream->Serialize(&BitField1);
81  pStream->Serialize(&BitField2);
82  pStream->Serialize(&BitField3);
83 
84  return true;
85  }
86 };
87 
88 #endif // #ifndef __CACHEPACKETSCRIPTFLAGRESPONSE_H__
unsigned char u8
Definition: TypeDefs.h:6
virtual u8 GetPacketID() const
パケットID取得.
Definition: CachePacketScriptFlagResponse.h:29
u32 ClientId
Definition: ProcessPacketBase.h:19
CachePacketScriptFlagResponse()
コンストラクタ
Definition: CachePacketScriptFlagResponse.h:52
virtual bool Serialize(s32 *pValue)=0
u32 BitField2
ビットフィールド2
Definition: CachePacketScriptFlagResponse.h:44
スクリプトフラグレスポンスパケット
Definition: CacheServerPacketID.h:43
bool Serialize(MemoryStreamInterface *pStream)
シリアライズ
Definition: CachePacketScriptFlagResponse.h:76
u8 Result
結果
Definition: CachePacketScriptFlagResponse.h:40
unsigned int u32
Definition: TypeDefs.h:10
virtual bool Serialize(MemoryStreamInterface *pStream)
Definition: ProcessPacketBase.h:22
エラー
Definition: CachePacketScriptFlagResponse.h:36
ResultCode
Definition: CachePacketScriptFlagResponse.h:31
CachePacketScriptFlagResponse(u32 InClientId, u8 InResult, u32 InBitField1, u32 InBitField2, u32 InBitField3)
コンストラクタ
Definition: CachePacketScriptFlagResponse.h:59
スクリプトフラグレスポンスパケット
Definition: CachePacketScriptFlagResponse.h:19
Definition: MemoryStreamInterface.h:8
u32 BitField1
ビットフィールド1
Definition: CachePacketScriptFlagResponse.h:42
成功
Definition: CachePacketScriptFlagResponse.h:34
u32 BitField3
ビットフィールド3
Definition: CachePacketScriptFlagResponse.h:46
Definition: ProcessPacketBase.h:10