-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path0.7.9.js
319 lines (316 loc) · 10.3 KB
/
0.7.9.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
// Global classes, functions, variables defined in foundry.js (0.7.9).
module.exports = {
"globals": {
// Other
"Handlebars": "readonly",
"HandlebarsIntl": "readonly",
// Classes
"AbstractBaseShader": "readonly",
"ActiveEffect": "readonly",
"ActiveEffectConfig": "readonly",
"Actor": "readonly",
"ActorDirectory": "readonly",
"Actors": "readonly",
"ActorSheet": "readonly",
"AmbientLight": "readonly",
"AmbientSound": "readonly",
"AmbientSoundConfig": "readonly",
"Application": "readonly",
"AudioHelper": "readonly",
"AutumnLeavesWeatherEffect": "readonly",
"AVClient": "readonly",
"AVConfig": "readonly",
"AVMaster": "readonly",
"AVSettings": "readonly",
"BackgroundLayer": "readonly",
"BaseEntitySheet": "readonly",
"BaseGrid": "readonly",
"BasePlaceableHUD": "readonly",
"BlackHoleIlluminationShader": "readonly",
"CameraPopoutAppWrapper": "readonly",
"CameraViews": "readonly",
"Canvas": "readonly",
"CanvasAnimation": "readonly",
"CanvasLayer": "readonly",
"ChatBubbles": "readonly",
"ChatLog": "readonly",
"ChatMessage": "readonly",
"ChatPopout": "readonly",
"ChromaColorationShader": "readonly",
"ClientSettings": "readonly",
"Coin": "readonly",
"Collection": "readonly",
"Combat": "readonly",
"CombatantConfig": "readonly",
"CombatEncounters": "readonly",
"CombatTracker": "readonly",
"CombatTrackerConfig": "readonly",
"Compendium": "readonly",
"CompendiumDirectory": "readonly",
"ContextMenu": "readonly",
"ControlIcon": "readonly",
"ControlsLayer": "readonly",
"ControlsReference": "readonly",
"Cursor": "readonly",
"Dialog": "readonly",
"DicePool": "readonly",
"DiceTerm": "readonly",
"Die": "readonly",
"DoorControl": "readonly",
"DragDrop": "readonly",
"Draggable": "readonly",
"Drawing": "readonly",
"DrawingConfig": "readonly",
"DrawingHUD": "readonly",
"DrawingsLayer": "readonly",
"EasyRTCClient": "readonly",
"EffectsLayer": "readonly",
"EmanationColorationShader": "readonly",
"EmbeddedEntity": "readonly",
"EnergyFieldColorationShader": "readonly",
"Entity": "readonly",
"EntityCollection": "readonly",
"EntitySheetConfig": "readonly",
"EULA": "readonly",
"FateDie": "readonly",
"FilePicker": "readonly",
"FogColorationShader": "readonly",
"Folder": "readonly",
"FolderConfig": "readonly",
"Folders": "readonly",
"FormApplication": "readonly",
"FormDataExtended": "readonly",
"FrameViewer": "readonly",
"Game": "readonly",
"GameTime": "readonly",
"GhostLightColorationShader": "readonly",
"GhostLightIlluminationShader": "readonly",
"GridConfig": "readonly",
"GridHighlight": "readonly",
"GridLayer": "readonly",
"HandlebarsHelpers": "readonly",
"HeadsUpDisplay": "readonly",
"HexaDomeColorationShader": "readonly",
"HexagonalGrid": "readonly",
"Hooks": "readonly",
"Hotbar": "readonly",
"ImageHelper": "readonly",
"ImagePopout": "readonly",
"InstallPackage": "readonly",
"InvitationLinks": "readonly",
"Item": "readonly",
"ItemDirectory": "readonly",
"Items": "readonly",
"ItemSheet": "readonly",
"Journal": "readonly",
"JournalDirectory": "readonly",
"JournalEntry": "readonly",
"JournalSheet": "readonly",
"KeyboardManager": "readonly",
"LightConfig": "readonly",
"LightDomeColorationShader": "readonly",
"LightingLayer": "readonly",
"Localization": "readonly",
"Macro": "readonly",
"MacroConfig": "readonly",
"MacroDirectory": "readonly",
"Macros": "readonly",
"MainMenu": "readonly",
"MeasuredTemplate": "readonly",
"MeasuredTemplateConfig": "readonly",
"MersenneTwister": "readonly",
"Messages": "readonly",
"ModuleManagement": "readonly",
"MouseInteractionManager": "readonly",
"NormalizedRectangle": "readonly",
"Note": "readonly",
"NoteConfig": "readonly",
"NotesLayer": "readonly",
"Notifications": "readonly",
"Pause": "readonly",
"PermissionConfig": "readonly",
"PermissionControl": "readonly",
"PlaceableObject": "readonly",
"PlaceablesLayer": "readonly",
"PlayerConfig": "readonly",
"PlayerList": "readonly",
"Playlist": "readonly",
"PlaylistConfig": "readonly",
"PlaylistDirectory": "readonly",
"Playlists": "readonly",
"PlaylistSoundConfig": "readonly",
"PointSource": "readonly",
"PreciseText": "readonly",
"PulseColorationShader": "readonly",
"PulseIlluminationShader": "readonly",
"Quadtree": "readonly",
"RainWeatherEffect": "readonly",
"Ray": "readonly",
"ResizeHandle": "readonly",
"RoilingIlluminationShader": "readonly",
"Roll": "readonly",
"RollTable": "readonly",
"RollTableConfig": "readonly",
"RollTableDirectory": "readonly",
"RollTables": "readonly",
"Ruler": "readonly",
"Scene": "readonly",
"SceneConfig": "readonly",
"SceneControls": "readonly",
"SceneDirectory": "readonly",
"SceneNavigation": "readonly",
"Scenes": "readonly",
"SearchFilter": "readonly",
"Settings": "readonly",
"SettingsConfig": "readonly",
"SetupConfiguration": "readonly",
"SetupConfigurationForm": "readonly",
"Sidebar": "readonly",
"SidebarDirectory": "readonly",
"SidebarTab": "readonly",
"SightLayer": "readonly",
"SnowWeatherEffect": "readonly",
"SocketInterface": "readonly",
"SortingHelpers": "readonly",
"SoundsLayer": "readonly",
"SpecialEffect": "readonly",
"SquareGrid": "readonly",
"StandardColorationShader": "readonly",
"StandardIlluminationShader": "readonly",
"SunburstColorationShader": "readonly",
"SunburstIlluminationShader": "readonly",
"Tabs": "readonly",
"TemplateLayer": "readonly",
"TextEditor": "readonly",
"TextureLoader": "readonly",
"Tile": "readonly",
"TileConfig": "readonly",
"TileHUD": "readonly",
"TilesLayer": "readonly",
"Token": "readonly",
"TokenConfig": "readonly",
"TokenHUD": "readonly",
"TokenLayer": "readonly",
"TorchColorationShader": "readonly",
"TorchIlluminationShader": "readonly",
"UpdateNotes": "readonly",
"User": "readonly",
"UserManagement": "readonly",
"Users": "readonly",
"UserTargets": "readonly",
"VideoHelper": "readonly",
"Wall": "readonly",
"WallConfig": "readonly",
"WallsLayer": "readonly",
"WaveColorationShader": "readonly",
"WaveIlluminationShader": "readonly",
"WorldConfig": "readonly",
"WorldSettingsStorage": "readonly",
// Functions
"_handleMouseWheelInputChange": "readonly",
"benchmark": "readonly",
"clampNumber": "readonly",
"colorStringToHex": "readonly",
"diffObject": "readonly",
"duplicate": "readonly",
"encodeURL": "readonly",
"expandObject": "readonly",
"filterObject": "readonly",
"flattenObject": "readonly",
"fromUuid": "readonly",
"getParentClasses": "readonly",
"getProperty": "readonly",
"getRoute": "readonly",
"getTemplate": "readonly",
"getTexture": "readonly",
"getType": "readonly",
"hasProperty": "readonly",
"hexToRGB": "readonly",
"hexToRGBAString": "readonly",
"hsvToRgb": "readonly",
"invertObject": "readonly",
"isNewerVersion": "readonly",
"isObjectEmpty": "readonly",
"loadFont": "readonly",
"loadTemplates": "readonly",
"loadTexture": "readonly",
"mergeObject": "readonly",
"normalizeDegrees": "readonly",
"normalizeRadians": "readonly",
"randomID": "readonly",
"readTextFromFile": "readonly",
"renderTemplate": "readonly",
"rgbToHex": "readonly",
"rgbToHsv": "readonly",
"roundDecimals": "readonly",
"saveDataToFile": "readonly",
"setProperty": "readonly",
"srcExists": "readonly",
"toDegrees": "readonly",
"toRadians": "readonly",
// Variables
"_appId": "readonly",
"_maxZ": "readonly",
"_token": "readonly",
"ACTIVE_EFFECT_MODES": "readonly",
"ASCII": "readonly",
"AUDIO_FILE_EXTENSIONS": "readonly",
"BASE_ENTITY_TYPE": "readonly",
"BLEND_MODES": "readonly",
"canvas": "readonly",
"CHAT_MESSAGE_TYPES": "readonly",
"COMPENDIUM_ENTITY_TYPES": "readonly",
"CONFIG": "readonly",
"CONST": "readonly",
"CORE_SUPPORTED_LANGUAGES": "readonly",
"DEFAULT_NOTE_ICON": "readonly",
"DEFAULT_TOKEN": "readonly",
"DICE_ROLL_MODES": "readonly",
"DRAWING_DEFAULT_VALUES": "readonly",
"DRAWING_FILL_TYPES": "readonly",
"DRAWING_TYPES": "readonly",
"ENTITY_LINK_TYPES": "readonly",
"ENTITY_PERMISSIONS": "readonly",
"ENTITY_TYPES": "readonly",
"EULA_VERSION": "readonly",
"FEATURES": "readonly",
"FOLDER_ENTITY_TYPES": "readonly",
"FOLDER_MAX_DEPTH": "readonly",
"FONTS": "readonly",
"game": "readonly",
"GRID_MIN_SIZE": "readonly",
"GRID_TYPES": "readonly",
"HTML_FILE_EXTENSIONS": "readonly",
"IMAGE_FILE_EXTENSIONS": "readonly",
"keyboard": "readonly",
"MACRO_SCOPES": "readonly",
"MEDIA_MIME_TYPES": "readonly",
"MIN_WINDOW_HEIGHT": "readonly",
"MIN_WINDOW_WIDTH": "readonly",
"PACKAGE_AVAILABILITY_CODES": "readonly",
"PASSWORD_SAFE_STRING": "readonly",
"PLAYLIST_MODES": "readonly",
"socket": "readonly",
"SOFTWARE_UPDATE_CHANNELS": "readonly",
"SORT_INTEGER_DENSITY": "readonly",
"SOURCE_TYPES": "readonly",
"TABLE_RESULT_TYPES": "readonly",
"TabsV2": "readonly",
"TEXT_ANCHOR_POINTS": "readonly",
"TOKEN_DISPLAY_MODES": "readonly",
"TOKEN_DISPOSITIONS": "readonly",
"twist": "readonly",
"ui": "readonly",
"USER_PERMISSIONS": "readonly",
"USER_ROLE_NAMES": "readonly",
"USER_ROLES": "readonly",
"VIDEO_FILE_EXTENSIONS": "readonly",
"VTT": "readonly",
"WALL_DIRECTIONS": "readonly",
"WALL_DOOR_STATES": "readonly",
"WALL_DOOR_TYPES": "readonly",
"WALL_MOVEMENT_TYPES": "readonly",
"WALL_SENSE_TYPES": "readonly",
"WEBSITE_URL": "readonly"
}
}