GameServer
CachePacketCreateCharacterResult.h
[詳解]
1 
7 #ifndef __CACHEPACKETCREATECHARACTERRESULT_H__
8 #define __CACHEPACKETCREATECHARACTERRESULT_H__
9 
10 #include "PacketBase.h"
12 #include "ProcessPacketBase.h"
13 #include "CacheServerPacketID.h"
14 
15 
20 {
21 
22 public:
23 
30 
32  {
37  };
38 
41 
42 
47  {
48  }
49 
53  CachePacketCreateCharacterResult(u32 InClientId, u8 InResult)
54  {
55  ClientId = InClientId;
56  Result = InResult;
57 
58  }
59 
60 
68  {
70  pStream->Serialize(&Result);
71 
72  return true;
73  }
74 };
75 
76 #endif // #ifndef __CACHEPACKETCREATECHARACTERRESULT_H__
unsigned char u8
Definition: TypeDefs.h:6
u32 ClientId
Definition: ProcessPacketBase.h:19
ResultCode
Definition: CachePacketCreateCharacterResult.h:31
キャラクタ作成結果パケット
Definition: CacheServerPacketID.h:31
virtual bool Serialize(s32 *pValue)=0
u8 Result
結果
Definition: CachePacketCreateCharacterResult.h:40
virtual u8 GetPacketID() const
パケットID取得.
Definition: CachePacketCreateCharacterResult.h:29
キャラクタ作成結果パケット
Definition: CachePacketCreateCharacterResult.h:19
CachePacketCreateCharacterResult()
コンストラクタ
Definition: CachePacketCreateCharacterResult.h:46
unsigned int u32
Definition: TypeDefs.h:10
成功
Definition: CachePacketCreateCharacterResult.h:34
CachePacketCreateCharacterResult(u32 InClientId, u8 InResult)
コンストラクタ
Definition: CachePacketCreateCharacterResult.h:53
virtual bool Serialize(MemoryStreamInterface *pStream)
Definition: ProcessPacketBase.h:22
bool Serialize(MemoryStreamInterface *pStream)
シリアライズ
Definition: CachePacketCreateCharacterResult.h:67
Definition: MemoryStreamInterface.h:8
エラー
Definition: CachePacketCreateCharacterResult.h:36
Definition: ProcessPacketBase.h:10