GameServer
PacketSaveSkillListRequest.h
[詳解]
1 
7 #ifndef __PACKETSAVESKILLLISTREQUEST_H__
8 #define __PACKETSAVESKILLLISTREQUEST_H__
9 
10 #include "PacketBase.h"
12 #include "PacketID.h"
13 
14 
19 {
20 
21 public:
22 
28  virtual u8 GetPacketID() const { return PacketID::SaveSkillListRequest; }
29 
30 
31 
40 
41 
46  {
47  }
48 
52  PacketSaveSkillListRequest(u32 InSkillId1, u32 InSkillId2, u32 InSkillId3, u32 InSkillId4)
53  {
54  SkillId1 = InSkillId1;
55  SkillId2 = InSkillId2;
56  SkillId3 = InSkillId3;
57  SkillId4 = InSkillId4;
58 
59  }
60 
61 
69  {
70  pStream->Serialize(&SkillId1);
71  pStream->Serialize(&SkillId2);
72  pStream->Serialize(&SkillId3);
73  pStream->Serialize(&SkillId4);
74 
75  return true;
76  }
77 };
78 
79 #endif // #ifndef __PACKETSAVESKILLLISTREQUEST_H__
スキルリスト保存リクエストパケット
Definition: PacketID.h:207
u32 SkillId4
スキルID4
Definition: PacketSaveSkillListRequest.h:39
unsigned char u8
Definition: TypeDefs.h:6
u32 SkillId1
スキルID1
Definition: PacketSaveSkillListRequest.h:33
virtual bool Serialize(s32 *pValue)=0
スキルリスト保存リクエストパケット
Definition: PacketSaveSkillListRequest.h:18
unsigned int u32
Definition: TypeDefs.h:10
bool Serialize(MemoryStreamInterface *pStream)
シリアライズ
Definition: PacketSaveSkillListRequest.h:68
PacketSaveSkillListRequest(u32 InSkillId1, u32 InSkillId2, u32 InSkillId3, u32 InSkillId4)
コンストラクタ
Definition: PacketSaveSkillListRequest.h:52
u32 SkillId2
スキルID2
Definition: PacketSaveSkillListRequest.h:35
Definition: PacketBase.h:9
PacketSaveSkillListRequest()
コンストラクタ
Definition: PacketSaveSkillListRequest.h:45
Definition: MemoryStreamInterface.h:8
u32 SkillId3
スキルID3
Definition: PacketSaveSkillListRequest.h:37
virtual u8 GetPacketID() const
パケットID取得.
Definition: PacketSaveSkillListRequest.h:28