1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 | type ChangedSignal = {
|
18 | |
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 | readonly Changed: RBXScriptSignal<(changedPropertyName: string) => void>;
|
30 | };
|
31 |
|
32 | type Tweenable = number | boolean | CFrame | Rect | Color3 | UDim | UDim2 | Vector2 | Vector2int16 | Vector3;
|
33 |
|
34 | interface EmoteDictionary {
|
35 |
|
36 | [emoteName: string]: Array<number>;
|
37 | }
|
38 |
|
39 | type EquippedEmotes = Array<{ Name: string; Slot: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 }>;
|
40 |
|
41 | interface UserInfo {
|
42 | Id: number;
|
43 | Username: string;
|
44 | DisplayName: string;
|
45 | }
|
46 |
|
47 | interface GroupInfo {
|
48 | Name: string;
|
49 | Id: number;
|
50 | Owner: {
|
51 | Name: string;
|
52 | Id: number;
|
53 | };
|
54 | EmblemUrl: string;
|
55 | Description: string;
|
56 | Roles: Array<{
|
57 | Name: string;
|
58 | Rank: number;
|
59 | }>;
|
60 | }
|
61 |
|
62 | interface GetGroupsAsyncResult {
|
63 | Name: string;
|
64 | Id: number;
|
65 | EmblemUrl: string;
|
66 | Description: string;
|
67 | Rank: number;
|
68 | Role: string;
|
69 | IsPrimary: boolean;
|
70 | IsInClan: boolean;
|
71 | }
|
72 |
|
73 | type HttpHeaders = Record<string, string> | Map<string, string>;
|
74 | interface RequestAsyncRequest {
|
75 | Url: string;
|
76 | Method?: "GET" | "HEAD" | "POST" | "PUT" | "DELETE" | "PATCH";
|
77 | Body?: string;
|
78 | Headers?: HttpHeaders;
|
79 | }
|
80 |
|
81 | interface RequestAsyncResponse {
|
82 | Success: boolean;
|
83 | StatusCode: number;
|
84 | StatusMessage: string;
|
85 | Headers: Record<string, string>;
|
86 | Body: string;
|
87 | }
|
88 |
|
89 | interface SetInfo {
|
90 | AssetSetId: string;
|
91 | CategoryId: string;
|
92 | CreatorName: string;
|
93 | Description: string;
|
94 | ImageAssetId: string;
|
95 | Name: string;
|
96 | SetType: string;
|
97 | }
|
98 |
|
99 | interface CollectionInfo {
|
100 | AssetId: string;
|
101 | AssetSetId: string;
|
102 | AssetVersionId: string;
|
103 | IsTrusted: boolean;
|
104 | Name: string;
|
105 | CreatorName: string;
|
106 | }
|
107 |
|
108 | interface FreeSearchResult {
|
109 | CurrentStartIndex: string;
|
110 | Results: Array<{
|
111 | AssetId: string;
|
112 | AssetVersionId: string;
|
113 | CreatorName: string;
|
114 | Name: string;
|
115 | }>;
|
116 | TotalCount: string;
|
117 | }
|
118 |
|
119 | interface LocalizationEntry {
|
120 | Key: string;
|
121 | Source: string;
|
122 | Context: string;
|
123 | Example: string;
|
124 | Values: Map<string, string>;
|
125 | }
|
126 |
|
127 | interface LogInfo {
|
128 | message: string;
|
129 | messageType: Enum.MessageType;
|
130 | timestamp: number;
|
131 | }
|
132 |
|
133 | interface ReceiptInfo {
|
134 |
|
135 | PlayerId: number;
|
136 |
|
137 | PlaceIdWherePurchased: number;
|
138 |
|
139 | PurchaseId: string;
|
140 |
|
141 | ProductId: number;
|
142 |
|
143 | CurrencyType: Enum.CurrencyType;
|
144 |
|
145 | CurrencySpent: number;
|
146 | }
|
147 |
|
148 | interface ProductInfo {
|
149 |
|
150 | Name: string;
|
151 |
|
152 | Description: string | undefined;
|
153 |
|
154 | PriceInRobux: number | undefined;
|
155 |
|
156 | Created: string;
|
157 |
|
158 | Updated: string;
|
159 |
|
160 | IsForSale: boolean;
|
161 |
|
162 | Sales: number | undefined;
|
163 | ProductId: number;
|
164 |
|
165 | Creator: {
|
166 |
|
167 | CreatorType: "User" | "Group" | undefined;
|
168 |
|
169 | CreatorTargetId: number;
|
170 |
|
171 | Name: string | undefined;
|
172 | };
|
173 | TargetId: number;
|
174 | }
|
175 |
|
176 | interface AssetProductInfo extends ProductInfo {
|
177 |
|
178 | ProductType: "User Product";
|
179 |
|
180 | AssetId: number;
|
181 |
|
182 | AssetTypeId: AssetTypeId;
|
183 |
|
184 | IsNew: boolean;
|
185 |
|
186 | IsLimited: boolean;
|
187 |
|
188 | IsLimitedUnique: boolean;
|
189 |
|
190 | IsPublicDomain: boolean;
|
191 |
|
192 | Remaining: number | undefined;
|
193 |
|
194 | ContentRatingTypeId: number;
|
195 |
|
196 | MinimumMembershipLevel: number;
|
197 | }
|
198 |
|
199 | interface DeveloperProductInfo extends ProductInfo {
|
200 |
|
201 | ProductType: "Developer Product";
|
202 | IconImageAssetId: number;
|
203 | }
|
204 |
|
205 | interface GamePassProductInfo extends ProductInfo {
|
206 |
|
207 | ProductType: "Game Pass";
|
208 | IconImageAssetId: number;
|
209 | }
|
210 |
|
211 | interface SubscriptionProductInfo extends ProductInfo {
|
212 |
|
213 | ProductType: "Subscription";
|
214 | }
|
215 |
|
216 | interface BadgeInfo {
|
217 |
|
218 | Name: string;
|
219 |
|
220 | Description: string;
|
221 |
|
222 | IconImageId: number;
|
223 |
|
224 | IsEnabled: boolean;
|
225 | }
|
226 |
|
227 | interface BundleInfo {
|
228 |
|
229 | BundleType: "BodyParts" | "AvatarAnimations";
|
230 |
|
231 |
|
232 | Description: string;
|
233 |
|
234 |
|
235 | Id: number;
|
236 |
|
237 |
|
238 | Items: Array<{
|
239 |
|
240 | Id: number;
|
241 |
|
242 | Name: string;
|
243 |
|
244 | Type: "Asset" | "UserOutfit";
|
245 | }>;
|
246 |
|
247 |
|
248 | Name: string;
|
249 | }
|
250 |
|
251 | type TeleportData = string | number | boolean | Array<unknown> | Map<unknown, unknown>;
|
252 |
|
253 | type PlayerJoinInfo = {
|
254 |
|
255 | TeleportData?: TeleportData;
|
256 | } & (
|
257 | | {
|
258 | SourceGameId: undefined;
|
259 | SourcePlaceId: undefined;
|
260 | Members: undefined;
|
261 | }
|
262 | | {
|
263 |
|
264 | SourceGameId: number;
|
265 |
|
266 | SourcePlaceId: number;
|
267 |
|
268 | Members: Array<number>;
|
269 | }
|
270 | );
|
271 |
|
272 | interface BoundActionInfo {
|
273 | inputTypes: Array<Enum.KeyCode | Enum.PlayerActions | Enum.UserInputType | string>;
|
274 | priorityLevel: number;
|
275 | stackOrder: number;
|
276 | }
|
277 |
|
278 | declare const enum AssetTypeId {
|
279 | Image = 1,
|
280 | TeeShirt = 2,
|
281 | Audio = 3,
|
282 | Mesh = 4,
|
283 | Lua = 5,
|
284 | Hat = 8,
|
285 | Place = 9,
|
286 | Model = 10,
|
287 | Shirt = 11,
|
288 | Pants = 12,
|
289 | Decal = 13,
|
290 | Head = 17,
|
291 | Face = 18,
|
292 | Gear = 19,
|
293 | Badge = 21,
|
294 | Animation = 24,
|
295 | Torso = 27,
|
296 | RightArm = 28,
|
297 | LeftArm = 29,
|
298 | LeftLeg = 30,
|
299 | RightLeg = 31,
|
300 | Package = 32,
|
301 | GamePass = 34,
|
302 | Plugin = 38,
|
303 | MeshPart = 40,
|
304 | HairAccessory = 41,
|
305 | FaceAccessory = 42,
|
306 | NeckAccessory = 43,
|
307 | ShoulderAccessory = 44,
|
308 | FrontAccessory = 45,
|
309 | BackAccessory = 46,
|
310 | WaistAccessory = 47,
|
311 | ClimbAnimation = 48,
|
312 | DeathAnimation = 49,
|
313 | FallAnimation = 50,
|
314 | IdleAnimation = 51,
|
315 | JumpAnimation = 52,
|
316 | RunAnimation = 53,
|
317 | SwimAnimation = 54,
|
318 | WalkAnimation = 55,
|
319 | PoseAnimation = 56,
|
320 | EarAccessory = 57,
|
321 | EyeAccessory = 58,
|
322 | }
|
323 |
|
324 | interface AgentParameters {
|
325 |
|
326 | AgentRadius?: number;
|
327 | |
328 |
|
329 |
|
330 | AgentHeight?: number;
|
331 |
|
332 | AgentCanJump?: boolean;
|
333 |
|
334 | WaypointSpacing?: number;
|
335 |
|
336 | Costs?: { [K in Enum.Material["Name"]]?: number } & { [index: string]: number };
|
337 | }
|
338 |
|
339 | interface CollisionGroupInfo {
|
340 | id: number;
|
341 | mask: number;
|
342 | name: string;
|
343 | }
|
344 |
|
345 | declare const enum LocationType {
|
346 | MobileWebsite = 0,
|
347 | MobileInGame = 1,
|
348 | Website = 2,
|
349 | Studio = 3,
|
350 | InGame = 4,
|
351 | XBoxApp = 5,
|
352 | TeamCreate = 6,
|
353 | }
|
354 |
|
355 | interface FriendOnlineInfoBase {
|
356 |
|
357 | VisitorId: number;
|
358 |
|
359 | UserName: string;
|
360 |
|
361 | DisplayName: string;
|
362 |
|
363 | LastOnline: string;
|
364 |
|
365 | IsOnline: boolean;
|
366 |
|
367 | LastLocation: string;
|
368 | }
|
369 |
|
370 | interface FriendOnlineInfoWebsite extends FriendOnlineInfoBase {
|
371 | |
372 |
|
373 |
|
374 | LocationType: LocationType.MobileWebsite | LocationType.Website | LocationType.XBoxApp;
|
375 | }
|
376 |
|
377 | interface FriendOnlineInfoGame extends FriendOnlineInfoBase {
|
378 | |
379 |
|
380 |
|
381 | LocationType: LocationType.MobileInGame | LocationType.InGame | LocationType.TeamCreate;
|
382 |
|
383 | PlaceId: number;
|
384 | |
385 |
|
386 |
|
387 | GameId: string;
|
388 | }
|
389 |
|
390 | interface FriendOnlineInfoStudio extends FriendOnlineInfoBase {
|
391 | |
392 |
|
393 |
|
394 | LocationType: LocationType.Studio;
|
395 |
|
396 | PlaceId: number;
|
397 | }
|
398 |
|
399 | type FriendOnlineInfo = FriendOnlineInfoWebsite | FriendOnlineInfoGame | FriendOnlineInfoStudio;
|
400 |
|
401 |
|
402 | type AssetType =
|
403 | | { id: AssetTypeId.Image; name: "Image" }
|
404 | | { id: AssetTypeId.TeeShirt; name: "TeeShirt" }
|
405 | | { id: AssetTypeId.Audio; name: "Audio" }
|
406 | | { id: AssetTypeId.Mesh; name: "Mesh" }
|
407 | | { id: AssetTypeId.Lua; name: "Lua" }
|
408 | | { id: AssetTypeId.Hat; name: "Hat" }
|
409 | | { id: AssetTypeId.Place; name: "Place" }
|
410 | | { id: AssetTypeId.Model; name: "Model" }
|
411 | | { id: AssetTypeId.Shirt; name: "Shirt" }
|
412 | | { id: AssetTypeId.Pants; name: "Pants" }
|
413 | | { id: AssetTypeId.Decal; name: "Decal" }
|
414 | | { id: AssetTypeId.Head; name: "Head" }
|
415 | | { id: AssetTypeId.Face; name: "Face" }
|
416 | | { id: AssetTypeId.Gear; name: "Gear" }
|
417 | | { id: AssetTypeId.Badge; name: "Badge" }
|
418 | | { id: AssetTypeId.Animation; name: "Animation" }
|
419 | | { id: AssetTypeId.Torso; name: "Torso" }
|
420 | | { id: AssetTypeId.RightArm; name: "RightArm" }
|
421 | | { id: AssetTypeId.LeftArm; name: "LeftArm" }
|
422 | | { id: AssetTypeId.LeftLeg; name: "LeftLeg" }
|
423 | | { id: AssetTypeId.RightLeg; name: "RightLeg" }
|
424 | | { id: AssetTypeId.Package; name: "Package" }
|
425 | | { id: AssetTypeId.GamePass; name: "GamePass" }
|
426 | | { id: AssetTypeId.Plugin; name: "Plugin" }
|
427 | | { id: AssetTypeId.MeshPart; name: "MeshPart" }
|
428 | | { id: AssetTypeId.HairAccessory; name: "HairAccessory" }
|
429 | | { id: AssetTypeId.FaceAccessory; name: "FaceAccessory" }
|
430 | | { id: AssetTypeId.NeckAccessory; name: "NeckAccessory" }
|
431 | | { id: AssetTypeId.ShoulderAccessory; name: "ShoulderAccessory" }
|
432 | | { id: AssetTypeId.FrontAccessory; name: "FrontAccessory" }
|
433 | | { id: AssetTypeId.BackAccessory; name: "BackAccessory" }
|
434 | | { id: AssetTypeId.WaistAccessory; name: "WaistAccessory" }
|
435 | | { id: AssetTypeId.ClimbAnimation; name: "ClimbAnimation" }
|
436 | | { id: AssetTypeId.DeathAnimation; name: "DeathAnimation" }
|
437 | | { id: AssetTypeId.FallAnimation; name: "FallAnimation" }
|
438 | | { id: AssetTypeId.IdleAnimation; name: "IdleAnimation" }
|
439 | | { id: AssetTypeId.JumpAnimation; name: "JumpAnimation" }
|
440 | | { id: AssetTypeId.RunAnimation; name: "RunAnimation" }
|
441 | | { id: AssetTypeId.SwimAnimation; name: "SwimAnimation" }
|
442 | | { id: AssetTypeId.WalkAnimation; name: "WalkAnimation" }
|
443 | | { id: AssetTypeId.PoseAnimation; name: "PoseAnimation" }
|
444 | | { id: AssetTypeId.EarAccessory; name: "EarAccessory" }
|
445 | | { id: AssetTypeId.EyeAccessory; name: "EyeAccessory" };
|
446 |
|
447 |
|
448 | interface CharacterAppearanceInfo {
|
449 |
|
450 | bodyColors: {
|
451 |
|
452 | leftArmColorId: keyof BrickColorsByNumber;
|
453 |
|
454 | torsoColorId: keyof BrickColorsByNumber;
|
455 |
|
456 | rightArmColorId: keyof BrickColorsByNumber;
|
457 |
|
458 | headColorId: keyof BrickColorsByNumber;
|
459 |
|
460 | leftLegColorId: keyof BrickColorsByNumber;
|
461 |
|
462 | rightLegColorId: keyof BrickColorsByNumber;
|
463 | };
|
464 |
|
465 |
|
466 | assets: Array<{
|
467 |
|
468 | id: number;
|
469 |
|
470 |
|
471 | assetType: AssetType;
|
472 |
|
473 |
|
474 | name: string;
|
475 | }>;
|
476 |
|
477 |
|
478 | defaultPantsApplied: boolean;
|
479 |
|
480 |
|
481 | defaultShirtApplied: boolean;
|
482 |
|
483 |
|
484 | playerAvatarType: "R6" | "R15";
|
485 |
|
486 |
|
487 | scales: {
|
488 | bodyType: number;
|
489 | head: number;
|
490 | height: number;
|
491 | proportion: number;
|
492 | depth: number;
|
493 | width: number;
|
494 | };
|
495 | }
|
496 |
|
497 | interface MakeSystemMessageConfig {
|
498 | Text: string;
|
499 | Color?: Color3;
|
500 | Font?: Enum.Font;
|
501 | TextSize?: number;
|
502 | }
|
503 |
|
504 | interface SendNotificationConfig {
|
505 | Title: string;
|
506 | Text: string;
|
507 | Icon?: string;
|
508 | Duration?: number;
|
509 | Callback?: BindableFunction;
|
510 | Button1?: string;
|
511 | Button2?: string;
|
512 | }
|
513 |
|
514 | interface PolicyInfo {
|
515 |
|
516 | ArePaidRandomItemsRestricted: boolean;
|
517 |
|
518 | IsSubjectToChinaPolicies: boolean;
|
519 |
|
520 | AllowedExternalLinkReferences: Array<string>;
|
521 | }
|
522 |
|
523 |
|
524 |
|
525 |
|
526 |
|
527 |
|
528 | interface RBXScriptConnection {
|
529 | |
530 |
|
531 |
|
532 |
|
533 | Connected: boolean;
|
534 |
|
535 | Disconnect(this: RBXScriptConnection): void;
|
536 | }
|
537 |
|
538 |
|
539 |
|
540 |
|
541 |
|
542 |
|
543 |
|
544 | interface RBXScriptSignal<T extends Callback = Callback> {
|
545 | |
546 |
|
547 |
|
548 |
|
549 |
|
550 | Connect(this: RBXScriptSignal, callback: T): RBXScriptConnection;
|
551 |
|
552 | ConnectParallel(this: RBXScriptSignal, callback: T): RBXScriptConnection;
|
553 |
|
554 | Once(this: RBXScriptSignal, callback: T): RBXScriptConnection;
|
555 |
|
556 | |
557 |
|
558 |
|
559 | Wait(this: RBXScriptSignal): LuaTuple<Parameters<T>>;
|
560 | }
|
561 |
|
562 |
|
563 | interface Instances {}
|
564 | interface CreatableInstances {}
|
565 |
|
566 |
|
567 | interface InstanceConstructor {
|
568 | |
569 |
|
570 |
|
571 |
|
572 |
|
573 |
|
574 |
|
575 |
|
576 |
|
577 |
|
578 | new <T extends keyof CreatableInstances>(className: T, parent?: Instance): CreatableInstances[T];
|
579 | }
|
580 |
|
581 | declare const Instance: InstanceConstructor;
|
582 |
|
583 |
|
584 |
|
585 |
|
586 | interface Axes {
|
587 | |
588 |
|
589 |
|
590 |
|
591 |
|
592 |
|
593 |
|
594 | readonly _nominal_Axes: unique symbol;
|
595 |
|
596 | readonly X: boolean;
|
597 |
|
598 | readonly Y: boolean;
|
599 |
|
600 | readonly Z: boolean;
|
601 |
|
602 | readonly Top: boolean;
|
603 |
|
604 | readonly Bottom: boolean;
|
605 |
|
606 | readonly Left: boolean;
|
607 |
|
608 | readonly Right: boolean;
|
609 |
|
610 | readonly Back: boolean;
|
611 |
|
612 | readonly Front: boolean;
|
613 | }
|
614 |
|
615 | type AxesConstructor = new (...axes: Array<Enum.Axis | Enum.NormalId>) => Axes;
|
616 | declare const Axes: AxesConstructor;
|
617 |
|
618 | interface BrickColor<T extends keyof BrickColorsByNumber = keyof BrickColorsByNumber> {
|
619 | |
620 |
|
621 |
|
622 |
|
623 |
|
624 |
|
625 |
|
626 | readonly _nominal_BrickColor: unique symbol;
|
627 |
|
628 | readonly Number: T;
|
629 |
|
630 | readonly Name: BrickColorsByNumber[T];
|
631 |
|
632 | readonly Color: Color3;
|
633 |
|
634 | readonly r: number;
|
635 |
|
636 | readonly g: number;
|
637 |
|
638 | readonly b: number;
|
639 | }
|
640 |
|
641 | interface BrickColorsByNumber {
|
642 | 1: "White";
|
643 | 2: "Grey";
|
644 | 3: "Light yellow";
|
645 | 5: "Brick yellow";
|
646 | 6: "Light green (Mint)";
|
647 | 9: "Light reddish violet";
|
648 | 11: "Pastel Blue";
|
649 | 12: "Light orange brown";
|
650 | 18: "Nougat";
|
651 | 21: "Bright red";
|
652 | 22: "Med. reddish violet";
|
653 | 23: "Bright blue";
|
654 | 24: "Bright yellow";
|
655 | 25: "Earth orange";
|
656 | 26: "Black";
|
657 | 27: "Dark grey";
|
658 | 28: "Dark green";
|
659 | 29: "Medium green";
|
660 | 36: "Lig. Yellowich orange";
|
661 | 37: "Bright green";
|
662 | 38: "Dark orange";
|
663 | 39: "Light bluish violet";
|
664 | 40: "Transparent";
|
665 | 41: "Tr. Red";
|
666 | 42: "Tr. Lg blue";
|
667 | 43: "Tr. Blue";
|
668 | 44: "Tr. Yellow";
|
669 | 45: "Light blue";
|
670 | 47: "Tr. Flu. Reddish orange";
|
671 | 48: "Tr. Green";
|
672 | 49: "Tr. Flu. Green";
|
673 | 50: "Phosph. White";
|
674 | 100: "Light red";
|
675 | 101: "Medium red";
|
676 | 102: "Medium blue";
|
677 | 103: "Light grey";
|
678 | 104: "Bright violet";
|
679 | 105: "Br. yellowish orange";
|
680 | 106: "Bright orange";
|
681 | 107: "Bright bluish green";
|
682 | 108: "Earth yellow";
|
683 | 110: "Bright bluish violet";
|
684 | 111: "Tr. Brown";
|
685 | 112: "Medium bluish violet";
|
686 | 113: "Tr. Medi. reddish violet";
|
687 | 115: "Med. yellowish green";
|
688 | 116: "Med. bluish green";
|
689 | 118: "Light bluish green";
|
690 | 119: "Br. yellowish green";
|
691 | 120: "Lig. yellowish green";
|
692 | 121: "Med. yellowish orange";
|
693 | 123: "Br. reddish orange";
|
694 | 124: "Bright reddish violet";
|
695 | 125: "Light orange";
|
696 | 126: "Tr. Bright bluish violet";
|
697 | 127: "Gold";
|
698 | 128: "Dark nougat";
|
699 | 131: "Silver";
|
700 | 133: "Neon orange";
|
701 | 134: "Neon green";
|
702 | 135: "Sand blue";
|
703 | 136: "Sand violet";
|
704 | 137: "Medium orange";
|
705 | 138: "Sand yellow";
|
706 | 140: "Earth blue";
|
707 | 141: "Earth green";
|
708 | 143: "Tr. Flu. Blue";
|
709 | 145: "Sand blue metallic";
|
710 | 146: "Sand violet metallic";
|
711 | 147: "Sand yellow metallic";
|
712 | 148: "Dark grey metallic";
|
713 | 149: "Black metallic";
|
714 | 150: "Light grey metallic";
|
715 | 151: "Sand green";
|
716 | 153: "Sand red";
|
717 | 154: "Dark red";
|
718 | 157: "Tr. Flu. Yellow";
|
719 | 158: "Tr. Flu. Red";
|
720 | 168: "Gun metallic";
|
721 | 176: "Red flip/flop";
|
722 | 178: "Yellow flip/flop";
|
723 | 179: "Silver flip/flop";
|
724 | 180: "Curry";
|
725 | 190: "Fire Yellow";
|
726 | 191: "Flame yellowish orange";
|
727 | 192: "Reddish brown";
|
728 | 193: "Flame reddish orange";
|
729 | 194: "Medium stone grey";
|
730 | 195: "Royal blue";
|
731 | 196: "Dark Royal blue";
|
732 | 198: "Bright reddish lilac";
|
733 | 199: "Dark stone grey";
|
734 | 200: "Lemon metalic";
|
735 | 208: "Light stone grey";
|
736 | 209: "Dark Curry";
|
737 | 210: "Faded green";
|
738 | 211: "Turquoise";
|
739 | 212: "Light Royal blue";
|
740 | 213: "Medium Royal blue";
|
741 | 216: "Rust";
|
742 | 217: "Brown";
|
743 | 218: "Reddish lilac";
|
744 | 219: "Lilac";
|
745 | 220: "Light lilac";
|
746 | 221: "Bright purple";
|
747 | 222: "Light purple";
|
748 | 223: "Light pink";
|
749 | 224: "Light brick yellow";
|
750 | 225: "Warm yellowish orange";
|
751 | 226: "Cool yellow";
|
752 | 232: "Dove blue";
|
753 | 268: "Medium lilac";
|
754 | 301: "Slime green";
|
755 | 302: "Smoky grey";
|
756 | 303: "Dark blue";
|
757 | 304: "Parsley green";
|
758 | 305: "Steel blue";
|
759 | 306: "Storm blue";
|
760 | 307: "Lapis";
|
761 | 308: "Dark indigo";
|
762 | 309: "Sea green";
|
763 | 310: "Shamrock";
|
764 | 311: "Fossil";
|
765 | 312: "Mulberry";
|
766 | 313: "Forest green";
|
767 | 314: "Cadet blue";
|
768 | 315: "Electric blue";
|
769 | 316: "Eggplant";
|
770 | 317: "Moss";
|
771 | 318: "Artichoke";
|
772 | 319: "Sage green";
|
773 | 320: "Ghost grey";
|
774 | 321: "Lilac";
|
775 | 322: "Plum";
|
776 | 323: "Olivine";
|
777 | 324: "Laurel green";
|
778 | 325: "Quill grey";
|
779 | 327: "Crimson";
|
780 | 328: "Mint";
|
781 | 329: "Baby blue";
|
782 | 330: "Carnation pink";
|
783 | 331: "Persimmon";
|
784 | 332: "Maroon";
|
785 | 333: "Gold";
|
786 | 334: "Daisy orange";
|
787 | 335: "Pearl";
|
788 | 336: "Fog";
|
789 | 337: "Salmon";
|
790 | 338: "Terra Cotta";
|
791 | 339: "Cocoa";
|
792 | 340: "Wheat";
|
793 | 341: "Buttermilk";
|
794 | 342: "Mauve";
|
795 | 343: "Sunrise";
|
796 | 344: "Tawny";
|
797 | 345: "Rust";
|
798 | 346: "Cashmere";
|
799 | 347: "Khaki";
|
800 | 348: "Lily white";
|
801 | 349: "Seashell";
|
802 | 350: "Burgundy";
|
803 | 351: "Cork";
|
804 | 352: "Burlap";
|
805 | 353: "Beige";
|
806 | 354: "Oyster";
|
807 | 355: "Pine Cone";
|
808 | 356: "Fawn brown";
|
809 | 357: "Hurricane grey";
|
810 | 358: "Cloudy grey";
|
811 | 359: "Linen";
|
812 | 360: "Copper";
|
813 | 361: "Dirt brown";
|
814 | 362: "Bronze";
|
815 | 363: "Flint";
|
816 | 364: "Dark taupe";
|
817 | 365: "Burnt Sienna";
|
818 | 1001: "Institutional white";
|
819 | 1002: "Mid gray";
|
820 | 1003: "Really black";
|
821 | 1004: "Really red";
|
822 | 1005: "Deep orange";
|
823 | 1006: "Alder";
|
824 | 1007: "Dusty Rose";
|
825 | 1008: "Olive";
|
826 | 1009: "New Yeller";
|
827 | 1010: "Really blue";
|
828 | 1011: "Navy blue";
|
829 | 1012: "Deep blue";
|
830 | 1013: "Cyan";
|
831 | 1014: "CGA brown";
|
832 | 1015: "Magenta";
|
833 | 1016: "Pink";
|
834 | 1017: "Deep orange";
|
835 | 1018: "Teal";
|
836 | 1019: "Toothpaste";
|
837 | 1020: "Lime green";
|
838 | 1021: "Camo";
|
839 | 1022: "Grime";
|
840 | 1023: "Lavender";
|
841 | 1024: "Pastel light blue";
|
842 | 1025: "Pastel orange";
|
843 | 1026: "Pastel violet";
|
844 | 1027: "Pastel blue-green";
|
845 | 1028: "Pastel green";
|
846 | 1029: "Pastel yellow";
|
847 | 1030: "Pastel brown";
|
848 | 1031: "Royal purple";
|
849 | 1032: "Hot pink";
|
850 | }
|
851 |
|
852 | interface BrickColorsByPalette {
|
853 | 0: 141;
|
854 | 1: 301;
|
855 | 2: 107;
|
856 | 3: 26;
|
857 | 4: 1012;
|
858 | 5: 303;
|
859 | 6: 1011;
|
860 | 7: 304;
|
861 | 8: 28;
|
862 | 9: 1018;
|
863 | 10: 302;
|
864 | 11: 305;
|
865 | 12: 306;
|
866 | 13: 307;
|
867 | 14: 308;
|
868 | 15: 1021;
|
869 | 16: 309;
|
870 | 17: 310;
|
871 | 18: 1019;
|
872 | 19: 135;
|
873 | 20: 102;
|
874 | 21: 23;
|
875 | 22: 1010;
|
876 | 23: 312;
|
877 | 24: 313;
|
878 | 25: 37;
|
879 | 26: 1022;
|
880 | 27: 1020;
|
881 | 28: 1027;
|
882 | 29: 311;
|
883 | 30: 315;
|
884 | 31: 1023;
|
885 | 32: 1031;
|
886 | 33: 316;
|
887 | 34: 151;
|
888 | 35: 317;
|
889 | 36: 318;
|
890 | 37: 319;
|
891 | 38: 1024;
|
892 | 39: 314;
|
893 | 40: 1013;
|
894 | 41: 1006;
|
895 | 42: 321;
|
896 | 43: 322;
|
897 | 44: 104;
|
898 | 45: 1008;
|
899 | 46: 119;
|
900 | 47: 323;
|
901 | 48: 324;
|
902 | 49: 325;
|
903 | 50: 320;
|
904 | 51: 11;
|
905 | 52: 1026;
|
906 | 53: 1016;
|
907 | 54: 1032;
|
908 | 55: 1015;
|
909 | 56: 327;
|
910 | 57: 1005;
|
911 | 58: 1009;
|
912 | 59: 29;
|
913 | 60: 328;
|
914 | 61: 1028;
|
915 | 62: 208;
|
916 | 63: 45;
|
917 | 64: 329;
|
918 | 65: 330;
|
919 | 66: 331;
|
920 | 67: 1004;
|
921 | 68: 21;
|
922 | 69: 332;
|
923 | 70: 333;
|
924 | 71: 24;
|
925 | 72: 334;
|
926 | 73: 226;
|
927 | 74: 1029;
|
928 | 75: 335;
|
929 | 76: 336;
|
930 | 77: 342;
|
931 | 78: 343;
|
932 | 79: 338;
|
933 | 80: 1007;
|
934 | 81: 339;
|
935 | 82: 133;
|
936 | 83: 106;
|
937 | 84: 340;
|
938 | 85: 341;
|
939 | 86: 1001;
|
940 | 87: 1;
|
941 | 88: 9;
|
942 | 89: 1025;
|
943 | 90: 337;
|
944 | 91: 344;
|
945 | 92: 345;
|
946 | 93: 1014;
|
947 | 94: 105;
|
948 | 95: 346;
|
949 | 96: 347;
|
950 | 97: 348;
|
951 | 98: 349;
|
952 | 99: 1030;
|
953 | 100: 125;
|
954 | 101: 101;
|
955 | 102: 350;
|
956 | 103: 192;
|
957 | 104: 351;
|
958 | 105: 352;
|
959 | 106: 353;
|
960 | 107: 354;
|
961 | 108: 1002;
|
962 | 109: 5;
|
963 | 110: 18;
|
964 | 111: 217;
|
965 | 112: 355;
|
966 | 113: 356;
|
967 | 114: 153;
|
968 | 115: 357;
|
969 | 116: 358;
|
970 | 117: 359;
|
971 | 118: 360;
|
972 | 119: 38;
|
973 | 120: 361;
|
974 | 121: 362;
|
975 | 122: 199;
|
976 | 123: 194;
|
977 | 124: 363;
|
978 | 125: 364;
|
979 | 126: 365;
|
980 | 127: 1003;
|
981 | }
|
982 |
|
983 | interface BrickColorConstructor {
|
984 |
|
985 | random: () => BrickColor;
|
986 |
|
987 |
|
988 | White: () => BrickColor<1>;
|
989 |
|
990 | Gray: () => BrickColor<194>;
|
991 |
|
992 | DarkGray: () => BrickColor<199>;
|
993 |
|
994 | Black: () => BrickColor<26>;
|
995 |
|
996 | Red: () => BrickColor<21>;
|
997 |
|
998 | Yellow: () => BrickColor<24>;
|
999 |
|
1000 | Green: () => BrickColor<28>;
|
1001 |
|
1002 | Blue: () => BrickColor<23>;
|
1003 |
|
1004 |
|
1005 | new <T extends BrickColorsByNumber[keyof BrickColorsByNumber]>(val: T): BrickColor<
|
1006 | { [K in keyof BrickColorsByNumber]: T extends BrickColorsByNumber[K] ? K : never }[keyof BrickColorsByNumber]
|
1007 | >;
|
1008 |
|
1009 |
|
1010 | new <T extends keyof BrickColorsByNumber>(val: T): BrickColor<T>;
|
1011 |
|
1012 |
|
1013 | new (val: number): BrickColor;
|
1014 |
|
1015 |
|
1016 | new (r: number, g: number, b: number): BrickColor;
|
1017 |
|
1018 |
|
1019 | new (color: Color3): BrickColor;
|
1020 |
|
1021 |
|
1022 | palette<T extends keyof BrickColorsByPalette>(this: void, paletteValue: T): BrickColor<BrickColorsByPalette[T]>;
|
1023 | palette(this: void, paletteValue: number): BrickColor;
|
1024 | }
|
1025 |
|
1026 | declare const BrickColor: BrickColorConstructor;
|
1027 |
|
1028 |
|
1029 | interface CatalogSearchParams {
|
1030 | |
1031 |
|
1032 |
|
1033 |
|
1034 |
|
1035 |
|
1036 |
|
1037 | readonly _nominal_CatalogSearchParams: unique symbol;
|
1038 | SearchKeyword: string;
|
1039 | CategoryFilter: Enum.CatalogCategoryFilter;
|
1040 | SortType: Enum.CatalogSortType;
|
1041 | BundleTypes: string;
|
1042 | AssetTypes: string;
|
1043 | }
|
1044 |
|
1045 | interface CatalogSearchParamsConstructor {
|
1046 | new (): CatalogSearchParams;
|
1047 | }
|
1048 |
|
1049 | declare const CatalogSearchParams: CatalogSearchParamsConstructor;
|
1050 |
|
1051 |
|
1052 | interface CFrame {
|
1053 | |
1054 |
|
1055 |
|
1056 |
|
1057 |
|
1058 |
|
1059 |
|
1060 | readonly _nominal_CFrame: unique symbol;
|
1061 |
|
1062 | readonly Position: Vector3;
|
1063 |
|
1064 | readonly Rotation: CFrame;
|
1065 |
|
1066 | readonly X: number;
|
1067 |
|
1068 | readonly Y: number;
|
1069 |
|
1070 | readonly Z: number;
|
1071 |
|
1072 | readonly LookVector: Vector3;
|
1073 |
|
1074 | readonly RightVector: Vector3;
|
1075 |
|
1076 | readonly UpVector: Vector3;
|
1077 |
|
1078 | readonly XVector: Vector3;
|
1079 |
|
1080 | readonly YVector: Vector3;
|
1081 |
|
1082 | readonly ZVector: Vector3;
|
1083 |
|
1084 | Inverse(this: CFrame): CFrame;
|
1085 |
|
1086 | Lerp(this: CFrame, goal: CFrame, alpha: number): CFrame;
|
1087 |
|
1088 | ToWorldSpace(this: CFrame, cf: CFrame): CFrame;
|
1089 |
|
1090 | ToObjectSpace(this: CFrame, cf: CFrame): CFrame;
|
1091 |
|
1092 | PointToWorldSpace(this: CFrame, v3: Vector3): Vector3;
|
1093 |
|
1094 | PointToObjectSpace(this: CFrame, v3: Vector3): Vector3;
|
1095 |
|
1096 | VectorToWorldSpace(this: CFrame, v3: Vector3): Vector3;
|
1097 |
|
1098 | VectorToObjectSpace(this: CFrame, v3: Vector3): Vector3;
|
1099 |
|
1100 | GetComponents(
|
1101 | this: CFrame,
|
1102 | ): LuaTuple<[number, number, number, number, number, number, number, number, number, number, number, number]>;
|
1103 |
|
1104 | ToEulerAnglesXYZ(this: CFrame): LuaTuple<[number, number, number]>;
|
1105 |
|
1106 | ToEulerAnglesYXZ(this: CFrame): LuaTuple<[number, number, number]>;
|
1107 |
|
1108 | ToOrientation(this: CFrame): LuaTuple<[number, number, number]>;
|
1109 |
|
1110 | ToAxisAngle(this: CFrame): LuaTuple<[Vector3, number]>;
|
1111 | }
|
1112 |
|
1113 | interface CFrameConstructor {
|
1114 | |
1115 |
|
1116 |
|
1117 |
|
1118 |
|
1119 |
|
1120 |
|
1121 |
|
1122 |
|
1123 |
|
1124 | readonly identity: CFrame;
|
1125 |
|
1126 | Angles: (rX: number, rY: number, rZ: number) => CFrame;
|
1127 |
|
1128 | fromAxisAngle: (unit: Vector3, rotation: number) => CFrame;
|
1129 |
|
1130 | fromEulerAnglesXYZ: (rX: number, rY: number, rZ: number) => CFrame;
|
1131 |
|
1132 | fromEulerAnglesYXZ: (rX: number, rY: number, rZ: number) => CFrame;
|
1133 | |
1134 |
|
1135 |
|
1136 | fromMatrix: (pos: Vector3, vX: Vector3, vY: Vector3, vZ?: Vector3) => CFrame;
|
1137 |
|
1138 | fromOrientation: (rX: number, rY: number, rZ: number) => CFrame;
|
1139 | |
1140 |
|
1141 |
|
1142 |
|
1143 |
|
1144 | lookAt: (at: Vector3, lookAt: Vector3, up?: Vector3) => CFrame;
|
1145 |
|
1146 | new (pos: Vector3): CFrame;
|
1147 |
|
1148 | new (x: number, y: number, z: number): CFrame;
|
1149 |
|
1150 | new (): CFrame;
|
1151 |
|
1152 | new (x: number, y: number, z: number, qX: number, qY: number, qZ: number, qW: number): CFrame;
|
1153 |
|
1154 | new (
|
1155 | x: number,
|
1156 | y: number,
|
1157 | z: number,
|
1158 | R00: number,
|
1159 | R01: number,
|
1160 | R02: number,
|
1161 | R10: number,
|
1162 | R11: number,
|
1163 | R12: number,
|
1164 | R20: number,
|
1165 | R21: number,
|
1166 | R22: number,
|
1167 | ): CFrame;
|
1168 |
|
1169 | new (pos: Vector3, lookAt: Vector3): CFrame;
|
1170 | }
|
1171 |
|
1172 | declare const CFrame: CFrameConstructor;
|
1173 |
|
1174 | interface Color3 {
|
1175 | |
1176 |
|
1177 |
|
1178 |
|
1179 |
|
1180 |
|
1181 |
|
1182 | readonly _nominal_Color3: unique symbol;
|
1183 |
|
1184 | readonly R: number;
|
1185 |
|
1186 | readonly G: number;
|
1187 |
|
1188 | readonly B: number;
|
1189 |
|
1190 | Lerp(this: Color3, goal: Color3, alpha: number): Color3;
|
1191 |
|
1192 | ToHSV(this: Color3): LuaTuple<[number, number, number]>;
|
1193 | |
1194 |
|
1195 |
|
1196 |
|
1197 |
|
1198 |
|
1199 |
|
1200 |
|
1201 |
|
1202 |
|
1203 | ToHex(this: Color3): string;
|
1204 | }
|
1205 |
|
1206 | interface Color3Constructor {
|
1207 |
|
1208 | fromRGB: (r?: number, g?: number, b?: number) => Color3;
|
1209 |
|
1210 | fromHSV: (hue: number, sat: number, val: number) => Color3;
|
1211 |
|
1212 | toHSV: (color: Color3) => LuaTuple<[number, number, number]>;
|
1213 | |
1214 |
|
1215 |
|
1216 |
|
1217 |
|
1218 |
|
1219 |
|
1220 |
|
1221 |
|
1222 |
|
1223 |
|
1224 |
|
1225 | fromHex: (hex: string) => Color3;
|
1226 |
|
1227 | new (red?: number, green?: number, blue?: number): Color3;
|
1228 | }
|
1229 |
|
1230 | declare const Color3: Color3Constructor;
|
1231 |
|
1232 |
|
1233 | interface ColorSequence {
|
1234 | |
1235 |
|
1236 |
|
1237 |
|
1238 |
|
1239 |
|
1240 |
|
1241 | readonly _nominal_ColorSequence: unique symbol;
|
1242 | readonly Keypoints: ReadonlyArray<ColorSequenceKeypoint>;
|
1243 | }
|
1244 | interface ColorSequenceConstructor {
|
1245 | new (color: Color3): ColorSequence;
|
1246 | new (c0: Color3, c1: Color3): ColorSequence;
|
1247 | new (colors: ReadonlyArray<ColorSequenceKeypoint>): ColorSequence;
|
1248 | }
|
1249 | declare const ColorSequence: ColorSequenceConstructor;
|
1250 |
|
1251 |
|
1252 | interface ColorSequenceKeypoint {
|
1253 | |
1254 |
|
1255 |
|
1256 |
|
1257 |
|
1258 |
|
1259 |
|
1260 | readonly _nominal_ColorSequenceKeypoint: unique symbol;
|
1261 | readonly Time: number;
|
1262 | readonly Value: Color3;
|
1263 | }
|
1264 | type ColorSequenceKeypointConstructor = new (time: number, color: Color3) => ColorSequenceKeypoint;
|
1265 | declare const ColorSequenceKeypoint: ColorSequenceKeypointConstructor;
|
1266 |
|
1267 |
|
1268 |
|
1269 |
|
1270 | interface TimeValueTable {
|
1271 |
|
1272 | Year: number;
|
1273 |
|
1274 |
|
1275 | Month: number;
|
1276 |
|
1277 |
|
1278 | Day: number;
|
1279 |
|
1280 |
|
1281 | Hour: number;
|
1282 |
|
1283 |
|
1284 | Minute: number;
|
1285 |
|
1286 | |
1287 |
|
1288 |
|
1289 |
|
1290 | Second: number;
|
1291 |
|
1292 |
|
1293 | Millisecond: number;
|
1294 | }
|
1295 |
|
1296 |
|
1297 |
|
1298 |
|
1299 |
|
1300 |
|
1301 |
|
1302 |
|
1303 | interface DateTime {
|
1304 | |
1305 |
|
1306 |
|
1307 |
|
1308 |
|
1309 |
|
1310 |
|
1311 | readonly _nominal_DateTime: unique symbol;
|
1312 |
|
1313 | |
1314 |
|
1315 |
|
1316 |
|
1317 |
|
1318 | readonly UnixTimestamp: number;
|
1319 |
|
1320 | |
1321 |
|
1322 |
|
1323 |
|
1324 |
|
1325 | readonly UnixTimestampMillis: number;
|
1326 |
|
1327 |
|
1328 | ToUniversalTime(this: DateTime): TimeValueTable;
|
1329 |
|
1330 |
|
1331 | ToLocalTime(this: DateTime): TimeValueTable;
|
1332 |
|
1333 | |
1334 |
|
1335 |
|
1336 |
|
1337 | ToIsoDate(this: DateTime): string;
|
1338 |
|
1339 | |
1340 |
|
1341 |
|
1342 |
|
1343 |
|
1344 |
|
1345 |
|
1346 | FormatUniversalTime(this: DateTime, format: string, locale: string): string;
|
1347 |
|
1348 | |
1349 |
|
1350 |
|
1351 |
|
1352 |
|
1353 |
|
1354 |
|
1355 | FormatLocalTime(this: DateTime, format: string, locale: string): string;
|
1356 | }
|
1357 |
|
1358 | interface DateTimeConstructor {
|
1359 |
|
1360 | now: () => DateTime;
|
1361 |
|
1362 | |
1363 |
|
1364 |
|
1365 |
|
1366 | fromUnixTimestamp: (unixTimestamp: number) => DateTime;
|
1367 |
|
1368 | |
1369 |
|
1370 |
|
1371 |
|
1372 | fromUnixTimestampMillis: (unixTimestampMillis: number) => DateTime;
|
1373 |
|
1374 | |
1375 |
|
1376 |
|
1377 |
|
1378 |
|
1379 |
|
1380 |
|
1381 |
|
1382 |
|
1383 |
|
1384 |
|
1385 |
|
1386 |
|
1387 |
|
1388 | fromUniversalTime: (
|
1389 | year?: number,
|
1390 | month?: number,
|
1391 | day?: number,
|
1392 | hour?: number,
|
1393 | minute?: number,
|
1394 | second?: number,
|
1395 | millisecond?: number,
|
1396 | ) => DateTime;
|
1397 |
|
1398 | |
1399 |
|
1400 |
|
1401 |
|
1402 |
|
1403 |
|
1404 |
|
1405 |
|
1406 |
|
1407 |
|
1408 |
|
1409 |
|
1410 |
|
1411 |
|
1412 | fromLocalTime: (
|
1413 | year?: number,
|
1414 | month?: number,
|
1415 | day?: number,
|
1416 | hour?: number,
|
1417 | minute?: number,
|
1418 | second?: number,
|
1419 | millisecond?: number,
|
1420 | ) => DateTime;
|
1421 |
|
1422 | |
1423 |
|
1424 |
|
1425 |
|
1426 |
|
1427 |
|
1428 | fromIsoDate: (isoDate: string) => DateTime | undefined;
|
1429 | }
|
1430 |
|
1431 | declare const DateTime: DateTimeConstructor;
|
1432 |
|
1433 |
|
1434 | interface DockWidgetPluginGuiInfo {
|
1435 | |
1436 |
|
1437 |
|
1438 |
|
1439 |
|
1440 |
|
1441 |
|
1442 | readonly _nominal_DockWidgetPluginGuiInfo: unique symbol;
|
1443 | readonly InitialDockState: Enum.InitialDockState;
|
1444 | readonly InitialEnabled: boolean;
|
1445 | readonly InitialEnabledShouldOverrideRestore: boolean;
|
1446 | readonly FloatingXSize: number;
|
1447 | readonly FloatingYSize: number;
|
1448 | readonly MinWidth: number;
|
1449 | readonly MinHeight: number;
|
1450 | }
|
1451 | type DockWidgetPluginGuiInfoConstructor = new (
|
1452 | initDockState?: Enum.InitialDockState,
|
1453 | initEnabled?: boolean,
|
1454 | overrideEnabledRestore?: boolean,
|
1455 | floatXSize?: number,
|
1456 | floatYSize?: number,
|
1457 | minWidth?: number,
|
1458 | minHeight?: number,
|
1459 | ) => DockWidgetPluginGuiInfo;
|
1460 | declare const DockWidgetPluginGuiInfo: DockWidgetPluginGuiInfoConstructor;
|
1461 |
|
1462 |
|
1463 | interface Faces {
|
1464 | |
1465 |
|
1466 |
|
1467 |
|
1468 |
|
1469 |
|
1470 |
|
1471 | readonly _nominal_Faces: unique symbol;
|
1472 | readonly Top: boolean;
|
1473 | readonly Bottom: boolean;
|
1474 | readonly Back: boolean;
|
1475 | readonly Front: boolean;
|
1476 | readonly Right: boolean;
|
1477 | readonly Left: boolean;
|
1478 | }
|
1479 | type FacesConstructor = new (...ids: Array<Enum.NormalId>) => Faces;
|
1480 | declare const Faces: FacesConstructor;
|
1481 |
|
1482 |
|
1483 | interface FloatCurveKey {
|
1484 | |
1485 |
|
1486 |
|
1487 |
|
1488 |
|
1489 |
|
1490 |
|
1491 | readonly _nominal_FloatCurveKey: unique symbol;
|
1492 | readonly Time: number;
|
1493 | readonly Value: number;
|
1494 | readonly RightTangent: number;
|
1495 | readonly LeftTangent: number;
|
1496 | }
|
1497 | type FloatCurveKeyConstructor = new (
|
1498 | time: number,
|
1499 | value: number,
|
1500 | interpolation: CastsToEnum<Enum.KeyInterpolationMode>,
|
1501 | ) => FloatCurveKey;
|
1502 | declare const FloatCurveKey: FloatCurveKeyConstructor;
|
1503 |
|
1504 |
|
1505 | interface Font {
|
1506 | Bold: boolean;
|
1507 | Style: Enum.FontStyle;
|
1508 | Family: string;
|
1509 | Weight: Enum.FontWeight;
|
1510 | }
|
1511 | interface FontConstructor {
|
1512 | new (family: string, weight?: Enum.FontWeight, style?: Enum.FontStyle): Font;
|
1513 | fromEnum: (value: Enum.Font) => Font;
|
1514 | }
|
1515 | declare const Font: FontConstructor;
|
1516 |
|
1517 |
|
1518 | interface NumberRange {
|
1519 | |
1520 |
|
1521 |
|
1522 |
|
1523 |
|
1524 |
|
1525 |
|
1526 | readonly _nominal_NumberRange: unique symbol;
|
1527 | readonly Min: number;
|
1528 | readonly Max: number;
|
1529 | }
|
1530 | interface NumberRangeConstructor {
|
1531 | new (value: number): NumberRange;
|
1532 | new (minimum: number, maximum: number): NumberRange;
|
1533 | }
|
1534 | declare const NumberRange: NumberRangeConstructor;
|
1535 |
|
1536 |
|
1537 | interface NumberSequence {
|
1538 | |
1539 |
|
1540 |
|
1541 |
|
1542 |
|
1543 |
|
1544 |
|
1545 | readonly _nominal_NumberSequence: unique symbol;
|
1546 |
|
1547 | readonly Keypoints: ReadonlyArray<NumberSequenceKeypoint>;
|
1548 | }
|
1549 | interface NumberSequenceConstructor {
|
1550 |
|
1551 | new (n: number): NumberSequence;
|
1552 |
|
1553 | new (n0: number, n1: number): NumberSequence;
|
1554 |
|
1555 | new (keypoints: ReadonlyArray<NumberSequenceKeypoint>): NumberSequence;
|
1556 | }
|
1557 | declare const NumberSequence: NumberSequenceConstructor;
|
1558 |
|
1559 |
|
1560 | interface NumberSequenceKeypoint {
|
1561 | |
1562 |
|
1563 |
|
1564 |
|
1565 |
|
1566 |
|
1567 |
|
1568 | readonly _nominal_NumberSequenceKeypoint: unique symbol;
|
1569 | readonly Envelope: number;
|
1570 | readonly Time: number;
|
1571 | readonly Value: number;
|
1572 | }
|
1573 | interface NumberSequenceKeypointConstructor {
|
1574 |
|
1575 | new (time: number, value: number, envelope?: number): NumberSequenceKeypoint;
|
1576 | }
|
1577 | declare const NumberSequenceKeypoint: NumberSequenceKeypointConstructor;
|
1578 |
|
1579 |
|
1580 | interface OverlapParams {
|
1581 | |
1582 |
|
1583 |
|
1584 |
|
1585 |
|
1586 |
|
1587 |
|
1588 | readonly _nominal_OverlapParams: unique symbol;
|
1589 | |
1590 |
|
1591 |
|
1592 | FilterDescendantsInstances: Array<Instance>;
|
1593 | |
1594 |
|
1595 |
|
1596 |
|
1597 | FilterType: Enum.RaycastFilterType;
|
1598 | |
1599 |
|
1600 |
|
1601 |
|
1602 | MaxParts: number;
|
1603 | |
1604 |
|
1605 |
|
1606 | CollisionGroup: string;
|
1607 | }
|
1608 | type OverlapParamsConstructor = new () => OverlapParams;
|
1609 | declare const OverlapParams: OverlapParamsConstructor;
|
1610 |
|
1611 |
|
1612 | interface PathWaypoint {
|
1613 | |
1614 |
|
1615 |
|
1616 |
|
1617 |
|
1618 |
|
1619 |
|
1620 | readonly _nominal_PathWaypoint: unique symbol;
|
1621 | readonly Action: Enum.PathWaypointAction;
|
1622 | readonly Position: Vector3;
|
1623 | }
|
1624 | type PathWaypointConstructor = new (position?: Vector3, action?: Enum.PathWaypointAction) => PathWaypoint;
|
1625 | declare const PathWaypoint: PathWaypointConstructor;
|
1626 |
|
1627 |
|
1628 | interface PhysicalProperties {
|
1629 | |
1630 |
|
1631 |
|
1632 |
|
1633 |
|
1634 |
|
1635 |
|
1636 | readonly _nominal_PhysicalProperties: unique symbol;
|
1637 | readonly Density: number;
|
1638 | readonly Friction: number;
|
1639 | readonly Elasticity: number;
|
1640 | readonly FrictionWeight: number;
|
1641 | readonly ElasticityWeight: number;
|
1642 | }
|
1643 | interface PhysicalPropertiesConstructor {
|
1644 | new (density: number, friction: number, elasticity: number): PhysicalProperties;
|
1645 | new (
|
1646 | density: number,
|
1647 | friction: number,
|
1648 | elasticity: number,
|
1649 | frictionWeight: number,
|
1650 | elasticityWeight: number,
|
1651 | ): PhysicalProperties;
|
1652 | new (material: Enum.Material): PhysicalProperties;
|
1653 | }
|
1654 | declare const PhysicalProperties: PhysicalPropertiesConstructor;
|
1655 |
|
1656 |
|
1657 | interface Random {
|
1658 | |
1659 |
|
1660 |
|
1661 |
|
1662 |
|
1663 |
|
1664 |
|
1665 | readonly _nominal_Random: unique symbol;
|
1666 | |
1667 |
|
1668 |
|
1669 | NextInteger(this: Random, min: number, max: number): number;
|
1670 | |
1671 |
|
1672 |
|
1673 | NextNumber(this: Random): number;
|
1674 | |
1675 |
|
1676 |
|
1677 | NextNumber(this: Random, min: number, max: number): number;
|
1678 | |
1679 |
|
1680 |
|
1681 |
|
1682 |
|
1683 | NextUnitVector(this: Random): Vector3;
|
1684 | |
1685 |
|
1686 |
|
1687 | Clone(this: Random): Random;
|
1688 | }
|
1689 |
|
1690 | interface RandomConstructor {
|
1691 | new (seed: number): Random;
|
1692 | new (): Random;
|
1693 | }
|
1694 |
|
1695 | declare const Random: RandomConstructor;
|
1696 |
|
1697 |
|
1698 | interface Ray {
|
1699 | |
1700 |
|
1701 |
|
1702 |
|
1703 |
|
1704 |
|
1705 |
|
1706 | readonly _nominal_Ray: unique symbol;
|
1707 | readonly Origin: Vector3;
|
1708 | readonly Direction: Vector3;
|
1709 | readonly Unit: Ray;
|
1710 | ClosestPoint(this: Ray, point: Vector3): Vector3;
|
1711 | Distance(this: Ray, point: Vector3): number;
|
1712 | }
|
1713 |
|
1714 | type RayConstructor = new (origin?: Vector3, direction?: Vector3) => Ray;
|
1715 |
|
1716 | declare const Ray: RayConstructor;
|
1717 |
|
1718 |
|
1719 | interface RaycastParams {
|
1720 | |
1721 |
|
1722 |
|
1723 |
|
1724 |
|
1725 |
|
1726 |
|
1727 | readonly _nominal_RaycastParams: unique symbol;
|
1728 |
|
1729 | FilterDescendantsInstances: Array<Instance>;
|
1730 | |
1731 |
|
1732 |
|
1733 |
|
1734 |
|
1735 |
|
1736 |
|
1737 |
|
1738 |
|
1739 | FilterType: Enum.RaycastFilterType;
|
1740 | |
1741 |
|
1742 |
|
1743 |
|
1744 | IgnoreWater: boolean;
|
1745 | |
1746 |
|
1747 |
|
1748 |
|
1749 |
|
1750 | CollisionGroup: string;
|
1751 | }
|
1752 |
|
1753 | type RaycastParamsConstructor = new () => RaycastParams;
|
1754 |
|
1755 | declare const RaycastParams: RaycastParamsConstructor;
|
1756 |
|
1757 |
|
1758 | interface RaycastResult {
|
1759 | readonly Instance: BasePart;
|
1760 | readonly Material: Enum.Material;
|
1761 | readonly Normal: Vector3;
|
1762 | readonly Position: Vector3;
|
1763 | }
|
1764 |
|
1765 |
|
1766 | interface Rect {
|
1767 | |
1768 |
|
1769 |
|
1770 |
|
1771 |
|
1772 |
|
1773 |
|
1774 | readonly _nominal_Rect: unique symbol;
|
1775 | readonly Min: Vector2;
|
1776 | readonly Max: Vector2;
|
1777 | readonly Width: number;
|
1778 | readonly Height: number;
|
1779 | }
|
1780 | interface RectConstructor {
|
1781 | new (min?: Vector2, max?: Vector2): Rect;
|
1782 | new (minX: number, minY: number, maxX: number, maxY: number): Rect;
|
1783 | }
|
1784 |
|
1785 | declare const Rect: RectConstructor;
|
1786 |
|
1787 |
|
1788 | interface Region3 {
|
1789 | |
1790 |
|
1791 |
|
1792 |
|
1793 |
|
1794 |
|
1795 |
|
1796 | readonly _nominal_Region3: unique symbol;
|
1797 | readonly CFrame: CFrame;
|
1798 | readonly Size: Vector3;
|
1799 | ExpandToGrid(this: Region3, resolution: number): Region3;
|
1800 | }
|
1801 |
|
1802 | type Region3Constructor = new (min?: Vector3, max?: Vector3) => Region3;
|
1803 |
|
1804 | declare const Region3: Region3Constructor;
|
1805 |
|
1806 |
|
1807 | interface Region3int16 {
|
1808 | |
1809 |
|
1810 |
|
1811 |
|
1812 |
|
1813 |
|
1814 |
|
1815 | readonly _nominal_Region3int16: unique symbol;
|
1816 | readonly Min: Vector3int16;
|
1817 | readonly Max: Vector3int16;
|
1818 | }
|
1819 |
|
1820 | type Region3int16Constructor = new (min?: Vector3int16, max?: Vector3int16) => Region3int16;
|
1821 |
|
1822 | declare const Region3int16: Region3int16Constructor;
|
1823 |
|
1824 |
|
1825 | interface RotationCurveKey {
|
1826 | |
1827 |
|
1828 |
|
1829 |
|
1830 |
|
1831 |
|
1832 |
|
1833 | readonly _nominal_RotationCurveKey: unique symbol;
|
1834 | readonly Time: number;
|
1835 | readonly Value: CFrame;
|
1836 | }
|
1837 | type RotationCurveKeyConstructor = new (
|
1838 | time: number,
|
1839 | value: CFrame,
|
1840 | interpolation: CastsToEnum<Enum.KeyInterpolationMode>,
|
1841 | ) => RotationCurveKey;
|
1842 | declare const RotationCurveKey: RotationCurveKeyConstructor;
|
1843 |
|
1844 |
|
1845 | interface TextChatMessage {
|
1846 | |
1847 |
|
1848 |
|
1849 |
|
1850 |
|
1851 |
|
1852 |
|
1853 | readonly _nominal_TextChatMessage: unique symbol;
|
1854 | }
|
1855 |
|
1856 |
|
1857 | interface TweenInfo {
|
1858 | |
1859 |
|
1860 |
|
1861 |
|
1862 |
|
1863 |
|
1864 |
|
1865 | readonly _nominal_TweenInfo: unique symbol;
|
1866 | readonly Time: number;
|
1867 | readonly EasingStyle: Enum.EasingStyle;
|
1868 | readonly EasingDirection: Enum.EasingDirection;
|
1869 | readonly RepeatCount: number;
|
1870 | readonly Reverses: boolean;
|
1871 | readonly DelayTime: number;
|
1872 | }
|
1873 |
|
1874 | type TweenInfoConstructor = new (
|
1875 | time?: number,
|
1876 | easingStyle?: Enum.EasingStyle,
|
1877 | easingDirection?: Enum.EasingDirection,
|
1878 | repeatCount?: number,
|
1879 | reverses?: boolean,
|
1880 | delayTime?: number,
|
1881 | ) => TweenInfo;
|
1882 |
|
1883 | declare const TweenInfo: TweenInfoConstructor;
|
1884 |
|
1885 |
|
1886 | interface UDim {
|
1887 | |
1888 |
|
1889 |
|
1890 |
|
1891 |
|
1892 |
|
1893 |
|
1894 | readonly _nominal_UDim: unique symbol;
|
1895 | readonly Scale: number;
|
1896 | readonly Offset: number;
|
1897 | }
|
1898 |
|
1899 | type UDimConstructor = new (scale?: number, offset?: number) => UDim;
|
1900 |
|
1901 | declare const UDim: UDimConstructor;
|
1902 |
|
1903 |
|
1904 | interface UDim2 {
|
1905 | |
1906 |
|
1907 |
|
1908 |
|
1909 |
|
1910 |
|
1911 |
|
1912 | readonly _nominal_UDim2: unique symbol;
|
1913 | readonly X: UDim;
|
1914 | readonly Y: UDim;
|
1915 | readonly Width: UDim;
|
1916 | readonly Height: UDim;
|
1917 | Lerp(this: UDim2, goal: UDim2, alpha: number): UDim2;
|
1918 | }
|
1919 |
|
1920 | interface UDim2Constructor {
|
1921 | new (xScale: number, xOffset: number, yScale: number, yOffset: number): UDim2;
|
1922 | new (xDim: UDim, yDim: UDim): UDim2;
|
1923 | new (): UDim2;
|
1924 | fromOffset: (x?: number, y?: number) => UDim2;
|
1925 | fromScale: (x?: number, y?: number) => UDim2;
|
1926 | }
|
1927 |
|
1928 | declare const UDim2: UDim2Constructor;
|
1929 |
|
1930 |
|
1931 | interface Vector2 {
|
1932 | |
1933 |
|
1934 |
|
1935 |
|
1936 |
|
1937 |
|
1938 |
|
1939 | readonly _nominal_Vector2: unique symbol;
|
1940 |
|
1941 | readonly X: number;
|
1942 |
|
1943 | readonly Y: number;
|
1944 |
|
1945 | readonly Unit: Vector2;
|
1946 |
|
1947 | readonly Magnitude: number;
|
1948 |
|
1949 | Dot(this: Vector2, other: Vector2): number;
|
1950 |
|
1951 | Lerp(this: Vector2, goal: Vector2, alpha: number): Vector2;
|
1952 |
|
1953 | Cross(this: Vector2, other: Vector2): number;
|
1954 |
|
1955 | Min(this: Vector2, ...vectors: Array<Vector2>): Vector2;
|
1956 |
|
1957 | Max(this: Vector2, ...vectors: Array<Vector2>): Vector2;
|
1958 | }
|
1959 |
|
1960 | interface Vector2Constructor {
|
1961 | |
1962 |
|
1963 |
|
1964 |
|
1965 |
|
1966 |
|
1967 |
|
1968 |
|
1969 |
|
1970 |
|
1971 | readonly zero: Vector2;
|
1972 | |
1973 |
|
1974 |
|
1975 |
|
1976 |
|
1977 |
|
1978 |
|
1979 |
|
1980 |
|
1981 |
|
1982 | readonly one: Vector2;
|
1983 | |
1984 |
|
1985 |
|
1986 |
|
1987 |
|
1988 |
|
1989 |
|
1990 |
|
1991 |
|
1992 |
|
1993 | readonly xAxis: Vector2;
|
1994 | |
1995 |
|
1996 |
|
1997 |
|
1998 |
|
1999 |
|
2000 |
|
2001 |
|
2002 |
|
2003 |
|
2004 | readonly yAxis: Vector2;
|
2005 |
|
2006 | new (x?: number, y?: number): Vector2;
|
2007 | }
|
2008 |
|
2009 | declare const Vector2: Vector2Constructor;
|
2010 |
|
2011 |
|
2012 | interface Vector2int16 {
|
2013 | |
2014 |
|
2015 |
|
2016 |
|
2017 |
|
2018 |
|
2019 |
|
2020 | readonly _nominal_Vector2int16: unique symbol;
|
2021 | readonly X: number;
|
2022 | readonly Y: number;
|
2023 | }
|
2024 |
|
2025 | type Vector2int16Constructor = new (x?: number, y?: number) => Vector2int16;
|
2026 |
|
2027 | declare const Vector2int16: Vector2int16Constructor;
|
2028 |
|
2029 |
|
2030 | interface Vector3 {
|
2031 | |
2032 |
|
2033 |
|
2034 |
|
2035 |
|
2036 |
|
2037 |
|
2038 | readonly _nominal_Vector3: unique symbol;
|
2039 | readonly X: number;
|
2040 | readonly Y: number;
|
2041 | readonly Z: number;
|
2042 |
|
2043 | readonly Unit: Vector3;
|
2044 |
|
2045 | readonly Magnitude: number;
|
2046 |
|
2047 | Lerp(this: Vector3, goal: Vector3, alpha: number): Vector3;
|
2048 |
|
2049 | Dot(this: Vector3, other: Vector3): number;
|
2050 |
|
2051 | Cross(this: Vector3, other: Vector3): Vector3;
|
2052 |
|
2053 | FuzzyEq(this: Vector3, other: Vector3, epsilon?: number): boolean;
|
2054 |
|
2055 | Min(this: Vector3, ...vectors: Array<Vector3>): Vector3;
|
2056 |
|
2057 | Max(this: Vector3, ...vectors: Array<Vector3>): Vector3;
|
2058 | }
|
2059 |
|
2060 | interface Vector3Constructor {
|
2061 | |
2062 |
|
2063 |
|
2064 |
|
2065 |
|
2066 |
|
2067 |
|
2068 |
|
2069 |
|
2070 |
|
2071 | readonly zero: Vector3;
|
2072 | |
2073 |
|
2074 |
|
2075 |
|
2076 |
|
2077 |
|
2078 |
|
2079 |
|
2080 |
|
2081 |
|
2082 | readonly one: Vector3;
|
2083 | |
2084 |
|
2085 |
|
2086 |
|
2087 |
|
2088 |
|
2089 |
|
2090 |
|
2091 |
|
2092 |
|
2093 | readonly xAxis: Vector3;
|
2094 | |
2095 |
|
2096 |
|
2097 |
|
2098 |
|
2099 |
|
2100 |
|
2101 |
|
2102 |
|
2103 |
|
2104 | readonly yAxis: Vector3;
|
2105 | |
2106 |
|
2107 |
|
2108 |
|
2109 |
|
2110 |
|
2111 |
|
2112 |
|
2113 |
|
2114 |
|
2115 | readonly zAxis: Vector3;
|
2116 |
|
2117 | FromNormalId: (norm: Enum.NormalId) => Vector3;
|
2118 |
|
2119 | FromAxis: (axis: Enum.Axis) => Vector3;
|
2120 |
|
2121 | new (x?: number, y?: number, z?: number): Vector3;
|
2122 | }
|
2123 |
|
2124 | declare const Vector3: Vector3Constructor;
|
2125 |
|
2126 |
|
2127 | interface Vector3int16 {
|
2128 | |
2129 |
|
2130 |
|
2131 |
|
2132 |
|
2133 |
|
2134 |
|
2135 | readonly _nominal_Vector3int16: unique symbol;
|
2136 | readonly X: number;
|
2137 | readonly Y: number;
|
2138 | readonly Z: number;
|
2139 | }
|
2140 |
|
2141 | type Vector3int16Constructor = new (x?: number, y?: number, z?: number) => Vector3int16;
|
2142 |
|
2143 | declare const Vector3int16: Vector3int16Constructor;
|
2144 |
|
2145 |
|
2146 | interface QFont {}
|
2147 | interface QDir {}
|
2148 |
|
2149 |
|
2150 | declare const game: DataModel;
|
2151 | declare const script: LuaSourceContainer;
|
2152 | declare const shared: object;
|
2153 |
|
2154 | type DelayedCallback =
|
2155 | |
2156 |
|
2157 |
|
2158 |
|
2159 | (delayedTime: number, gameTime: number) => void;
|
2160 |
|
2161 |
|
2162 |
|
2163 |
|
2164 | declare function delay(delayTime: number, callback: DelayedCallback): void;
|
2165 |
|
2166 |
|
2167 |
|
2168 |
|
2169 |
|
2170 | declare function elapsedTime(): number;
|
2171 |
|
2172 |
|
2173 |
|
2174 | declare function require(moduleScript: ModuleScript | number): unknown;
|
2175 |
|
2176 |
|
2177 | declare function spawn(callback: DelayedCallback): void;
|
2178 | declare function tick(): number;
|
2179 |
|
2180 | declare function time(): number;
|
2181 | declare function UserSettings(): UserSettings;
|
2182 |
|
2183 |
|
2184 |
|
2185 |
|
2186 |
|
2187 |
|
2188 | declare function version(): string;
|
2189 |
|
2190 |
|
2191 |
|
2192 |
|
2193 |
|
2194 |
|
2195 | declare function wait(seconds?: number): LuaTuple<[number, number]>;
|
2196 |
|
2197 |
|
2198 | declare function warn(...params: Array<unknown>): void;
|
2199 |
|
2200 |
|
2201 | declare namespace math {
|
2202 | |
2203 |
|
2204 |
|
2205 | function noise(x?: number, y?: number, z?: number): number;
|
2206 |
|
2207 |
|
2208 | function clamp(n: number, min: number, max: number): number;
|
2209 | }
|
2210 |
|
2211 | declare namespace utf8 {
|
2212 |
|
2213 | function char(...codepoints: Array<number>): string;
|
2214 |
|
2215 | function codes(str: string): IterableFunction<LuaTuple<[number, number]>>;
|
2216 |
|
2217 | function codepoint(str: string, i?: number, j?: number): LuaTuple<Array<number>>;
|
2218 |
|
2219 | function len(s: string, i?: number, j?: number): LuaTuple<[number, undefined] | [false, number]>;
|
2220 |
|
2221 | function offset(s: string, n: number, i?: number): number | undefined;
|
2222 |
|
2223 | function graphemes(s: string, i?: number, j?: number): IterableFunction<LuaTuple<[number, number]>>;
|
2224 |
|
2225 | function nfcnormalize(str: string): string;
|
2226 |
|
2227 | function nfdnormalize(str: string): string;
|
2228 |
|
2229 | const charpattern: "[%z\x01-\x7F\xC2-\xF4][\x80-\xBF]*";
|
2230 | }
|
2231 |
|
2232 | declare namespace task {
|
2233 |
|
2234 | function desynchronize(): void;
|
2235 |
|
2236 | function synchronize(): void;
|
2237 |
|
2238 | function defer<T extends Array<any>>(callback: (...args: T) => void, ...args: T): thread;
|
2239 | function defer(thread: thread, ...args: Array<unknown>): thread;
|
2240 |
|
2241 | function delay<T extends Array<any>>(duration: number, callback: (...args: T) => void, ...args: T): thread;
|
2242 | function delay(duration: number, thread: thread, ...args: Array<unknown>): thread;
|
2243 |
|
2244 | function spawn<T extends Array<any>>(callback: (...args: T) => void, ...args: T): thread;
|
2245 | function spawn(thread: thread, ...args: Array<unknown>): thread;
|
2246 |
|
2247 | function wait(duration?: number): number;
|
2248 |
|
2249 | function cancel(thread: thread): void;
|
2250 | }
|
2251 |
|
2252 | interface GettableCores {
|
2253 | AvatarContextMenuEnabled: boolean;
|
2254 | PointsNotificationsActive: boolean;
|
2255 | BadgesNotificationsActive: boolean;
|
2256 | ChatActive: boolean;
|
2257 | ChatWindowSize: UDim2;
|
2258 | ChatWindowPosition: UDim2;
|
2259 | ChatBarDisabled: boolean;
|
2260 | GetBlockedUserIds: Array<number>;
|
2261 | PlayerBlockedEvent: BindableEvent;
|
2262 | PlayerUnblockedEvent: BindableEvent;
|
2263 | PlayerMutedEvent: BindableEvent;
|
2264 | PlayerUnmutedEvent: BindableEvent;
|
2265 | PlayerFriendedEvent: BindableEvent;
|
2266 | PlayerUnfriendedEvent: BindableEvent;
|
2267 | DevConsoleVisible: boolean;
|
2268 | VRRotationIntensity: "Low" | "High" | "Smooth";
|
2269 | }
|
2270 |
|
2271 | interface SettableCores {
|
2272 | ChatActive: boolean;
|
2273 | PointsNotificationsActive: boolean;
|
2274 | BadgesNotificationsActive: boolean;
|
2275 | ResetButtonCallback: boolean | BindableEvent;
|
2276 | ChatMakeSystemMessage: MakeSystemMessageConfig;
|
2277 | ChatWindowSize: UDim2;
|
2278 | ChatWindowPosition: UDim2;
|
2279 | ChatBarDisabled: boolean;
|
2280 | SendNotification: SendNotificationConfig;
|
2281 | TopbarEnabled: boolean;
|
2282 | DevConsoleVisible: boolean;
|
2283 | PromptSendFriendRequest: Player;
|
2284 | PromptUnfriend: Player;
|
2285 | PromptBlockPlayer: Player;
|
2286 | PromptUnblockPlayer: Player;
|
2287 | AvatarContextMenuEnabled: boolean;
|
2288 | AddAvatarContextMenuOption: Enum.AvatarContextMenuOption | [string, BindableFunction];
|
2289 | RemoveAvatarContextMenuOption: Enum.AvatarContextMenuOption | [string, BindableFunction];
|
2290 | CoreGuiChatConnections:
|
2291 | | { [name: string]: BindableEvent | BindableFunction }
|
2292 | | Map<string, BindableEvent | BindableFunction>;
|
2293 | VREnableControllerModels: boolean;
|
2294 | VRLaserPointerMode: "Disabled" | "Pointer" | "Navigation" | "Hidden";
|
2295 | }
|
2296 |
|
2297 |
|
2298 | interface CheckablePrimitives {
|
2299 | nil: undefined;
|
2300 | boolean: boolean;
|
2301 | string: string;
|
2302 | number: number;
|
2303 | table: object;
|
2304 | userdata: unknown;
|
2305 | function: Callback;
|
2306 | thread: thread;
|
2307 | vector: Vector3;
|
2308 | }
|
2309 |
|
2310 |
|
2311 |
|
2312 |
|
2313 |
|
2314 | declare function type(value: unknown): keyof CheckablePrimitives;
|
2315 |
|
2316 |
|
2317 | interface CheckableTypes extends CheckablePrimitives {
|
2318 | Axes: Axes;
|
2319 | BrickColor: BrickColor;
|
2320 | CFrame: CFrame;
|
2321 | Color3: Color3;
|
2322 | ColorSequence: ColorSequence;
|
2323 | ColorSequenceKeypoint: ColorSequenceKeypoint;
|
2324 | DateTime: DateTime;
|
2325 | DockWidgetPluginGuiInfo: DockWidgetPluginGuiInfo;
|
2326 | Enum: Enum;
|
2327 | EnumItem: EnumItem;
|
2328 | Enums: Enums;
|
2329 | Faces: Faces;
|
2330 | Instance: Instance;
|
2331 | NumberRange: NumberRange;
|
2332 | NumberSequence: NumberSequence;
|
2333 | NumberSequenceKeypoint: NumberSequenceKeypoint;
|
2334 | PathWaypoint: PathWaypoint;
|
2335 | PhysicalProperties: PhysicalProperties;
|
2336 | RBXScriptConnection: RBXScriptConnection;
|
2337 | RBXScriptSignal: RBXScriptSignal;
|
2338 | Random: Random;
|
2339 | Ray: Ray;
|
2340 | RaycastParams: RaycastParams;
|
2341 | RaycastResult: RaycastResult;
|
2342 | Rect: Rect;
|
2343 | Region3: Region3;
|
2344 | Region3int16: Region3int16;
|
2345 | TweenInfo: TweenInfo;
|
2346 | UDim: UDim;
|
2347 | UDim2: UDim2;
|
2348 | Vector2: Vector2;
|
2349 | Vector2int16: Vector2int16;
|
2350 | Vector3: Vector3;
|
2351 | Vector3int16: Vector3int16;
|
2352 | }
|
2353 |
|
2354 | type AttributeValue =
|
2355 | | string
|
2356 | | boolean
|
2357 | | number
|
2358 | | UDim
|
2359 | | UDim2
|
2360 | | BrickColor
|
2361 | | Color3
|
2362 | | Vector2
|
2363 | | Vector3
|
2364 | | NumberSequence
|
2365 | | ColorSequence
|
2366 | | NumberRange
|
2367 | | Rect;
|