GameServer
CachePacketSkillListResponse.h
[詳解]
1 
7 #ifndef __CACHEPACKETSKILLLISTRESPONSE_H__
8 #define __CACHEPACKETSKILLLISTRESPONSE_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 
49 
50 
55  {
56  }
57 
61  CachePacketSkillListResponse(u32 InClientId, u8 InResult, u32 InSkillId1, u32 InSkillId2, u32 InSkillId3, u32 InSkillId4)
62  {
63  ClientId = InClientId;
64  Result = InResult;
65  SkillId1 = InSkillId1;
66  SkillId2 = InSkillId2;
67  SkillId3 = InSkillId3;
68  SkillId4 = InSkillId4;
69 
70  }
71 
72 
80  {
82  pStream->Serialize(&Result);
83  pStream->Serialize(&SkillId1);
84  pStream->Serialize(&SkillId2);
85  pStream->Serialize(&SkillId3);
86  pStream->Serialize(&SkillId4);
87 
88  return true;
89  }
90 };
91 
92 #endif // #ifndef __CACHEPACKETSKILLLISTRESPONSE_H__
unsigned char u8
Definition: TypeDefs.h:6
u32 ClientId
Definition: ProcessPacketBase.h:19
u32 SkillId4
スキルID4
Definition: CachePacketSkillListResponse.h:48
CachePacketSkillListResponse(u32 InClientId, u8 InResult, u32 InSkillId1, u32 InSkillId2, u32 InSkillId3, u32 InSkillId4)
コンストラクタ
Definition: CachePacketSkillListResponse.h:61
成功
Definition: CachePacketSkillListResponse.h:34
virtual bool Serialize(s32 *pValue)=0
u32 SkillId2
スキルID2
Definition: CachePacketSkillListResponse.h:44
u8 Result
結果
Definition: CachePacketSkillListResponse.h:40
unsigned int u32
Definition: TypeDefs.h:10
CachePacketSkillListResponse()
コンストラクタ
Definition: CachePacketSkillListResponse.h:54
スキルリストレスポンスパケット
Definition: CacheServerPacketID.h:39
virtual u8 GetPacketID() const
パケットID取得.
Definition: CachePacketSkillListResponse.h:29
virtual bool Serialize(MemoryStreamInterface *pStream)
Definition: ProcessPacketBase.h:22
ResultCode
Definition: CachePacketSkillListResponse.h:31
u32 SkillId1
スキルID1
Definition: CachePacketSkillListResponse.h:42
Definition: MemoryStreamInterface.h:8
bool Serialize(MemoryStreamInterface *pStream)
シリアライズ
Definition: CachePacketSkillListResponse.h:79
エラー
Definition: CachePacketSkillListResponse.h:36
u32 SkillId3
スキルID3
Definition: CachePacketSkillListResponse.h:46
スキルリストレスポンスパケット
Definition: CachePacketSkillListResponse.h:19
Definition: ProcessPacketBase.h:10