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