comparison AskMrRobot-Serializer/AskMrRobot-Serializer.lua @ 137:6dc0e8e9f960 v64

uldir for auto-logging
author yellowfive
date Mon, 03 Sep 2018 19:19:38 -0700
parents 57be71eccc0a
children c229c759a125
comparison
equal deleted inserted replaced
136:5f3dde81a118 137:6dc0e8e9f960
1 -- AskMrRobot-Serializer will serialize and communicate character data between users. 1 -- AskMrRobot-Serializer will serialize and communicate character data between users.
2 2
3 local MAJOR, MINOR = "AskMrRobot-Serializer", 63 3 local MAJOR, MINOR = "AskMrRobot-Serializer", 64
4 local Amr, oldminor = LibStub:NewLibrary(MAJOR, MINOR) 4 local Amr, oldminor = LibStub:NewLibrary(MAJOR, MINOR)
5 5
6 if not Amr then return end -- already loaded by something else 6 if not Amr then return end -- already loaded by something else
7 7
8 -- event and comm used for player snapshotting on entering combat 8 -- event and comm used for player snapshotting on entering combat
150 ["Alliance"] = 1, 150 ["Alliance"] = 1,
151 ["Horde"] = 2 151 ["Horde"] = 2
152 } 152 }
153 153
154 Amr.InstanceIds = { 154 Amr.InstanceIds = {
155 EmeraldNightmare = 1520, 155 Uldir = 1861
156 Nighthold = 1530,
157 TrialOfValor = 1648,
158 TombOfSargeras = 1676,
159 Antorus = 1712
160 } 156 }
161 157
162 -- instances that AskMrRobot currently supports logging for 158 -- instances that AskMrRobot currently supports logging for
163 Amr.SupportedInstanceIds = { 159 Amr.SupportedInstanceIds = {
164 [1520] = true, 160 [1861] = true
165 [1530] = true,
166 [1648] = true,
167 [1676] = true,
168 [1712] = true
169 } 161 }
170 162
171 163
172 ---------------------------------------------------------------------------------------- 164 ----------------------------------------------------------------------------------------
173 -- Public Utility Methods 165 -- Public Utility Methods