GameServer
PacketInstanceAreaTicketProcess.h
[詳解]
1 
7 #ifndef __PACKETINSTANCEAREATICKETPROCESS_H__
8 #define __PACKETINSTANCEAREATICKETPROCESS_H__
9 
10 #include "PacketBase.h"
12 #include "PacketID.h"
13 
14 
19 {
20 
21 public:
22 
29 
31  {
36  };
37 
42 
43 
48  {
49  }
50 
54  PacketInstanceAreaTicketProcess(u32 InTicketId, u8 InProcess)
55  {
56  TicketId = InTicketId;
57  Process = InProcess;
58 
59  }
60 
61 
69  {
70  pStream->Serialize(&TicketId);
71  pStream->Serialize(&Process);
72 
73  return true;
74  }
75 };
76 
77 #endif // #ifndef __PACKETINSTANCEAREATICKETPROCESS_H__
ProcessType
Definition: PacketInstanceAreaTicketProcess.h:30
unsigned char u8
Definition: TypeDefs.h:6
インスタンスマップチケット処理パケット
Definition: PacketID.h:69
virtual bool Serialize(s32 *pValue)=0
インスタンスマップチケット処理パケット
Definition: PacketInstanceAreaTicketProcess.h:18
PacketInstanceAreaTicketProcess(u32 InTicketId, u8 InProcess)
コンストラクタ
Definition: PacketInstanceAreaTicketProcess.h:54
unsigned int u32
Definition: TypeDefs.h:10
u32 TicketId
チケットID
Definition: PacketInstanceAreaTicketProcess.h:39
破棄
Definition: PacketInstanceAreaTicketProcess.h:35
u8 Process
処理内容
Definition: PacketInstanceAreaTicketProcess.h:41
PacketInstanceAreaTicketProcess()
コンストラクタ
Definition: PacketInstanceAreaTicketProcess.h:47
bool Serialize(MemoryStreamInterface *pStream)
シリアライズ
Definition: PacketInstanceAreaTicketProcess.h:68
Definition: PacketBase.h:9
入る
Definition: PacketInstanceAreaTicketProcess.h:33
Definition: MemoryStreamInterface.h:8
virtual u8 GetPacketID() const
パケットID取得.
Definition: PacketInstanceAreaTicketProcess.h:28