Quantcast

Better encapsulation of OvaleEquipement module.

Author Johnny C. Lam <jlam88@gmail.com>
Author date 2013-02-22 09:21:24
Author local date 2013-02-22 09:21:24 +0000
Committer Johnny C. Lam <jlam88@gmail.com>
Committer date 2013-02-22 09:21:24
Committer local date 2013-02-22 09:21:24 +0000
Commit 033d3e42460e764b14da1fc56d673e66cdd07642
Tree 3ddd8667ec7be497c39ea24052a1640381758333
Parent 3bb0c71c2bbf3540d122954e91b32700f32415cb
Better encapsulation of OvaleEquipement module.

Only refresh snapshot of equipped items when PLAYER_EQUIPMENT_CHANGED
fires instead of when UNIT_INVENTORY_CHANGED fires.  The latter event
fires every time an item is added or removed from a player's bags, which
can cause unnecessary script compilations.

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