warcraft-3-w3ts-utils 0.1.6 → 0.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/dist/index.lua +13 -0
  2. package/dist/lua_modules/w3ts/globals/index.lua +23 -0
  3. package/dist/lua_modules/w3ts/globals/order.lua +2 -0
  4. package/dist/lua_modules/w3ts/handles/camera.lua +348 -0
  5. package/dist/lua_modules/w3ts/handles/destructable.lua +237 -0
  6. package/dist/lua_modules/w3ts/handles/dialog.lua +161 -0
  7. package/dist/lua_modules/w3ts/handles/effect.lua +198 -0
  8. package/dist/lua_modules/w3ts/handles/fogmodifier.lua +76 -0
  9. package/dist/lua_modules/w3ts/handles/force.lua +105 -0
  10. package/dist/lua_modules/w3ts/handles/frame.lua +417 -0
  11. package/dist/lua_modules/w3ts/handles/gamecache.lua +132 -0
  12. package/dist/lua_modules/w3ts/handles/group.lua +215 -0
  13. package/dist/lua_modules/w3ts/handles/handle.lua +38 -0
  14. package/dist/lua_modules/w3ts/handles/image.lua +105 -0
  15. package/dist/lua_modules/w3ts/handles/index.lua +226 -0
  16. package/dist/lua_modules/w3ts/handles/item.lua +375 -0
  17. package/dist/lua_modules/w3ts/handles/leaderboard.lua +211 -0
  18. package/dist/lua_modules/w3ts/handles/multiboard.lua +193 -0
  19. package/dist/lua_modules/w3ts/handles/player.lua +311 -0
  20. package/dist/lua_modules/w3ts/handles/point.lua +80 -0
  21. package/dist/lua_modules/w3ts/handles/quest.lua +176 -0
  22. package/dist/lua_modules/w3ts/handles/rect.lua +129 -0
  23. package/dist/lua_modules/w3ts/handles/region.lua +72 -0
  24. package/dist/lua_modules/w3ts/handles/sound.lua +174 -0
  25. package/dist/lua_modules/w3ts/handles/texttag.lua +97 -0
  26. package/dist/lua_modules/w3ts/handles/timer.lua +83 -0
  27. package/dist/lua_modules/w3ts/handles/timerdialog.lua +86 -0
  28. package/dist/lua_modules/w3ts/handles/trigger.lua +265 -0
  29. package/dist/lua_modules/w3ts/handles/ubersplat.lua +84 -0
  30. package/dist/lua_modules/w3ts/handles/unit.lua +1330 -0
  31. package/dist/lua_modules/w3ts/handles/weathereffect.lua +42 -0
  32. package/dist/lua_modules/w3ts/handles/widget.lua +53 -0
  33. package/dist/lua_modules/w3ts/hooks/index.lua +52 -0
  34. package/dist/lua_modules/w3ts/index.lua +36 -0
  35. package/dist/lua_modules/w3ts/system/base64.lua +108 -0
  36. package/dist/lua_modules/w3ts/system/binaryreader.lua +74 -0
  37. package/dist/lua_modules/w3ts/system/binarywriter.lua +88 -0
  38. package/dist/lua_modules/w3ts/system/file.lua +88 -0
  39. package/dist/lua_modules/w3ts/system/gametime.lua +27 -0
  40. package/dist/lua_modules/w3ts/system/host.lua +104 -0
  41. package/dist/lua_modules/w3ts/system/index.lua +58 -0
  42. package/dist/lua_modules/w3ts/system/sync.lua +239 -0
  43. package/dist/lua_modules/w3ts/utils/color.lua +189 -0
  44. package/dist/lua_modules/w3ts/utils/index.lua +38 -0
  45. package/dist/lualib_bundle.lua +2733 -0
  46. package/dist/package.json +41 -0
  47. package/dist/utils/abilities.lua +107 -0
  48. package/dist/utils/camera.lua +46 -0
  49. package/dist/utils/chat-command.lua +30 -0
  50. package/dist/utils/color.lua +41 -0
  51. package/dist/utils/index.lua +125 -0
  52. package/dist/utils/item.lua +173 -0
  53. package/dist/utils/math.lua +17 -0
  54. package/dist/utils/minimapIcons.lua +28 -0
  55. package/dist/utils/misc.lua +143 -0
  56. package/dist/utils/physics.lua +161 -0
  57. package/dist/utils/players.lua +234 -0
  58. package/dist/utils/point.lua +60 -0
  59. package/dist/utils/quests.lua +47 -0
  60. package/dist/utils/textTag.lua +110 -0
  61. package/dist/utils/timer.lua +21 -0
  62. package/dist/utils/units.lua +102 -0
  63. package/package.json +4 -6
  64. package/dist/index.js +0 -18
  65. package/dist/utils/abilities.js +0 -125
  66. package/dist/utils/camera.js +0 -37
  67. package/dist/utils/chat-command.js +0 -22
  68. package/dist/utils/color.js +0 -141
  69. package/dist/utils/index.js +0 -32
  70. package/dist/utils/item.js +0 -124
  71. package/dist/utils/math.js +0 -17
  72. package/dist/utils/minimapIcons.js +0 -27
  73. package/dist/utils/misc.js +0 -175
  74. package/dist/utils/physics.js +0 -194
  75. package/dist/utils/players.js +0 -189
  76. package/dist/utils/point.js +0 -74
  77. package/dist/utils/quests.js +0 -30
  78. package/dist/utils/textTag.js +0 -72
  79. package/dist/utils/timer.js +0 -16
  80. package/dist/utils/units.js +0 -81
  81. package/tsconfig.json +0 -37
