Some refactoring of code. and some cleanups

This commit is contained in:
hondacrx
2019-09-21 12:11:16 -04:00
parent 7c405230cc
commit 35c06c09fd
214 changed files with 1235 additions and 1341 deletions
+2 -2
View File
@@ -120,7 +120,7 @@ namespace Game
[WorldPacketHandler(ClientOpcodes.DfGetJoinStatus, Processing = PacketProcessing.ThreadSafe)]
void HandleDfGetJoinStatus(DFGetJoinStatus packet)
{
if (!GetPlayer().isUsingLfg())
if (!GetPlayer().IsUsingLfg())
return;
ObjectGuid guid = GetPlayer().GetGUID();
@@ -143,7 +143,7 @@ namespace Game
public void SendLfgPlayerLockInfo()
{
// Get Random dungeons that can be done at a certain level and expansion
uint level = GetPlayer().getLevel();
uint level = GetPlayer().GetLevel();
List<uint> randomDungeons = Global.LFGMgr.GetRandomAndSeasonalDungeons(level, (uint)GetExpansion());
LfgPlayerInfo lfgPlayerInfo = new LfgPlayerInfo();