Core/Transmog: Implemented Transmog Illusions + Spelleffect to unlock them
Port From (https://github.com/TrinityCore/TrinityCore/commit/125ada42f6be220a52315d06d61e472a2ba83395)
This commit is contained in:
@@ -798,6 +798,7 @@ namespace Game
|
||||
_collectionMgr.LoadAccountHeirlooms(holder.GetResult(AccountInfoQueryLoad.GlobalAccountHeirlooms));
|
||||
_collectionMgr.LoadAccountMounts(holder.GetResult(AccountInfoQueryLoad.Mounts));
|
||||
_collectionMgr.LoadAccountItemAppearances(holder.GetResult(AccountInfoQueryLoad.ItemAppearances), holder.GetResult(AccountInfoQueryLoad.ItemFavoriteAppearances));
|
||||
_collectionMgr.LoadAccountTransmogIllusions(holder.GetResult(AccountInfoQueryLoad.TransmogIllusions));
|
||||
|
||||
if (!m_inQueue)
|
||||
SendAuthResponse(BattlenetRpcErrorCode.Ok, false);
|
||||
@@ -1164,6 +1165,10 @@ namespace Game
|
||||
stmt = DB.Login.GetPreparedStatement(LoginStatements.SEL_BNET_ITEM_FAVORITE_APPEARANCES);
|
||||
stmt.AddValue(0, battlenetAccountId);
|
||||
SetQuery(AccountInfoQueryLoad.ItemFavoriteAppearances, stmt);
|
||||
|
||||
stmt = DB.Login.GetPreparedStatement(LoginStatements.SEL_BNET_TRANSMOG_ILLUSIONS);
|
||||
stmt.AddValue(0, battlenetAccountId);
|
||||
SetQuery(AccountInfoQueryLoad.TransmogIllusions, stmt);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1178,6 +1183,7 @@ namespace Game
|
||||
ItemAppearances,
|
||||
ItemFavoriteAppearances,
|
||||
GlobalAccountDataIndexPerRealm,
|
||||
TutorialsIndexPerRealm
|
||||
TutorialsIndexPerRealm,
|
||||
TransmogIllusions,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user