Mercurial > wow > askmrrobot
comparison AskMrRobot-Serializer/AskMrRobot-Serializer.lua @ 155:3ac4915a2e41 v73
New races, Crucible of Storms auto-logging.
| author | yellowfive |
|---|---|
| date | Tue, 12 Mar 2019 11:16:36 -0700 |
| parents | 31386c009f03 |
| children | 544a8d2d83d6 |
comparison
equal
deleted
inserted
replaced
| 154:efb787b934ad | 155:3ac4915a2e41 |
|---|---|
| 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", 72 | 3 local MAJOR, MINOR = "AskMrRobot-Serializer", 73 |
| 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 |
| 140 ["Nightborne"] = 14, | 140 ["Nightborne"] = 14, |
| 141 ["HighmountainTauren"] = 15, | 141 ["HighmountainTauren"] = 15, |
| 142 ["VoidElf"] = 16, | 142 ["VoidElf"] = 16, |
| 143 ["LightforgedDraenei"] = 17, | 143 ["LightforgedDraenei"] = 17, |
| 144 ["DarkIronDwarf"] = 18, | 144 ["DarkIronDwarf"] = 18, |
| 145 ["MagharOrc"] = 19 | 145 ["MagharOrc"] = 19, |
| 146 ["ZandalariTroll"] = 20, | |
| 147 ["KulTiranHuman"] = 21 | |
| 146 } | 148 } |
| 147 | 149 |
| 148 Amr.FactionIds = { | 150 Amr.FactionIds = { |
| 149 ["None"] = 0, | 151 ["None"] = 0, |
| 150 ["Alliance"] = 1, | 152 ["Alliance"] = 1, |
| 151 ["Horde"] = 2 | 153 ["Horde"] = 2 |
| 152 } | 154 } |
| 153 | 155 |
| 154 Amr.InstanceIds = { | 156 Amr.InstanceIds = { |
| 155 Uldir = 1861, | 157 Uldir = 1861, |
| 156 Dazar = 2070 | 158 Dazar = 2070, |
| 159 Storms = 2096 | |
| 157 } | 160 } |
| 158 | 161 |
| 159 -- instances that AskMrRobot currently supports logging for | 162 -- instances that AskMrRobot currently supports logging for |
| 160 Amr.SupportedInstanceIds = { | 163 Amr.SupportedInstanceIds = { |
| 161 [1861] = true, | 164 [1861] = true, |
| 162 [2070] = true | 165 [2070] = true, |
| 166 [2096] = true | |
| 163 } | 167 } |
| 164 | 168 |
| 165 | 169 |
| 166 ---------------------------------------------------------------------------------------- | 170 ---------------------------------------------------------------------------------------- |
| 167 -- Public Utility Methods | 171 -- Public Utility Methods |
