Core/Maps: Implemented loading swapped maps
This commit is contained in:
1 parent
c41536080c
commit
b9d0ab6ed8
13 files changed
+184
-74
No files matched your search
@@ -29,6 +29,8 @@
|
||||
|
||||
namespace
|
||||
{
|
||||
PhaseShift const Empty;
|
||||
|
||||
inline PhaseFlags GetPhaseFlags(uint32 phaseId)
|
||||
{
|
||||
if (PhaseEntry const* phase = sPhaseStore.LookupEntry(phaseId))
|
||||
@@ -444,6 +446,11 @@ void PhasingHandler::FillPartyMemberPhase(WorldPacket* data, PhaseShift const& p
|
||||
*data << uint16(itr->Id);
|
||||
}
|
||||
|
||||
PhaseShift const& PhasingHandler::GetEmptyPhaseShift()
|
||||
{
|
||||
return Empty;
|
||||
}
|
||||
|
||||
void PhasingHandler::InitDbPhaseShift(PhaseShift& phaseShift, uint8 phaseUseFlags, uint16 phaseId, uint32 phaseGroupId)
|
||||
{
|
||||
phaseShift.ClearPhases();
|
||||
|
||||
Reference in new issue
Block a user