Core/Phasing: Implemented db spawns in personal phases (#26345)

Co-authored-by: Shauren <shauren.trinity@gmail.com>
This commit is contained in:
Matan Shukry
2021-12-28 14:24:10 +02:00
committed by GitHub
parent 1aad7f8ddd
commit 8fabe5a3aa
24 changed files with 574 additions and 81 deletions

View File

@@ -186,3 +186,11 @@ void PhaseShift::UpdatePersonalGuid()
if (!PersonalReferences)
PersonalGuid.Clear();
}
bool PhaseShift::HasPersonalPhase() const
{
for (PhaseRef const& phaseRef : GetPhases())
if (phaseRef.IsPersonal())
return true;
return false;
}