Quantcast

Cache active glyphs in OvaleData and update on GLYPH_* events.

Author Johnny C. Lam <jlam88@gmail.com>
Author date 2013-03-02 17:57:25
Author local date 2013-03-02 17:57:25 +0000
Committer Johnny C. Lam <jlam88@gmail.com>
Committer date 2013-03-02 17:57:25
Committer local date 2013-03-02 17:57:25 +0000
Commit aaa9f98a52c95a27b9d0dc73d2b53ec8368c0d7c
Tree 18aa3006dc4558a080554fc07e2aac097cafeb1b
Parent 64ff9f300e0b9e93db5e31c368ab9a4a48a98288
Cache active glyphs in OvaleData and update on GLYPH_* events.

This change causes the OvaleData module to update the active glyph cache
on GLYPH_* events.

All modules now reference the OvaleData.glyphs table instead of looping
through all of the glyph sockets and querying their contents each time we
need to find out if a particular glyph is active.

This is an efficiency boost for scripts.

Also fix "/ovale glyph" to output the currently active glyphs.

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