GameServer
CachePacketSaveSkillListRequest.h
[詳解]
1 
7 #ifndef __CACHEPACKETSAVESKILLLISTREQUEST_H__
8 #define __CACHEPACKETSAVESKILLLISTREQUEST_H__
9 
10 #include "PacketBase.h"
12 #include "ProcessPacketBase.h"
13 #include "CacheServerPacketID.h"
14 
15 
20 {
21 
22 public:
23 
30 
31 
32 
43 
44 
49  {
50  }
51 
55  CachePacketSaveSkillListRequest(u32 InClientId, u32 InCharacterId, u32 InSkillId1, u32 InSkillId2, u32 InSkillId3, u32 InSkillId4)
56  {
57  ClientId = InClientId;
58  CharacterId = InCharacterId;
59  SkillId1 = InSkillId1;
60  SkillId2 = InSkillId2;
61  SkillId3 = InSkillId3;
62  SkillId4 = InSkillId4;
63 
64  }
65 
66 
74  {
76  pStream->Serialize(&CharacterId);
77  pStream->Serialize(&SkillId1);
78  pStream->Serialize(&SkillId2);
79  pStream->Serialize(&SkillId3);
80  pStream->Serialize(&SkillId4);
81 
82  return true;
83  }
84 };
85 
86 #endif // #ifndef __CACHEPACKETSAVESKILLLISTREQUEST_H__
unsigned char u8
Definition: TypeDefs.h:6
CachePacketSaveSkillListRequest()
コンストラクタ
Definition: CachePacketSaveSkillListRequest.h:48
u32 ClientId
Definition: ProcessPacketBase.h:19
virtual bool Serialize(s32 *pValue)=0
CachePacketSaveSkillListRequest(u32 InClientId, u32 InCharacterId, u32 InSkillId1, u32 InSkillId2, u32 InSkillId3, u32 InSkillId4)
コンストラクタ
Definition: CachePacketSaveSkillListRequest.h:55
u32 SkillId4
スキルID4
Definition: CachePacketSaveSkillListRequest.h:42
unsigned int u32
Definition: TypeDefs.h:10
virtual u8 GetPacketID() const
パケットID取得.
Definition: CachePacketSaveSkillListRequest.h:29
u32 SkillId1
スキルID1
Definition: CachePacketSaveSkillListRequest.h:36
virtual bool Serialize(MemoryStreamInterface *pStream)
Definition: ProcessPacketBase.h:22
スキルリスト保存リクエストパケット
Definition: CacheServerPacketID.h:47
u32 CharacterId
キャラクタID
Definition: CachePacketSaveSkillListRequest.h:34
Definition: MemoryStreamInterface.h:8
スキルリスト保存リクエストパケット
Definition: CachePacketSaveSkillListRequest.h:19
bool Serialize(MemoryStreamInterface *pStream)
シリアライズ
Definition: CachePacketSaveSkillListRequest.h:73
u32 SkillId2
スキルID2
Definition: CachePacketSaveSkillListRequest.h:38
Definition: ProcessPacketBase.h:10
u32 SkillId3
スキルID3
Definition: CachePacketSaveSkillListRequest.h:40