GameServer
PartyMemberData.h
[詳解]
1 
7 #ifndef __PARTYMEMBERDATA_H__
8 #define __PARTYMEMBERDATA_H__
9 
10 #include "PacketBase.h"
12 
13 
18 {
19 
20 public:
21 
31  u32 Uuid;
34  std::string CharacterName;
35 
36 
41  {
42  }
43 
47  PartyMemberData(u32 InUuid, std::string InCharacterName)
48  {
49  Uuid = InUuid;
50  CharacterName = InCharacterName;
51 
52  }
53 
54 
62  {
63  pStream->Serialize(&Uuid);
64  pStream->Serialize(&CharacterName);
65 
66  return true;
67  }
68 };
69 
70 #endif // #ifndef __PARTYMEMBERDATA_H__
virtual bool Serialize(s32 *pValue)=0
std::string CharacterName
キャラクタ名
Definition: PartyMemberData.h:34
PartyMemberData(u32 InUuid, std::string InCharacterName)
コンストラクタ
Definition: PartyMemberData.h:47
PartyMemberData()
コンストラクタ
Definition: PartyMemberData.h:40
unsigned int u32
Definition: TypeDefs.h:10
bool Serialize(MemoryStreamInterface *pStream)
シリアライズ
Definition: PartyMemberData.h:61
Definition: MemoryStreamInterface.h:8
u32 Uuid
UUID
Definition: PartyMemberData.h:32
パーティメンバ情報パケット
Definition: PartyMemberData.h:17