GameServer
CachePacketSaveSkillListResponse.h
[詳解]
1 
7 #ifndef __CACHEPACKETSAVESKILLLISTRESPONSE_H__
8 #define __CACHEPACKETSAVESKILLLISTRESPONSE_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  CachePacketSaveSkillListResponse(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 __CACHEPACKETSAVESKILLLISTRESPONSE_H__
CachePacketSaveSkillListResponse(u32 InClientId, u8 InResult, u32 InSkillId1, u32 InSkillId2, u32 InSkillId3, u32 InSkillId4)
コンストラクタ
Definition: CachePacketSaveSkillListResponse.h:61
unsigned char u8
Definition: TypeDefs.h:6
virtual u8 GetPacketID() const
パケットID取得.
Definition: CachePacketSaveSkillListResponse.h:29
成功
Definition: CachePacketSaveSkillListResponse.h:34
u32 SkillId2
スキルID2
Definition: CachePacketSaveSkillListResponse.h:44
bool Serialize(MemoryStreamInterface *pStream)
シリアライズ
Definition: CachePacketSaveSkillListResponse.h:79
スキルリスト保存レスポンスパケット
Definition: CacheServerPacketID.h:49
u32 ClientId
Definition: ProcessPacketBase.h:19
virtual bool Serialize(s32 *pValue)=0
u32 SkillId3
スキルID3
Definition: CachePacketSaveSkillListResponse.h:46
unsigned int u32
Definition: TypeDefs.h:10
u32 SkillId1
スキルID1
Definition: CachePacketSaveSkillListResponse.h:42
u32 SkillId4
スキルID4
Definition: CachePacketSaveSkillListResponse.h:48
u8 Result
結果
Definition: CachePacketSaveSkillListResponse.h:40
CachePacketSaveSkillListResponse()
コンストラクタ
Definition: CachePacketSaveSkillListResponse.h:54
virtual bool Serialize(MemoryStreamInterface *pStream)
Definition: ProcessPacketBase.h:22
エラー
Definition: CachePacketSaveSkillListResponse.h:36
Definition: MemoryStreamInterface.h:8
ResultCode
Definition: CachePacketSaveSkillListResponse.h:31
スキルリスト保存レスポンスパケット
Definition: CachePacketSaveSkillListResponse.h:19
Definition: ProcessPacketBase.h:10