GameServer
PacketSkillUseFailed.h
[詳解]
1 
7 #ifndef __PACKETSKILLUSEFAILED_H__
8 #define __PACKETSKILLUSEFAILED_H__
9 
10 #include "PacketBase.h"
12 #include "PacketID.h"
13 
14 
19 {
20 
21 public:
22 
28  virtual u8 GetPacketID() const { return PacketID::SkillUseFailed; }
29 
31  {
42  };
43 
46 
47 
52  {
53  }
54 
59  {
60  Reason = InReason;
61 
62  }
63 
64 
72  {
73  pStream->Serialize(&Reason);
74 
75  return true;
76  }
77 };
78 
79 #endif // #ifndef __PACKETSKILLUSEFAILED_H__
キャンセル
Definition: PacketSkillUseFailed.h:39
ReasonType
Definition: PacketSkillUseFailed.h:30
unsigned char u8
Definition: TypeDefs.h:6
bool Serialize(MemoryStreamInterface *pStream)
シリアライズ
Definition: PacketSkillUseFailed.h:71
無効なスキル
Definition: PacketSkillUseFailed.h:35
PacketSkillUseFailed(u8 InReason)
コンストラクタ
Definition: PacketSkillUseFailed.h:58
virtual bool Serialize(s32 *pValue)=0
u8 Reason
失敗理由
Definition: PacketSkillUseFailed.h:45
スキル使用失敗パケット
Definition: PacketSkillUseFailed.h:18
リキャスト中
Definition: PacketSkillUseFailed.h:33
virtual u8 GetPacketID() const
パケットID取得.
Definition: PacketSkillUseFailed.h:28
PacketSkillUseFailed()
コンストラクタ
Definition: PacketSkillUseFailed.h:51
麻痺
Definition: PacketSkillUseFailed.h:37
Definition: PacketBase.h:9
ターゲット消失
Definition: PacketSkillUseFailed.h:41
スキル使用失敗パケット
Definition: PacketID.h:195
Definition: MemoryStreamInterface.h:8