Mercurial > wow > askmrrobot
comparison AskMrRobot-Serializer/AskMrRobot-Serializer.lua @ 153:31386c009f03 v72
dazar'alor auto-logging
author | yellowfive |
---|---|
date | Tue, 22 Jan 2019 22:18:27 -0800 |
parents | bdf1b0c98882 |
children | 3ac4915a2e41 |
comparison
equal
deleted
inserted
replaced
152:f33e5aaaee9e | 153:31386c009f03 |
---|---|
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", 71 | 3 local MAJOR, MINOR = "AskMrRobot-Serializer", 72 |
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 Uldir = 1861 | 155 Uldir = 1861, |
156 Dazar = 2070 | |
156 } | 157 } |
157 | 158 |
158 -- instances that AskMrRobot currently supports logging for | 159 -- instances that AskMrRobot currently supports logging for |
159 Amr.SupportedInstanceIds = { | 160 Amr.SupportedInstanceIds = { |
160 [1861] = true | 161 [1861] = true, |
162 [2070] = true | |
161 } | 163 } |
162 | 164 |
163 | 165 |
164 ---------------------------------------------------------------------------------------- | 166 ---------------------------------------------------------------------------------------- |
165 -- Public Utility Methods | 167 -- Public Utility Methods |