@rbxts/types 1.0.770 → 1.0.771
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.
|
@@ -60,6 +60,7 @@ interface Services {
|
|
|
60
60
|
FacialAnimationStreamingServiceV2: FacialAnimationStreamingServiceV2;
|
|
61
61
|
GamepadService: GamepadService;
|
|
62
62
|
GamePassService: GamePassService;
|
|
63
|
+
GenericChallengeService: GenericChallengeService;
|
|
63
64
|
GeometryService: GeometryService;
|
|
64
65
|
GroupService: GroupService;
|
|
65
66
|
GuiService: GuiService;
|
|
@@ -1632,13 +1633,13 @@ interface AnalyticsService extends Instance {
|
|
|
1632
1633
|
statistics?: { [index: string]: number },
|
|
1633
1634
|
customData?: unknown,
|
|
1634
1635
|
): void;
|
|
1635
|
-
LogEconomyEvent(this: AnalyticsService, player: Player, flowType: CastsToEnum<Enum.AnalyticsEconomyFlowType>, currencyType: string, endingBalance: number, amount: number, transactionType: string, itemSku
|
|
1636
|
-
LogFunnelStepEvent(this: AnalyticsService, player: Player, funnelName: string, step
|
|
1637
|
-
LogOnboardingFunnelStepEvent(this: AnalyticsService, player: Player, step: number, customFields
|
|
1638
|
-
LogProgressionCompleteEvent(this: AnalyticsService, player: Player, level: number, levelName
|
|
1639
|
-
LogProgressionEvent(this: AnalyticsService, player: Player, status: CastsToEnum<Enum.AnalyticsProgressionType>, level: number, levelName
|
|
1640
|
-
LogProgressionFailEvent(this: AnalyticsService, player: Player, level: number, levelName
|
|
1641
|
-
LogProgressionStartEvent(this: AnalyticsService, player: Player, level: number, levelName
|
|
1636
|
+
LogEconomyEvent(this: AnalyticsService, player: Player, flowType: CastsToEnum<Enum.AnalyticsEconomyFlowType>, currencyType: string, endingBalance: number, amount: number, transactionType: string, itemSku?: string, customFields?: object): void;
|
|
1637
|
+
LogFunnelStepEvent(this: AnalyticsService, player: Player, funnelName: string, funnelSessionId?: string, step?: number, stepName?: string, customFields?: object): void;
|
|
1638
|
+
LogOnboardingFunnelStepEvent(this: AnalyticsService, player: Player, step: number, stepName?: string, customFields?: object): void;
|
|
1639
|
+
LogProgressionCompleteEvent(this: AnalyticsService, player: Player, progressionPathName: string, level: number, levelName?: string, customFields?: object): void;
|
|
1640
|
+
LogProgressionEvent(this: AnalyticsService, player: Player, progressionPathName: string, status: CastsToEnum<Enum.AnalyticsProgressionType>, level: number, levelName?: string, customFields?: object): void;
|
|
1641
|
+
LogProgressionFailEvent(this: AnalyticsService, player: Player, progressionPathName: string, level: number, levelName?: string, customFields?: object): void;
|
|
1642
|
+
LogProgressionStartEvent(this: AnalyticsService, player: Player, progressionPathName: string, level: number, levelName?: string, customFields?: object): void;
|
|
1642
1643
|
}
|
|
1643
1644
|
|
|
1644
1645
|
/** An object that references an animation asset (AnimationId) which can be loaded by a [Humanoid](https://developer.roblox.com/en-us/api-reference/class/Humanoid) or [AnimationController](https://developer.roblox.com/en-us/api-reference/class/AnimationController)
|
|
@@ -3079,6 +3080,10 @@ interface AvatarCreationService extends Instance {
|
|
|
3079
3080
|
* @deprecated
|
|
3080
3081
|
*/
|
|
3081
3082
|
readonly _nominal_AvatarCreationService: unique symbol;
|
|
3083
|
+
/**
|
|
3084
|
+
* Tags: Yields
|
|
3085
|
+
*/
|
|
3086
|
+
CreateAvatarGenerationSessionAsync(this: AvatarCreationService, player: Player): AvatarGenerationSession;
|
|
3082
3087
|
/**
|
|
3083
3088
|
* Tags: Yields
|
|
3084
3089
|
*/
|
|
@@ -3563,7 +3568,7 @@ interface Avatar3DGenerationJob extends AvatarGenerationJob {
|
|
|
3563
3568
|
* @deprecated
|
|
3564
3569
|
*/
|
|
3565
3570
|
readonly _nominal_Avatar3DGenerationJob: unique symbol;
|
|
3566
|
-
Result:
|
|
3571
|
+
Result: string;
|
|
3567
3572
|
}
|
|
3568
3573
|
|
|
3569
3574
|
interface AvatarGenerationSession extends Instance {
|
|
@@ -11703,6 +11708,17 @@ interface GamepadService extends Instance {
|
|
|
11703
11708
|
EnableGamepadCursor(this: GamepadService, guiObject: GuiObject | undefined): void;
|
|
11704
11709
|
}
|
|
11705
11710
|
|
|
11711
|
+
interface GenericChallengeService extends Instance {
|
|
11712
|
+
/**
|
|
11713
|
+
* **DO NOT USE!**
|
|
11714
|
+
*
|
|
11715
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
11716
|
+
* @hidden
|
|
11717
|
+
* @deprecated
|
|
11718
|
+
*/
|
|
11719
|
+
readonly _nominal_GenericChallengeService: unique symbol;
|
|
11720
|
+
}
|
|
11721
|
+
|
|
11706
11722
|
interface GeometryService extends Instance {
|
|
11707
11723
|
/**
|
|
11708
11724
|
* **DO NOT USE!**
|
|
@@ -29046,6 +29062,10 @@ interface Players extends Instance {
|
|
|
29046
29062
|
* Players.PlayerAdded:Connect(onPlayerAdded)
|
|
29047
29063
|
*/
|
|
29048
29064
|
GetPlayers(this: Players): Array<Player>;
|
|
29065
|
+
/**
|
|
29066
|
+
* Tags: Yields
|
|
29067
|
+
*/
|
|
29068
|
+
BanAsync(this: Players, config: object): void;
|
|
29049
29069
|
/**
|
|
29050
29070
|
* Tags: Yields
|
|
29051
29071
|
*/
|
|
@@ -29263,6 +29283,10 @@ interface Players extends Instance {
|
|
|
29263
29283
|
thumbnailType: CastsToEnum<Enum.ThumbnailType>,
|
|
29264
29284
|
thumbnailSize: CastsToEnum<Enum.ThumbnailSize>,
|
|
29265
29285
|
): LuaTuple<[string, boolean]>;
|
|
29286
|
+
/**
|
|
29287
|
+
* Tags: Yields
|
|
29288
|
+
*/
|
|
29289
|
+
UnbanAsync(this: Players, config: object): void;
|
|
29266
29290
|
/**
|
|
29267
29291
|
* The PlayerAdded event fires when a player enters the game. This is used to fire an event when a player joins a game, such as loading the player's saved [GlobalDataStore](https://developer.roblox.com/en-us/api-reference/class/GlobalDataStore) data.
|
|
29268
29292
|
*
|
|
@@ -2896,6 +2896,10 @@ interface RunService extends Instance {
|
|
|
2896
2896
|
* @deprecated
|
|
2897
2897
|
*/
|
|
2898
2898
|
readonly _nominal_RunService: unique symbol;
|
|
2899
|
+
/**
|
|
2900
|
+
* Tags: NotReplicated
|
|
2901
|
+
*/
|
|
2902
|
+
RunState: Enum.RunState;
|
|
2899
2903
|
/**
|
|
2900
2904
|
* This function returns whether the current environment is in 'Edit' mode. For example, Roblox Studio is in 'Edit Mode' when the game is not running.
|
|
2901
2905
|
*
|
|
@@ -531,6 +531,35 @@ declare namespace Enum {
|
|
|
531
531
|
}
|
|
532
532
|
export type AlphaMode = AlphaMode.Overlay | AlphaMode.Transparency;
|
|
533
533
|
|
|
534
|
+
export namespace AnalyticsCustomFieldKeys {
|
|
535
|
+
export interface CustomField01 extends globalThis.EnumItem {
|
|
536
|
+
Name: "CustomField01";
|
|
537
|
+
Value: 0;
|
|
538
|
+
EnumType: typeof globalThis.Enum.AnalyticsCustomFieldKeys;
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
export const CustomField01: CustomField01;
|
|
542
|
+
|
|
543
|
+
export interface CustomField02 extends globalThis.EnumItem {
|
|
544
|
+
Name: "CustomField02";
|
|
545
|
+
Value: 1;
|
|
546
|
+
EnumType: typeof globalThis.Enum.AnalyticsCustomFieldKeys;
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
export const CustomField02: CustomField02;
|
|
550
|
+
|
|
551
|
+
export interface CustomField03 extends globalThis.EnumItem {
|
|
552
|
+
Name: "CustomField03";
|
|
553
|
+
Value: 2;
|
|
554
|
+
EnumType: typeof globalThis.Enum.AnalyticsCustomFieldKeys;
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
export const CustomField03: CustomField03;
|
|
558
|
+
|
|
559
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.AnalyticsCustomFieldKeys>;
|
|
560
|
+
}
|
|
561
|
+
export type AnalyticsCustomFieldKeys = AnalyticsCustomFieldKeys.CustomField01 | AnalyticsCustomFieldKeys.CustomField02 | AnalyticsCustomFieldKeys.CustomField03;
|
|
562
|
+
|
|
534
563
|
export namespace AnalyticsEconomyAction {
|
|
535
564
|
export interface Default extends globalThis.EnumItem {
|
|
536
565
|
Name: "Default";
|
|
@@ -6121,6 +6150,19 @@ declare namespace Enum {
|
|
|
6121
6150
|
}
|
|
6122
6151
|
export type DeveloperMemoryTag = DeveloperMemoryTag.Internal | DeveloperMemoryTag.HttpCache | DeveloperMemoryTag.Instances | DeveloperMemoryTag.Signals | DeveloperMemoryTag.LuaHeap | DeveloperMemoryTag.Script | DeveloperMemoryTag.PhysicsCollision | DeveloperMemoryTag.PhysicsParts | DeveloperMemoryTag.GraphicsSolidModels | DeveloperMemoryTag.GraphicsMeshParts | DeveloperMemoryTag.GraphicsParticles | DeveloperMemoryTag.GraphicsParts | DeveloperMemoryTag.GraphicsSpatialHash | DeveloperMemoryTag.GraphicsTerrain | DeveloperMemoryTag.GraphicsTexture | DeveloperMemoryTag.GraphicsTextureCharacter | DeveloperMemoryTag.Sounds | DeveloperMemoryTag.StreamingSounds | DeveloperMemoryTag.TerrainVoxels | DeveloperMemoryTag.Gui | DeveloperMemoryTag.Animation | DeveloperMemoryTag.Navigation | DeveloperMemoryTag.GeometryCSG;
|
|
6123
6152
|
|
|
6153
|
+
export namespace DeviceFeatureType {
|
|
6154
|
+
export interface DeviceCapture extends globalThis.EnumItem {
|
|
6155
|
+
Name: "DeviceCapture";
|
|
6156
|
+
Value: 0;
|
|
6157
|
+
EnumType: typeof globalThis.Enum.DeviceFeatureType;
|
|
6158
|
+
}
|
|
6159
|
+
|
|
6160
|
+
export const DeviceCapture: DeviceCapture;
|
|
6161
|
+
|
|
6162
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.DeviceFeatureType>;
|
|
6163
|
+
}
|
|
6164
|
+
export type DeviceFeatureType = DeviceFeatureType.DeviceCapture;
|
|
6165
|
+
|
|
6124
6166
|
export namespace DeviceType {
|
|
6125
6167
|
export interface Unknown extends globalThis.EnumItem {
|
|
6126
6168
|
Name: "Unknown";
|