GameServer
PacketSkillCastFinish.h
[詳解]
1 
7 #ifndef __PACKETSKILLCASTFINISH_H__
8 #define __PACKETSKILLCASTFINISH_H__
9 
10 #include "PacketBase.h"
12 #include "PacketID.h"
13 
14 
19 {
20 
21 public:
22 
28  virtual u8 GetPacketID() const { return PacketID::SkillCastFinish; }
29 
30 
31 
36 
37 
42  {
43  }
44 
48  PacketSkillCastFinish(u8 InCharacterType, u32 InCharacterUuid)
49  {
50  CharacterType = InCharacterType;
51  CharacterUuid = InCharacterUuid;
52 
53  }
54 
55 
63  {
64  pStream->Serialize(&CharacterType);
65  pStream->Serialize(&CharacterUuid);
66 
67  return true;
68  }
69 };
70 
71 #endif // #ifndef __PACKETSKILLCASTFINISH_H__
unsigned char u8
Definition: TypeDefs.h:6
bool Serialize(MemoryStreamInterface *pStream)
シリアライズ
Definition: PacketSkillCastFinish.h:62
u8 CharacterType
キャラクタタイプ
Definition: PacketSkillCastFinish.h:33
virtual u8 GetPacketID() const
パケットID取得.
Definition: PacketSkillCastFinish.h:28
virtual bool Serialize(s32 *pValue)=0
unsigned int u32
Definition: TypeDefs.h:10
スキル詠唱完了パケット
Definition: PacketID.h:199
キャラクタータイプパケット
Definition: CharacterType.h:17
Definition: PacketBase.h:9
PacketSkillCastFinish(u8 InCharacterType, u32 InCharacterUuid)
コンストラクタ
Definition: PacketSkillCastFinish.h:48
PacketSkillCastFinish()
コンストラクタ
Definition: PacketSkillCastFinish.h:41
スキル詠唱完了パケット
Definition: PacketSkillCastFinish.h:18
u32 CharacterUuid
キャラクタUUID
Definition: PacketSkillCastFinish.h:35
Definition: MemoryStreamInterface.h:8