Core/Entities: Use ObjectGuid class in game project
This commit is contained in:
1 parent
ce67a097bf
commit
a0e50ea35f
256 files changed
+3334
-3833
No files matched your search
@@ -21,7 +21,7 @@ namespace lfg
|
||||
{
|
||||
|
||||
LfgPlayerData::LfgPlayerData(): m_State(LFG_STATE_NONE), m_OldState(LFG_STATE_NONE),
|
||||
m_Team(0), m_Group(0), m_Roles(0), m_Comment("")
|
||||
m_Team(0), m_Group(), m_Roles(0), m_Comment("")
|
||||
{ }
|
||||
|
||||
LfgPlayerData::~LfgPlayerData() { }
|
||||
@@ -59,7 +59,7 @@ void LfgPlayerData::SetTeam(uint8 team)
|
||||
m_Team = team;
|
||||
}
|
||||
|
||||
void LfgPlayerData::SetGroup(uint64 group)
|
||||
void LfgPlayerData::SetGroup(ObjectGuid group)
|
||||
{
|
||||
m_Group = group;
|
||||
}
|
||||
@@ -94,7 +94,7 @@ uint8 LfgPlayerData::GetTeam() const
|
||||
return m_Team;
|
||||
}
|
||||
|
||||
uint64 LfgPlayerData::GetGroup() const
|
||||
ObjectGuid LfgPlayerData::GetGroup() const
|
||||
{
|
||||
return m_Group;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user