GameServer
CachePacketSkillTreeResponse.h
[詳解]
1 
7 #ifndef __CACHEPACKETSKILLTREERESPONSE_H__
8 #define __CACHEPACKETSKILLTREERESPONSE_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 
43 
44 
49  {
50  }
51 
55  CachePacketSkillTreeResponse(u32 InClientId, u8 InResult, FlexArray<u32> InOpenedList)
56  {
57  ClientId = InClientId;
58  Result = InResult;
59  OpenedList = InOpenedList;
60 
61  }
62 
63 
71  {
73  pStream->Serialize(&Result);
74  OpenedList.Serialize(pStream);
75 
76  return true;
77  }
78 };
79 
80 #endif // #ifndef __CACHEPACKETSKILLTREERESPONSE_H__
unsigned char u8
Definition: TypeDefs.h:6
スキルツリーレスポンスパケット
Definition: CacheServerPacketID.h:53
CachePacketSkillTreeResponse()
コンストラクタ
Definition: CachePacketSkillTreeResponse.h:48
ResultCode
Definition: CachePacketSkillTreeResponse.h:31
u32 ClientId
Definition: ProcessPacketBase.h:19
FlexArray< u32 > OpenedList
開いているノードリスト
Definition: CachePacketSkillTreeResponse.h:42
bool Serialize(MemoryStreamInterface *pStream)
シリアライズ
Definition: CachePacketSkillTreeResponse.h:70
virtual bool Serialize(s32 *pValue)=0
エラー
Definition: CachePacketSkillTreeResponse.h:36
void Serialize(MemoryStreamInterface *pStream)
Definition: FlexArray.h:143
スキルツリーレスポンスパケット
Definition: CachePacketSkillTreeResponse.h:19
unsigned int u32
Definition: TypeDefs.h:10
virtual bool Serialize(MemoryStreamInterface *pStream)
Definition: ProcessPacketBase.h:22
CachePacketSkillTreeResponse(u32 InClientId, u8 InResult, FlexArray< u32 > InOpenedList)
コンストラクタ
Definition: CachePacketSkillTreeResponse.h:55
virtual u8 GetPacketID() const
パケットID取得.
Definition: CachePacketSkillTreeResponse.h:29
成功
Definition: CachePacketSkillTreeResponse.h:34
u8 Result
結果
Definition: CachePacketSkillTreeResponse.h:40
Definition: MemoryStreamInterface.h:8
Definition: ProcessPacketBase.h:10