GameServer
PacketSkillTreeOpenResult.h
[詳解]
1 
7 #ifndef __PACKETSKILLTREEOPENRESULT_H__
8 #define __PACKETSKILLTREEOPENRESULT_H__
9 
10 #include "PacketBase.h"
12 #include "PacketID.h"
13 
14 
19 {
20 
21 public:
22 
28  virtual u8 GetPacketID() const { return PacketID::SkillTreeOpenResult; }
29 
31  {
44  };
45 
50 
51 
56  {
57  }
58 
62  PacketSkillTreeOpenResult(u8 InResult, u32 InNodeId)
63  {
64  Result = InResult;
65  NodeId = InNodeId;
66 
67  }
68 
69 
77  {
78  pStream->Serialize(&Result);
79  pStream->Serialize(&NodeId);
80 
81  return true;
82  }
83 };
84 
85 #endif // #ifndef __PACKETSKILLTREEOPENRESULT_H__
PacketSkillTreeOpenResult(u8 InResult, u32 InNodeId)
コンストラクタ
Definition: PacketSkillTreeOpenResult.h:62
unsigned char u8
Definition: TypeDefs.h:6
u32 NodeId
ノードID
Definition: PacketSkillTreeOpenResult.h:49
スキルツリー開放結果パケット
Definition: PacketID.h:215
bool Serialize(MemoryStreamInterface *pStream)
シリアライズ
Definition: PacketSkillTreeOpenResult.h:76
ゴールドが足りない
Definition: PacketSkillTreeOpenResult.h:35
virtual u8 GetPacketID() const
パケットID取得.
Definition: PacketSkillTreeOpenResult.h:28
親が開かれていない
Definition: PacketSkillTreeOpenResult.h:37
virtual bool Serialize(s32 *pValue)=0
ResultCode
Definition: PacketSkillTreeOpenResult.h:30
成功
Definition: PacketSkillTreeOpenResult.h:33
unsigned int u32
Definition: TypeDefs.h:10
レベルが足りない
Definition: PacketSkillTreeOpenResult.h:39
エラー
Definition: PacketSkillTreeOpenResult.h:43
既に開かれている
Definition: PacketSkillTreeOpenResult.h:41
PacketSkillTreeOpenResult()
コンストラクタ
Definition: PacketSkillTreeOpenResult.h:55
u8 Result
結果
Definition: PacketSkillTreeOpenResult.h:47
スキルツリー開放結果パケット
Definition: PacketSkillTreeOpenResult.h:18
Definition: PacketBase.h:9
Definition: MemoryStreamInterface.h:8