comparison AskMrRobot-Serializer/AskMrRobot-Serializer.lua @ 120:42ce010b6253 v56

Added new allied races.
author yellowfive
date Thu, 01 Feb 2018 00:17:42 -0800
parents 5cb881417bbf
children f1da233629be
comparison
equal deleted inserted replaced
119:cd521552e277 120:42ce010b6253
1 -- AskMrRobot-Serializer will serialize and communicate character data between users. 1 -- AskMrRobot-Serializer will serialize and communicate character data between users.
2 -- This is used primarily to associate character information to logs uploaded to askmrrobot.com. 2 -- This is used primarily to associate character information to logs uploaded to askmrrobot.com.
3 3
4 local MAJOR, MINOR = "AskMrRobot-Serializer", 55 4 local MAJOR, MINOR = "AskMrRobot-Serializer", 56
5 local Amr, oldminor = LibStub:NewLibrary(MAJOR, MINOR) 5 local Amr, oldminor = LibStub:NewLibrary(MAJOR, MINOR)
6 6
7 if not Amr then return end -- already loaded by something else 7 if not Amr then return end -- already loaded by something else
8 8
9 -- event and comm used for player snapshotting on entering combat 9 -- event and comm used for player snapshotting on entering combat
135 ["Troll"] = 9, 135 ["Troll"] = 9,
136 ["Scourge"] = 10, 136 ["Scourge"] = 10,
137 ["Undead"] = 10, 137 ["Undead"] = 10,
138 ["Goblin"] = 11, 138 ["Goblin"] = 11,
139 ["Worgen"] = 12, 139 ["Worgen"] = 12,
140 ["Pandaren"] = 13 140 ["Pandaren"] = 13,
141 ["Nightborne"] = 14,
142 ["HighmountainTauren"] = 15,
143 ["VoidElf"] = 16,
144 ["LightforgedDraenei"] = 17
141 } 145 }
142 146
143 Amr.FactionIds = { 147 Amr.FactionIds = {
144 ["None"] = 0, 148 ["None"] = 0,
145 ["Alliance"] = 1, 149 ["Alliance"] = 1,