GameServer
PacketPartyInviteResponse.h
[詳解]
1 
7 #ifndef __PACKETPARTYINVITERESPONSE_H__
8 #define __PACKETPARTYINVITERESPONSE_H__
9 
10 #include "PacketBase.h"
12 #include "PacketID.h"
13 
14 
19 {
20 
21 public:
22 
28  virtual u8 GetPacketID() const { return PacketID::PartyInviteResponse; }
29 
31  {
36  };
37 
42 
43 
48  {
49  }
50 
54  PacketPartyInviteResponse(u32 InCustomerId, u8 InResponse)
55  {
56  CustomerId = InCustomerId;
57  Response = InResponse;
58 
59  }
60 
61 
69  {
70  pStream->Serialize(&CustomerId);
71  pStream->Serialize(&Response);
72 
73  return true;
74  }
75 };
76 
77 #endif // #ifndef __PACKETPARTYINVITERESPONSE_H__
unsigned char u8
Definition: TypeDefs.h:6
パーティ勧誘レスポンスパケット
Definition: PacketID.h:127
virtual bool Serialize(s32 *pValue)=0
bool Serialize(MemoryStreamInterface *pStream)
シリアライズ
Definition: PacketPartyInviteResponse.h:68
Definition: PacketPartyInviteResponse.h:33
u32 CustomerId
Definition: PacketPartyInviteResponse.h:39
PacketPartyInviteResponse()
コンストラクタ
Definition: PacketPartyInviteResponse.h:47
unsigned int u32
Definition: TypeDefs.h:10
u8 Response
Definition: PacketPartyInviteResponse.h:41
virtual u8 GetPacketID() const
パケットID取得.
Definition: PacketPartyInviteResponse.h:28
Definition: PacketPartyInviteResponse.h:35
Definition: PacketBase.h:9
パーティ勧誘レスポンスパケット
Definition: PacketPartyInviteResponse.h:18
Definition: MemoryStreamInterface.h:8
PacketPartyInviteResponse(u32 InCustomerId, u8 InResponse)
コンストラクタ
Definition: PacketPartyInviteResponse.h:54
ResponseCode
Definition: PacketPartyInviteResponse.h:30