Quantcast

Cache all equipped items in OvaleEquipement.

Author Johnny C. Lam <jlam88@gmail.com>
Author date 2013-03-09 05:13:08
Author local date 2013-03-09 05:13:08 +0000
Committer Johnny C. Lam <jlam88@gmail.com>
Committer date 2013-03-09 05:13:08
Committer local date 2013-03-09 05:13:08 +0000
Commit c6597a46f3841f10c08f926612725b824fa5a461
Tree fa89694e473c01f1b188c1ecb0a8a28bfec9fdb0
Parent 411997ebecc6e433f2562e245ba9e443f84da073
Cache all equipped items in OvaleEquipement.

Also add helper methods to OvaleEquipement to aid in common queries from
OvaleConditions, e.g., HasShield(), HasTrinket(id), etc., that find the
answers from the cached equipment.  This increases the efficiency of Ovale
scripts at run-time.

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@738 d5049fe3-3747-40f7-a4b5-f36d6801af5f