Mercurial > wow > askmrrobot
comparison AskMrRobot-Serializer/AskMrRobot-Serializer.lua @ 175:731cb3cedd3d v82
added auto-logging for ny'alotha
| author | yellowfive |
|---|---|
| date | Tue, 21 Jan 2020 15:55:09 -0800 |
| parents | 556cb7c32580 |
| children | 44ce007189e0 |
comparison
equal
deleted
inserted
replaced
| 174:5f8d8a8ed6a4 | 175:731cb3cedd3d |
|---|---|
| 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", 81 | 3 local MAJOR, MINOR = "AskMrRobot-Serializer", 82 |
| 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 |
| 157 | 157 |
| 158 Amr.InstanceIds = { | 158 Amr.InstanceIds = { |
| 159 Uldir = 1861, | 159 Uldir = 1861, |
| 160 Dazar = 2070, | 160 Dazar = 2070, |
| 161 Storms = 2096, | 161 Storms = 2096, |
| 162 Palace = 2164 | 162 Palace = 2164, |
| 163 Nyalotha = 2217 | |
| 163 } | 164 } |
| 164 | 165 |
| 165 -- instances that AskMrRobot currently supports logging for | 166 -- instances that AskMrRobot currently supports logging for |
| 166 Amr.SupportedInstanceIds = { | 167 Amr.SupportedInstanceIds = { |
| 167 [1861] = true, | 168 [1861] = true, |
| 168 [2070] = true, | 169 [2070] = true, |
| 169 [2096] = true, | 170 [2096] = true, |
| 170 [2164] = true | 171 [2164] = true, |
| 172 [2217] = true | |
| 171 } | 173 } |
| 172 | 174 |
| 173 | 175 |
| 174 ---------------------------------------------------------------------------------------- | 176 ---------------------------------------------------------------------------------------- |
| 175 -- Public Utility Methods | 177 -- Public Utility Methods |
