GameServer
CachePacketLogInResult.h
[詳解]
1 
7 #ifndef __CACHEPACKETLOGINRESULT_H__
8 #define __CACHEPACKETLOGINRESULT_H__
9 
10 #include "PacketBase.h"
12 #include "ProcessPacketBase.h"
13 #include "CacheServerPacketID.h"
14 
15 
20 {
21 
22 public:
23 
29  virtual u8 GetPacketID() const { return CachePacketID::CacheLogInResult; }
30 
32  {
41  };
42 
47 
48 
53  {
54  }
55 
59  CachePacketLogInResult(u32 InClientId, u8 InResult, s32 InCustomerId)
60  {
61  ClientId = InClientId;
62  Result = InResult;
63  CustomerId = InCustomerId;
64 
65  }
66 
67 
75  {
77  pStream->Serialize(&Result);
78  pStream->Serialize(&CustomerId);
79 
80  return true;
81  }
82 };
83 
84 #endif // #ifndef __CACHEPACKETLOGINRESULT_H__
CachePacketLogInResult(u32 InClientId, u8 InResult, s32 InCustomerId)
コンストラクタ
Definition: CachePacketLogInResult.h:59
unsigned char u8
Definition: TypeDefs.h:6
キャラクタがいない
Definition: CachePacketLogInResult.h:36
成功
Definition: CachePacketLogInResult.h:34
CachePacketLogInResult()
コンストラクタ
Definition: CachePacketLogInResult.h:52
u32 ClientId
Definition: ProcessPacketBase.h:19
virtual bool Serialize(s32 *pValue)=0
ログインリクエスト結果パケット
Definition: CacheServerPacketID.h:27
bool Serialize(MemoryStreamInterface *pStream)
シリアライズ
Definition: CachePacketLogInResult.h:74
u8 Result
結果
Definition: CachePacketLogInResult.h:44
int s32
Definition: TypeDefs.h:9
unsigned int u32
Definition: TypeDefs.h:10
BANされている
Definition: CachePacketLogInResult.h:38
virtual bool Serialize(MemoryStreamInterface *pStream)
Definition: ProcessPacketBase.h:22
s32 CustomerId
カスタマID
Definition: CachePacketLogInResult.h:46
virtual u8 GetPacketID() const
パケットID取得.
Definition: CachePacketLogInResult.h:29
Definition: MemoryStreamInterface.h:8
エラー
Definition: CachePacketLogInResult.h:40
ResultCode
Definition: CachePacketLogInResult.h:31
ログインリクエスト結果パケット
Definition: CachePacketLogInResult.h:19
Definition: ProcessPacketBase.h:10