GameServer
CachePacketSkillTreeRequest.h
[詳解]
1 
7 #ifndef __CACHEPACKETSKILLTREEREQUEST_H__
8 #define __CACHEPACKETSKILLTREEREQUEST_H__
9 
10 #include "PacketBase.h"
12 #include "ProcessPacketBase.h"
13 #include "CacheServerPacketID.h"
14 
15 
20 {
21 
22 public:
23 
30 
31 
32 
35 
36 
41  {
42  }
43 
47  CachePacketSkillTreeRequest(u32 InClientId, u32 InCharacterId)
48  {
49  ClientId = InClientId;
50  CharacterId = InCharacterId;
51 
52  }
53 
54 
62  {
64  pStream->Serialize(&CharacterId);
65 
66  return true;
67  }
68 };
69 
70 #endif // #ifndef __CACHEPACKETSKILLTREEREQUEST_H__
virtual u8 GetPacketID() const
パケットID取得.
Definition: CachePacketSkillTreeRequest.h:29
unsigned char u8
Definition: TypeDefs.h:6
スキルツリーリクエストパケット
Definition: CacheServerPacketID.h:51
u32 ClientId
Definition: ProcessPacketBase.h:19
CachePacketSkillTreeRequest(u32 InClientId, u32 InCharacterId)
コンストラクタ
Definition: CachePacketSkillTreeRequest.h:47
スキルツリーリクエストパケット
Definition: CachePacketSkillTreeRequest.h:19
virtual bool Serialize(s32 *pValue)=0
bool Serialize(MemoryStreamInterface *pStream)
シリアライズ
Definition: CachePacketSkillTreeRequest.h:61
unsigned int u32
Definition: TypeDefs.h:10
CachePacketSkillTreeRequest()
コンストラクタ
Definition: CachePacketSkillTreeRequest.h:40
virtual bool Serialize(MemoryStreamInterface *pStream)
Definition: ProcessPacketBase.h:22
Definition: MemoryStreamInterface.h:8
u32 CharacterId
キャラクタID
Definition: CachePacketSkillTreeRequest.h:34
Definition: ProcessPacketBase.h:10