GameServer
PacketSkillRecast.h
[詳解]
1 
7 #ifndef __PACKETSKILLRECAST_H__
8 #define __PACKETSKILLRECAST_H__
9 
10 #include "PacketBase.h"
12 #include "PacketID.h"
13 
14 
19 {
20 
21 public:
22 
28  virtual u8 GetPacketID() const { return PacketID::SkillRecast; }
29 
30 
31 
34 
35 
40  {
41  }
42 
47  {
48  SkillId = InSkillId;
49 
50  }
51 
52 
60  {
61  pStream->Serialize(&SkillId);
62 
63  return true;
64  }
65 };
66 
67 #endif // #ifndef __PACKETSKILLRECAST_H__
unsigned char u8
Definition: TypeDefs.h:6
PacketSkillRecast()
コンストラクタ
Definition: PacketSkillRecast.h:39
u32 SkillId
スキルID
Definition: PacketSkillRecast.h:33
PacketSkillRecast(u32 InSkillId)
コンストラクタ
Definition: PacketSkillRecast.h:46
virtual bool Serialize(s32 *pValue)=0
unsigned int u32
Definition: TypeDefs.h:10
Definition: PacketBase.h:9
リキャスト完了パケット
Definition: PacketSkillRecast.h:18
bool Serialize(MemoryStreamInterface *pStream)
シリアライズ
Definition: PacketSkillRecast.h:59
Definition: MemoryStreamInterface.h:8
リキャスト完了パケット
Definition: PacketID.h:203
virtual u8 GetPacketID() const
パケットID取得.
Definition: PacketSkillRecast.h:28