GameServer
PacketPartyInviteRequest.h
[詳解]
1 
7 #ifndef __PACKETPARTYINVITEREQUEST_H__
8 #define __PACKETPARTYINVITEREQUEST_H__
9 
10 #include "PacketBase.h"
12 #include "PacketID.h"
13 
14 
19 {
20 
21 public:
22 
28  virtual u8 GetPacketID() const { return PacketID::PartyInviteRequest; }
29 
30 
31 
34 
35 
40  {
41  }
42 
47  {
48  TargetUuid = InTargetUuid;
49 
50  }
51 
52 
60  {
61  pStream->Serialize(&TargetUuid);
62 
63  return true;
64  }
65 };
66 
67 #endif // #ifndef __PACKETPARTYINVITEREQUEST_H__
unsigned char u8
Definition: TypeDefs.h:6
virtual u8 GetPacketID() const
パケットID取得.
Definition: PacketPartyInviteRequest.h:28
bool Serialize(MemoryStreamInterface *pStream)
シリアライズ
Definition: PacketPartyInviteRequest.h:59
virtual bool Serialize(s32 *pValue)=0
unsigned int u32
Definition: TypeDefs.h:10
u32 TargetUuid
Definition: PacketPartyInviteRequest.h:33
PacketPartyInviteRequest(u32 InTargetUuid)
コンストラクタ
Definition: PacketPartyInviteRequest.h:46
PacketPartyInviteRequest()
コンストラクタ
Definition: PacketPartyInviteRequest.h:39
パーティ勧誘リクエストパケット
Definition: PacketID.h:123
パーティ勧誘リクエストパケット
Definition: PacketPartyInviteRequest.h:18
Definition: PacketBase.h:9
Definition: MemoryStreamInterface.h:8