@@ -0,0 +1,215 @@
1
+ local ____lualib = require("lualib_bundle")
2
+ local __TS__Class = ____lualib.__TS__Class
3
+ local __TS__ClassExtends = ____lualib.__TS__ClassExtends
4
+ local __TS__SetDescriptor = ____lualib.__TS__SetDescriptor
5
+ local __TS__ObjectAssign = ____lualib.__TS__ObjectAssign
6
+ local ____exports = {}
7
+ local ____handle = require("lua_modules.w3ts.handles.handle")
8
+ local Handle = ____handle.Handle
9
+ local ____unit = require("lua_modules.w3ts.handles.unit")
10
+ local Unit = ____unit.Unit
11
+ ____exports.Group = __TS__Class()
12
+ local Group = ____exports.Group
13
+ Group.name = "Group"
14
+ __TS__ClassExtends(Group, Handle)
15
+ function Group.prototype.____constructor(self)
16
+ if Handle:initFromHandle() then
17
+ Handle.prototype.____constructor(self)
18
+ return
19
+ end
20
+ local handle = CreateGroup()
21
+ if handle == nil then
22
+ error("w3ts failed to create group handle.", 3)
23
+ end
24
+ Handle.prototype.____constructor(self, handle)
25
+ end
26
+ __TS__SetDescriptor(
27
+ Group.prototype,
28
+ "first",
29
+ {get = function(self)
30
+ return Unit:fromHandle(FirstOfGroup(self.handle))
31
+ end},
32
+ true
33
+ )
34
+ __TS__SetDescriptor(
35
+ Group.prototype,
36
+ "size",
37
+ {get = function(self)
38
+ return BlzGroupGetSize(self.handle)
39
+ end},
40
+ true
41
+ )
42
+ function Group.create(self)
43
+ local handle = CreateGroup()
44
+ if handle then
45
+ local obj = self:getObject(handle)
46
+ local values = {}
47
+ values.handle = handle
48
+ return __TS__ObjectAssign(obj, values)
49
+ end
50
+ return nil
51
+ end
52
+ function Group.prototype.addGroupFast(self, addGroup)
53
+ return BlzGroupAddGroupFast(self.handle, addGroup.handle)
54
+ end
55
+ function Group.prototype.addUnit(self, whichUnit)
56
+ return GroupAddUnit(self.handle, whichUnit.handle)
57
+ end
58
+ function Group.prototype.clear(self)
59
+ GroupClear(self.handle)
60
+ end
61
+ function Group.prototype.destroy(self)
62
+ DestroyGroup(self.handle)
63
+ end
64
+ function Group.prototype.enumUnitsInRange(self, x, y, radius, filter)
65
+ GroupEnumUnitsInRange(
66
+ self.handle,
67
+ x,
68
+ y,
69
+ radius,
70
+ type(filter) == "function" and Filter(filter) or filter
71
+ )
72
+ end
73
+ function Group.prototype.enumUnitsInRangeCounted(self, x, y, radius, filter, countLimit)
74
+ GroupEnumUnitsInRangeCounted(
75
+ self.handle,
76
+ x,
77
+ y,
78
+ radius,
79
+ type(filter) == "function" and Filter(filter) or filter,
80
+ countLimit
81
+ )
82
+ end
83
+ function Group.prototype.enumUnitsInRangeOfPoint(self, whichPoint, radius, filter)
84
+ GroupEnumUnitsInRangeOfLoc(
85
+ self.handle,
86
+ whichPoint.handle,
87
+ radius,
88
+ type(filter) == "function" and Filter(filter) or filter
89
+ )
90
+ end
91
+ function Group.prototype.enumUnitsInRangeOfPointCounted(self, whichPoint, radius, filter, countLimit)
92
+ GroupEnumUnitsInRangeOfLocCounted(
93
+ self.handle,
94
+ whichPoint.handle,
95
+ radius,
96
+ type(filter) == "function" and Filter(filter) or filter,
97
+ countLimit
98
+ )
99
+ end
100
+ function Group.prototype.enumUnitsInRect(self, r, filter)
101
+ GroupEnumUnitsInRect(
102
+ self.handle,
103
+ r.handle,
104
+ type(filter) == "function" and Filter(filter) or filter
105
+ )
106
+ end
107
+ function Group.prototype.enumUnitsInRectCounted(self, r, filter, countLimit)
108
+ GroupEnumUnitsInRectCounted(
109
+ self.handle,
110
+ r.handle,
111
+ type(filter) == "function" and Filter(filter) or filter,
112
+ countLimit
113
+ )
114
+ end
115
+ function Group.prototype.enumUnitsOfPlayer(self, whichPlayer, filter)
116
+ GroupEnumUnitsOfPlayer(
117
+ self.handle,
118
+ whichPlayer.handle,
119
+ type(filter) == "function" and Filter(filter) or filter
120
+ )
121
+ end
122
+ function Group.prototype.enumUnitsOfType(self, unitName, filter)
123
+ GroupEnumUnitsOfType(
124
+ self.handle,
125
+ unitName,
126
+ type(filter) == "function" and Filter(filter) or filter
127
+ )
128
+ end
129
+ function Group.prototype.enumUnitsOfTypeCounted(self, unitName, filter, countLimit)
130
+ GroupEnumUnitsOfTypeCounted(
131
+ self.handle,
132
+ unitName,
133
+ type(filter) == "function" and Filter(filter) or filter,
134
+ countLimit
135
+ )
136
+ end
137
+ function Group.prototype.enumUnitsSelected(self, whichPlayer, filter)
138
+ GroupEnumUnitsSelected(
139
+ self.handle,
140
+ whichPlayer.handle,
141
+ type(filter) == "function" and Filter(filter) or filter
142
+ )
143
+ end
144
+ Group.prototype["for"] = function(self, callback)
145
+ ForGroup(self.handle, callback)
146
+ end
147
+ function Group.prototype.getUnits(self)
148
+ local units = {}
149
+ self["for"](
150
+ self,
151
+ function()
152
+ local u = Unit:fromFilter()
153
+ if u then
154
+ units[#units + 1] = u
155
+ end
156
+ end
157
+ )
158
+ return units
159
+ end
160
+ function Group.prototype.getUnitAt(self, index)
161
+ return Unit:fromHandle(BlzGroupUnitAt(self.handle, index))
162
+ end
163
+ function Group.prototype.hasUnit(self, whichUnit)
164
+ return IsUnitInGroup(whichUnit.handle, self.handle)
165
+ end
166
+ function Group.prototype.orderCoords(self, order, x, y)
167
+ if type(order) == "string" then
168
+ GroupPointOrder(self.handle, order, x, y)
169
+ else
170
+ GroupPointOrderById(self.handle, order, x, y)
171
+ end
172
+ end
173
+ function Group.prototype.orderImmediate(self, order)
174
+ if type(order) == "string" then
175
+ GroupImmediateOrder(self.handle, order)
176
+ else
177
+ GroupImmediateOrderById(self.handle, order)
178
+ end
179
+ end
180
+ function Group.prototype.orderPoint(self, order, whichPoint)
181
+ if type(order) == "string" then
182
+ GroupPointOrderLoc(self.handle, order, whichPoint.handle)
183
+ else
184
+ GroupPointOrderByIdLoc(self.handle, order, whichPoint.handle)
185
+ end
186
+ end
187
+ function Group.prototype.orderTarget(self, order, targetWidget)
188
+ if type(order) == "string" then
189
+ GroupTargetOrder(self.handle, order, targetWidget.handle)
190
+ else
191
+ GroupTargetOrderById(self.handle, order, targetWidget.handle)
192
+ end
193
+ end
194
+ function Group.prototype.removeGroupFast(self, removeGroup)
195
+ return BlzGroupRemoveGroupFast(self.handle, removeGroup.handle)
196
+ end
197
+ function Group.prototype.removeUnit(self, whichUnit)
198
+ return GroupRemoveUnit(self.handle, whichUnit.handle)
199
+ end
200
+ function Group.fromHandle(self, handle)
201
+ local ____handle_0
202
+ if handle then
203
+ ____handle_0 = self:getObject(handle)
204
+ else
205
+ ____handle_0 = nil
206
+ end
207
+ return ____handle_0
208
+ end
209
+ function Group.getEnumUnit(self)
210
+ return Unit:fromHandle(GetEnumUnit())
211
+ end
212
+ function Group.getFilterUnit(self)
213
+ return Unit:fromHandle(GetFilterUnit())
214
+ end
215
+ return ____exports
@@ -0,0 +1,38 @@
1
+ local ____lualib = require("lualib_bundle")
2
+ local WeakMap = ____lualib.WeakMap
3
+ local __TS__New = ____lualib.__TS__New
4
+ local __TS__Class = ____lualib.__TS__Class
5
+ local __TS__SetDescriptor = ____lualib.__TS__SetDescriptor
6
+ local ____exports = {}
7
+ ---
8
+ -- @noSelfInFile
9
+ local map = __TS__New(WeakMap)
10
+ ____exports.Handle = __TS__Class()
11
+ local Handle = ____exports.Handle
12
+ Handle.name = "Handle"
13
+ function Handle.prototype.____constructor(self, handle)
14
+ self.handle = handle == nil and ____exports.Handle.initHandle or handle
15
+ map:set(self.handle, self)
16
+ end
17
+ __TS__SetDescriptor(
18
+ Handle.prototype,
19
+ "id",
20
+ {get = function(self)
21
+ return GetHandleId(self.handle)
22
+ end},
23
+ true
24
+ )
25
+ function Handle.initFromHandle(self)
26
+ return ____exports.Handle.initHandle ~= nil
27
+ end
28
+ function Handle.getObject(self, handle)
29
+ local obj = map:get(handle)
30
+ if obj ~= nil then
31
+ return obj
32
+ end
33
+ ____exports.Handle.initHandle = handle
34
+ local newObj = __TS__New(self)
35
+ ____exports.Handle.initHandle = nil
36
+ return newObj
37
+ end
38
+ return ____exports
@@ -0,0 +1,105 @@
1
+ local ____lualib = require("lualib_bundle")
2
+ local __TS__Class = ____lualib.__TS__Class
3
+ local __TS__ClassExtends = ____lualib.__TS__ClassExtends
4
+ local __TS__ObjectAssign = ____lualib.__TS__ObjectAssign
5
+ local ____exports = {}
6
+ local ____handle = require("lua_modules.w3ts.handles.handle")
7
+ local Handle = ____handle.Handle
8
+ ____exports.ImageType = ImageType or ({})
9
+ ____exports.ImageType.Selection = 1
10
+ ____exports.ImageType[____exports.ImageType.Selection] = "Selection"
11
+ ____exports.ImageType.Indicator = 2
12
+ ____exports.ImageType[____exports.ImageType.Indicator] = "Indicator"
13
+ ____exports.ImageType.OcclusionMask = 3
14
+ ____exports.ImageType[____exports.ImageType.OcclusionMask] = "OcclusionMask"
15
+ ____exports.ImageType.Ubersplat = 4
16
+ ____exports.ImageType[____exports.ImageType.Ubersplat] = "Ubersplat"
17
+ ____exports.Image = __TS__Class()
18
+ local Image = ____exports.Image
19
+ Image.name = "Image"
20
+ __TS__ClassExtends(Image, Handle)
21
+ function Image.prototype.____constructor(self, file, sizeX, sizeY, sizeZ, posX, posY, posZ, originX, originY, originZ, imageType)
22
+ if Handle:initFromHandle() then
23
+ Handle.prototype.____constructor(self)
24
+ return
25
+ end
26
+ local handle = CreateImage(
27
+ file,
28
+ sizeX,
29
+ sizeY,
30
+ sizeZ,
31
+ posX,
32
+ posY,
33
+ posZ,
34
+ originX,
35
+ originY,
36
+ originZ,
37
+ imageType
38
+ )
39
+ if handle == nil then
40
+ error("w3ts failed to create image handle.", 3)
41
+ end
42
+ Handle.prototype.____constructor(self, handle)
43
+ end
44
+ function Image.create(self, file, sizeX, sizeY, sizeZ, posX, posY, posZ, originX, originY, originZ, imageType)
45
+ local handle = CreateImage(
46
+ file,
47
+ sizeX,
48
+ sizeY,
49
+ sizeZ,
50
+ posX,
51
+ posY,
52
+ posZ,
53
+ originX,
54
+ originY,
55
+ originZ,
56
+ imageType
57
+ )
58
+ if handle then
59
+ local obj = self:getObject(handle)
60
+ local values = {}
61
+ values.handle = handle
62
+ return __TS__ObjectAssign(obj, values)
63
+ end
64
+ return nil
65
+ end
66
+ function Image.prototype.destroy(self)
67
+ DestroyImage(self.handle)
68
+ end
69
+ function Image.prototype.setAboveWater(self, flag, useWaterAlpha)
70
+ SetImageAboveWater(self.handle, flag, useWaterAlpha)
71
+ end
72
+ function Image.prototype.setColor(self, red, green, blue, alpha)
73
+ SetImageColor(
74
+ self.handle,
75
+ red,
76
+ green,
77
+ blue,
78
+ alpha
79
+ )
80
+ end
81
+ function Image.prototype.setConstantHeight(self, flag, height)
82
+ SetImageConstantHeight(self.handle, flag, height)
83
+ end
84
+ function Image.prototype.setPosition(self, x, y, z)
85
+ SetImagePosition(self.handle, x, y, z)
86
+ end
87
+ function Image.prototype.setRender(self, flag)
88
+ SetImageRenderAlways(self.handle, flag)
89
+ end
90
+ function Image.prototype.setType(self, imageType)
91
+ SetImageType(self.handle, imageType)
92
+ end
93
+ function Image.prototype.show(self, flag)
94
+ ShowImage(self.handle, flag)
95
+ end
96
+ function Image.fromHandle(self, handle)
97
+ local ____handle_0
98
+ if handle then
99
+ ____handle_0 = self:getObject(handle)
100
+ else
101
+ ____handle_0 = nil
102
+ end
103
+ return ____handle_0
104
+ end
105
+ return ____exports
@@ -0,0 +1,226 @@
1
+ local ____exports = {}
2
+ do
3
+ local ____export = require("lua_modules.w3ts.handles.camera")
4
+ for ____exportKey, ____exportValue in pairs(____export) do
5
+ if ____exportKey ~= "default" then
6
+ ____exports[____exportKey] = ____exportValue
7
+ end
8
+ end
9
+ end
10
+ do
11
+ local ____export = require("lua_modules.w3ts.handles.destructable")
12
+ for ____exportKey, ____exportValue in pairs(____export) do
13
+ if ____exportKey ~= "default" then
14
+ ____exports[____exportKey] = ____exportValue
15
+ end
16
+ end
17
+ end
18
+ do
19
+ local ____export = require("lua_modules.w3ts.handles.dialog")
20
+ for ____exportKey, ____exportValue in pairs(____export) do
21
+ if ____exportKey ~= "default" then
22
+ ____exports[____exportKey] = ____exportValue
23
+ end
24
+ end
25
+ end
26
+ do
27
+ local ____export = require("lua_modules.w3ts.handles.effect")
28
+ for ____exportKey, ____exportValue in pairs(____export) do
29
+ if ____exportKey ~= "default" then
30
+ ____exports[____exportKey] = ____exportValue
31
+ end
32
+ end
33
+ end
34
+ do
35
+ local ____export = require("lua_modules.w3ts.handles.fogmodifier")
36
+ for ____exportKey, ____exportValue in pairs(____export) do
37
+ if ____exportKey ~= "default" then
38
+ ____exports[____exportKey] = ____exportValue
39
+ end
40
+ end
41
+ end
42
+ do
43
+ local ____export = require("lua_modules.w3ts.handles.force")
44
+ for ____exportKey, ____exportValue in pairs(____export) do
45
+ if ____exportKey ~= "default" then
46
+ ____exports[____exportKey] = ____exportValue
47
+ end
48
+ end
49
+ end
50
+ do
51
+ local ____export = require("lua_modules.w3ts.handles.frame")
52
+ for ____exportKey, ____exportValue in pairs(____export) do
53
+ if ____exportKey ~= "default" then
54
+ ____exports[____exportKey] = ____exportValue
55
+ end
56
+ end
57
+ end
58
+ do
59
+ local ____export = require("lua_modules.w3ts.handles.gamecache")
60
+ for ____exportKey, ____exportValue in pairs(____export) do
61
+ if ____exportKey ~= "default" then
62
+ ____exports[____exportKey] = ____exportValue
63
+ end
64
+ end
65
+ end
66
+ do
67
+ local ____export = require("lua_modules.w3ts.handles.group")
68
+ for ____exportKey, ____exportValue in pairs(____export) do
69
+ if ____exportKey ~= "default" then
70
+ ____exports[____exportKey] = ____exportValue
71
+ end
72
+ end
73
+ end
74
+ do
75
+ local ____export = require("lua_modules.w3ts.handles.handle")
76
+ for ____exportKey, ____exportValue in pairs(____export) do
77
+ if ____exportKey ~= "default" then
78
+ ____exports[____exportKey] = ____exportValue
79
+ end
80
+ end
81
+ end
82
+ do
83
+ local ____export = require("lua_modules.w3ts.handles.image")
84
+ for ____exportKey, ____exportValue in pairs(____export) do
85
+ if ____exportKey ~= "default" then
86
+ ____exports[____exportKey] = ____exportValue
87
+ end
88
+ end
89
+ end
90
+ do
91
+ local ____export = require("lua_modules.w3ts.handles.item")
92
+ for ____exportKey, ____exportValue in pairs(____export) do
93
+ if ____exportKey ~= "default" then
94
+ ____exports[____exportKey] = ____exportValue
95
+ end
96
+ end
97
+ end
98
+ do
99
+ local ____export = require("lua_modules.w3ts.handles.leaderboard")
100
+ for ____exportKey, ____exportValue in pairs(____export) do
101
+ if ____exportKey ~= "default" then
102
+ ____exports[____exportKey] = ____exportValue
103
+ end
104
+ end
105
+ end
106
+ do
107
+ local ____export = require("lua_modules.w3ts.handles.multiboard")
108
+ for ____exportKey, ____exportValue in pairs(____export) do
109
+ if ____exportKey ~= "default" then
110
+ ____exports[____exportKey] = ____exportValue
111
+ end
112
+ end
113
+ end
114
+ do
115
+ local ____export = require("lua_modules.w3ts.handles.player")
116
+ for ____exportKey, ____exportValue in pairs(____export) do
117
+ if ____exportKey ~= "default" then
118
+ ____exports[____exportKey] = ____exportValue
119
+ end
120
+ end
121
+ end
122
+ do
123
+ local ____export = require("lua_modules.w3ts.handles.point")
124
+ for ____exportKey, ____exportValue in pairs(____export) do
125
+ if ____exportKey ~= "default" then
126
+ ____exports[____exportKey] = ____exportValue
127
+ end
128
+ end
129
+ end
130
+ do
131
+ local ____export = require("lua_modules.w3ts.handles.quest")
132
+ for ____exportKey, ____exportValue in pairs(____export) do
133
+ if ____exportKey ~= "default" then
134
+ ____exports[____exportKey] = ____exportValue
135
+ end
136
+ end
137
+ end
138
+ do
139
+ local ____export = require("lua_modules.w3ts.handles.rect")
140
+ for ____exportKey, ____exportValue in pairs(____export) do
141
+ if ____exportKey ~= "default" then
142
+ ____exports[____exportKey] = ____exportValue
143
+ end
144
+ end
145
+ end
146
+ do
147
+ local ____export = require("lua_modules.w3ts.handles.region")
148
+ for ____exportKey, ____exportValue in pairs(____export) do
149
+ if ____exportKey ~= "default" then
150
+ ____exports[____exportKey] = ____exportValue
151
+ end
152
+ end
153
+ end
154
+ do
155
+ local ____export = require("lua_modules.w3ts.handles.sound")
156
+ for ____exportKey, ____exportValue in pairs(____export) do
157
+ if ____exportKey ~= "default" then
158
+ ____exports[____exportKey] = ____exportValue
159
+ end
160
+ end
161
+ end
162
+ do
163
+ local ____export = require("lua_modules.w3ts.handles.texttag")
164
+ for ____exportKey, ____exportValue in pairs(____export) do
165
+ if ____exportKey ~= "default" then
166
+ ____exports[____exportKey] = ____exportValue
167
+ end
168
+ end
169
+ end
170
+ do
171
+ local ____export = require("lua_modules.w3ts.handles.timer")
172
+ for ____exportKey, ____exportValue in pairs(____export) do
173
+ if ____exportKey ~= "default" then
174
+ ____exports[____exportKey] = ____exportValue
175
+ end
176
+ end
177
+ end
178
+ do
179
+ local ____export = require("lua_modules.w3ts.handles.timerdialog")
180
+ for ____exportKey, ____exportValue in pairs(____export) do
181
+ if ____exportKey ~= "default" then
182
+ ____exports[____exportKey] = ____exportValue
183
+ end
184
+ end
185
+ end
186
+ do
187
+ local ____export = require("lua_modules.w3ts.handles.trigger")
188
+ for ____exportKey, ____exportValue in pairs(____export) do
189
+ if ____exportKey ~= "default" then
190
+ ____exports[____exportKey] = ____exportValue
191
+ end
192
+ end
193
+ end
194
+ do
195
+ local ____export = require("lua_modules.w3ts.handles.ubersplat")
196
+ for ____exportKey, ____exportValue in pairs(____export) do
197
+ if ____exportKey ~= "default" then
198
+ ____exports[____exportKey] = ____exportValue
199
+ end
200
+ end
201
+ end
202
+ do
203
+ local ____export = require("lua_modules.w3ts.handles.unit")
204
+ for ____exportKey, ____exportValue in pairs(____export) do
205
+ if ____exportKey ~= "default" then
206
+ ____exports[____exportKey] = ____exportValue
207
+ end
208
+ end
209
+ end
210
+ do
211
+ local ____export = require("lua_modules.w3ts.handles.weathereffect")
212
+ for ____exportKey, ____exportValue in pairs(____export) do
213
+ if ____exportKey ~= "default" then
214
+ ____exports[____exportKey] = ____exportValue
215
+ end
216
+ end
217
+ end
218
+ do
219
+ local ____export = require("lua_modules.w3ts.handles.widget")
220
+ for ____exportKey, ____exportValue in pairs(____export) do
221
+ if ____exportKey ~= "default" then
222
+ ____exports[____exportKey] = ____exportValue
223
+ end
224
+ end
225
+ end
226
+ return ____exports