GameServer
PacketPartyCreateResult.h
[詳解]
1 
7 #ifndef __PACKETPARTYCREATERESULT_H__
8 #define __PACKETPARTYCREATERESULT_H__
9 
10 #include "PacketBase.h"
12 #include "PacketID.h"
13 
14 
19 {
20 
21 public:
22 
28  virtual u8 GetPacketID() const { return PacketID::PartyCreateResult; }
29 
31  {
38  };
39 
44 
45 
50  {
51  }
52 
56  PacketPartyCreateResult(u8 InResult, u32 InPartyId)
57  {
58  Result = InResult;
59  PartyId = InPartyId;
60 
61  }
62 
63 
71  {
72  pStream->Serialize(&Result);
73  pStream->Serialize(&PartyId);
74 
75  return true;
76  }
77 };
78 
79 #endif // #ifndef __PACKETPARTYCREATERESULT_H__
unsigned char u8
Definition: TypeDefs.h:6
パーティ作成結果パケット
Definition: PacketPartyCreateResult.h:18
パーティ作成結果パケット
Definition: PacketID.h:121
Definition: PacketPartyCreateResult.h:37
virtual bool Serialize(s32 *pValue)=0
PacketPartyCreateResult(u8 InResult, u32 InPartyId)
コンストラクタ
Definition: PacketPartyCreateResult.h:56
Definition: PacketPartyCreateResult.h:35
u32 PartyId
Definition: PacketPartyCreateResult.h:43
unsigned int u32
Definition: TypeDefs.h:10
virtual u8 GetPacketID() const
パケットID取得.
Definition: PacketPartyCreateResult.h:28
u8 Result
Definition: PacketPartyCreateResult.h:41
Definition: PacketBase.h:9
PacketPartyCreateResult()
コンストラクタ
Definition: PacketPartyCreateResult.h:49
ResultCode
Definition: PacketPartyCreateResult.h:30
Definition: MemoryStreamInterface.h:8
bool Serialize(MemoryStreamInterface *pStream)
シリアライズ
Definition: PacketPartyCreateResult.h:70
Definition: PacketPartyCreateResult.h:33