Core/WorldStates: Migrate battleground worldstates to new system
Port From (https://github.com/TrinityCore/TrinityCore/commit/5dbfaecd5c020fd4c3b3dfc235580849c39ce7db)
This commit is contained in:
@@ -75,12 +75,6 @@ namespace Game.Arenas
|
||||
}
|
||||
}
|
||||
|
||||
public override void FillInitialWorldStates(InitWorldStates packet)
|
||||
{
|
||||
packet.AddState(0x9f3, 1);
|
||||
base.FillInitialWorldStates(packet);
|
||||
}
|
||||
|
||||
public override bool SetupBattleground()
|
||||
{
|
||||
bool result = true;
|
||||
|
||||
@@ -84,12 +84,6 @@ namespace Game.Arenas
|
||||
}
|
||||
}
|
||||
|
||||
public override void FillInitialWorldStates(InitWorldStates packet)
|
||||
{
|
||||
packet.AddState(3610, 1);
|
||||
base.FillInitialWorldStates(packet);
|
||||
}
|
||||
|
||||
public override bool SetupBattleground()
|
||||
{
|
||||
bool result = true;
|
||||
|
||||
@@ -72,12 +72,6 @@ namespace Game.Arenas
|
||||
}
|
||||
}
|
||||
|
||||
public override void FillInitialWorldStates(InitWorldStates packet)
|
||||
{
|
||||
packet.AddState(0xa11, 1);
|
||||
base.FillInitialWorldStates(packet);
|
||||
}
|
||||
|
||||
public override bool SetupBattleground()
|
||||
{
|
||||
bool result = true;
|
||||
|
||||
@@ -121,12 +121,6 @@ namespace Game.Arenas
|
||||
}
|
||||
}
|
||||
|
||||
public override void FillInitialWorldStates(InitWorldStates packet)
|
||||
{
|
||||
packet.AddState(0xe1a, 1);
|
||||
base.FillInitialWorldStates(packet);
|
||||
}
|
||||
|
||||
public override void PostUpdateImpl(uint diff)
|
||||
{
|
||||
if (GetStatus() != BattlegroundStatus.InProgress)
|
||||
|
||||
@@ -93,12 +93,6 @@ namespace Game.Arenas
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
public override void FillInitialWorldStates(InitWorldStates packet)
|
||||
{
|
||||
packet.AddState(0xbba, 1);
|
||||
base.FillInitialWorldStates(packet);
|
||||
}
|
||||
}
|
||||
|
||||
struct RuinsofLordaeronObjectTypes
|
||||
|
||||
Reference in New Issue
Block a user