@rbxts/types 1.0.914 → 1.0.916
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.
- package/include/generated/None.d.ts +191 -16
- package/include/generated/PluginSecurity.d.ts +169 -1
- package/include/generated/enums.d.ts +129 -24
- package/package.json +1 -1
|
@@ -99,6 +99,7 @@ interface Services {
|
|
|
99
99
|
InstanceExtensionsService: InstanceExtensionsService;
|
|
100
100
|
InstanceFileSyncService: InstanceFileSyncService;
|
|
101
101
|
InternalMessagingService: InternalMessagingService;
|
|
102
|
+
InternalMessagingServiceVerifier: InternalMessagingServiceVerifier;
|
|
102
103
|
InternalSyncService: InternalSyncService;
|
|
103
104
|
IXPService: IXPService;
|
|
104
105
|
JointsService: JointsService;
|
|
@@ -149,6 +150,7 @@ interface Services {
|
|
|
149
150
|
PluginManagementService: PluginManagementService;
|
|
150
151
|
PluginPolicyService: PluginPolicyService;
|
|
151
152
|
PolicyService: PolicyService;
|
|
153
|
+
Preloaded: Preloaded;
|
|
152
154
|
ProceduralBehaviorSchedulerService: ProceduralBehaviorSchedulerService;
|
|
153
155
|
ProcessInstancePhysicsService: ProcessInstancePhysicsService;
|
|
154
156
|
ProximityPromptService: ProximityPromptService;
|
|
@@ -203,6 +205,7 @@ interface Services {
|
|
|
203
205
|
StudioCameraService: StudioCameraService;
|
|
204
206
|
StudioCaptureService: StudioCaptureService;
|
|
205
207
|
StudioDeviceEmulatorService: StudioDeviceEmulatorService;
|
|
208
|
+
StudioDeviceSimulatorService: StudioDeviceSimulatorService;
|
|
206
209
|
StudioPublishService: StudioPublishService;
|
|
207
210
|
StudioScriptDebugEventListener: StudioScriptDebugEventListener;
|
|
208
211
|
StudioSdkService: StudioSdkService;
|
|
@@ -2929,7 +2932,7 @@ interface AdService extends Instance {
|
|
|
2929
2932
|
*
|
|
2930
2933
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AdService#RegisterDisclosureButton)
|
|
2931
2934
|
*/
|
|
2932
|
-
RegisterDisclosureButton(this: AdService, disclosureButton: GuiButton,
|
|
2935
|
+
RegisterDisclosureButton(this: AdService, disclosureButton: GuiButton, adIntegrationPlacementId: string): void;
|
|
2933
2936
|
/**
|
|
2934
2937
|
* **Deprecated:** `ShowVideoAd` has been decommissioned and is no longer operational.
|
|
2935
2938
|
*
|
|
@@ -2961,6 +2964,7 @@ interface AdService extends Instance {
|
|
|
2961
2964
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AdService#GetAdAvailabilityNowAsync)
|
|
2962
2965
|
* @param this A class that allows the display of mobile video ads.
|
|
2963
2966
|
* @param adFormat The format of the requested ad. For example, `RewardedVideo`.
|
|
2967
|
+
* @returns A dictionary with the `AdAvailabilityResult` for the requested ad format.
|
|
2964
2968
|
*/
|
|
2965
2969
|
GetAdAvailabilityNowAsync(this: AdService, adFormat: CastsToEnum<Enum.AdFormat>): object;
|
|
2966
2970
|
/**
|
|
@@ -6694,9 +6698,14 @@ interface AudioPlayer extends Instance {
|
|
|
6694
6698
|
*/
|
|
6695
6699
|
Volume: number;
|
|
6696
6700
|
/**
|
|
6701
|
+
* Attempts to cancel a pre-planned future `Play` or `Stop` command.
|
|
6702
|
+
*
|
|
6697
6703
|
* - **ThreadSafety**: Unsafe
|
|
6698
6704
|
*
|
|
6699
6705
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AudioPlayer#Cancel)
|
|
6706
|
+
* @param this Used to play audio assets.
|
|
6707
|
+
* @param actionId The unique-ID of a pre-planned `Play` or `Stop` command.
|
|
6708
|
+
* @returns Whether the cancellation was successful. Returns false if the action has already occurred, or otherwise does not exist.
|
|
6700
6709
|
*/
|
|
6701
6710
|
Cancel(this: AudioPlayer, actionId?: number): boolean;
|
|
6702
6711
|
/**
|
|
@@ -17568,6 +17577,8 @@ interface GeneratedFolder extends Folder {
|
|
|
17568
17577
|
* - **ThreadSafety**: Unsafe
|
|
17569
17578
|
*
|
|
17570
17579
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/GeneratedFolder#SetPrimaryPart)
|
|
17580
|
+
* @param this
|
|
17581
|
+
* @param part
|
|
17571
17582
|
*/
|
|
17572
17583
|
SetPrimaryPart(this: GeneratedFolder, part: BasePart): void;
|
|
17573
17584
|
}
|
|
@@ -17820,7 +17831,7 @@ interface GeometryService extends Instance {
|
|
|
17820
17831
|
* - `Radius` — If provided, this will be the center of the area to be fragmented. Either `Origin` and `Radius` should both be provided, or neither.
|
|
17821
17832
|
*
|
|
17822
17833
|
*
|
|
17823
|
-
* @returns An array of `Vector3` which is typically passed into `FragmentAsync()`. The output depends on the options provided. If `Origin` and `Radius` are provided, then the output array will contain several `Vector3` elements which will all be located within the radius, but the
|
|
17834
|
+
* @returns An array of `Vector3` which is typically passed into `FragmentAsync()`. The output depends on the options provided. If `Origin` and `Radius` are provided, then the output array will contain several `Vector3` elements which will all be located within the radius, but the first element of the array will be an inner array containing many `Vector3` sites which are outside the radius. If `Origin` and `Radius` are not provided, the output will simply be an array of `Vector3` positions within the extents of the input `part`.
|
|
17824
17835
|
*/
|
|
17825
17836
|
GenerateFragmentSites(this: GeometryService, part: BasePart, options?: object): Array<unknown>;
|
|
17826
17837
|
/**
|
|
@@ -19102,8 +19113,6 @@ interface GuiButton extends GuiObject {
|
|
|
19102
19113
|
*/
|
|
19103
19114
|
readonly MouseButton2Up: RBXScriptSignal<(x: number, y: number) => void>;
|
|
19104
19115
|
/**
|
|
19105
|
-
* Fires when a right-click is detected on desktop, long press detected on mobile, or triangle / Y activated in UI navigation mode on console. This function is not available yet.
|
|
19106
|
-
*
|
|
19107
19116
|
* - **ThreadSafety**: Unsafe
|
|
19108
19117
|
*
|
|
19109
19118
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/GuiButton#SecondaryActivated)
|
|
@@ -26211,6 +26220,21 @@ interface InternalMessagingService extends Instance {
|
|
|
26211
26220
|
*/
|
|
26212
26221
|
readonly _nominal_InternalMessagingService: unique symbol;
|
|
26213
26222
|
}
|
|
26223
|
+
/**
|
|
26224
|
+
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
26225
|
+
*
|
|
26226
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/InternalMessagingServiceVerifier)
|
|
26227
|
+
*/
|
|
26228
|
+
interface InternalMessagingServiceVerifier extends Instance {
|
|
26229
|
+
/**
|
|
26230
|
+
* **DO NOT USE!**
|
|
26231
|
+
*
|
|
26232
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
26233
|
+
* @hidden
|
|
26234
|
+
* @deprecated
|
|
26235
|
+
*/
|
|
26236
|
+
readonly _nominal_InternalMessagingServiceVerifier: unique symbol;
|
|
26237
|
+
}
|
|
26214
26238
|
/**
|
|
26215
26239
|
* - **Tags**: NotReplicated
|
|
26216
26240
|
*
|
|
@@ -27858,7 +27882,7 @@ interface LogService extends Instance {
|
|
|
27858
27882
|
*/
|
|
27859
27883
|
readonly _nominal_LogService: unique symbol;
|
|
27860
27884
|
/**
|
|
27861
|
-
* Clears
|
|
27885
|
+
* Clears Roblox Studio's **Output** window.
|
|
27862
27886
|
*
|
|
27863
27887
|
* - **ThreadSafety**: Unsafe
|
|
27864
27888
|
*
|
|
@@ -27867,7 +27891,19 @@ interface LogService extends Instance {
|
|
|
27867
27891
|
*/
|
|
27868
27892
|
ClearOutput(this: LogService): void;
|
|
27869
27893
|
/**
|
|
27870
|
-
*
|
|
27894
|
+
* Logs a message at the `MessageType.MessageError` level and throws a structured error with optional context.
|
|
27895
|
+
*
|
|
27896
|
+
* - **ThreadSafety**: Unsafe
|
|
27897
|
+
* - **Tags**: CustomLuaState
|
|
27898
|
+
*
|
|
27899
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/LogService#Error)
|
|
27900
|
+
* @param this A service that allows you to read outputted text.
|
|
27901
|
+
* @param message The message string. Supports `{key}` template placeholders when a context table is provided.
|
|
27902
|
+
* @param context An optional dictionary of key-value pairs. When provided, `{key}` placeholders in the message are replaced with the corresponding values.
|
|
27903
|
+
*/
|
|
27904
|
+
Error(this: LogService, message: string, context?: object): void;
|
|
27905
|
+
/**
|
|
27906
|
+
* Returns a table of tables, each with the message string, message type, and timestamp of a message that the client displays in the **Output** window.
|
|
27871
27907
|
*
|
|
27872
27908
|
* - **ThreadSafety**: Unsafe
|
|
27873
27909
|
*
|
|
@@ -27875,6 +27911,55 @@ interface LogService extends Instance {
|
|
|
27875
27911
|
* @param this A service that allows you to read outputted text.
|
|
27876
27912
|
*/
|
|
27877
27913
|
GetLogHistory(this: LogService): Array<LogInfo>;
|
|
27914
|
+
/**
|
|
27915
|
+
* Logs a message at the `MessageType.MessageInfo` level with optional structured context.
|
|
27916
|
+
*
|
|
27917
|
+
* - **ThreadSafety**: Unsafe
|
|
27918
|
+
* - **Tags**: CustomLuaState
|
|
27919
|
+
*
|
|
27920
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/LogService#Info)
|
|
27921
|
+
* @param this A service that allows you to read outputted text.
|
|
27922
|
+
* @param message The message string. Supports `{key}` template placeholders when a context table is provided.
|
|
27923
|
+
* @param context An optional dictionary of key-value pairs. When provided, `{key}` placeholders in the message are replaced with the corresponding values.
|
|
27924
|
+
*/
|
|
27925
|
+
Info(this: LogService, message: string, context?: object): void;
|
|
27926
|
+
/**
|
|
27927
|
+
* Logs a message at the specified level with optional structured context.
|
|
27928
|
+
*
|
|
27929
|
+
* - **ThreadSafety**: Unsafe
|
|
27930
|
+
* - **Tags**: CustomLuaState
|
|
27931
|
+
*
|
|
27932
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/LogService#Log)
|
|
27933
|
+
* @param this A service that allows you to read outputted text.
|
|
27934
|
+
* @param messageType The `MessageType` specifying the log level.
|
|
27935
|
+
* @param message The message string. Supports `{key}` template placeholders when a context table is provided.
|
|
27936
|
+
* @param context An optional dictionary of key-value pairs. When provided, `{key}` placeholders in the message are replaced with the corresponding values.
|
|
27937
|
+
*/
|
|
27938
|
+
Log(this: LogService, messageType: CastsToEnum<Enum.MessageType>, message: string, context?: object): void;
|
|
27939
|
+
/**
|
|
27940
|
+
* Logs a message at the `MessageType.MessageOutput` level with optional structured context.
|
|
27941
|
+
*
|
|
27942
|
+
* - **ThreadSafety**: Unsafe
|
|
27943
|
+
* - **Tags**: CustomLuaState
|
|
27944
|
+
*
|
|
27945
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/LogService#Output)
|
|
27946
|
+
* @param this A service that allows you to read outputted text.
|
|
27947
|
+
* @param message The message string. Supports `{key}` template placeholders when a context table is provided.
|
|
27948
|
+
* @param context An optional dictionary of key-value pairs. When provided, `{key}` placeholders in the message are replaced with the corresponding values.
|
|
27949
|
+
*/
|
|
27950
|
+
Output(this: LogService, message: string, context?: object): void;
|
|
27951
|
+
/**
|
|
27952
|
+
* Logs a message at the `MessageType.MessageWarning` level with optional structured context.
|
|
27953
|
+
*
|
|
27954
|
+
* - **ThreadSafety**: Unsafe
|
|
27955
|
+
* - **Tags**: CustomLuaState
|
|
27956
|
+
*
|
|
27957
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/LogService#Warn)
|
|
27958
|
+
* @param this A service that allows you to read outputted text.
|
|
27959
|
+
* @param message The message string. Supports `{key}` template placeholders when a context table is provided.
|
|
27960
|
+
* @param context An optional dictionary of key-value pairs. When provided, `{key}` placeholders in the message are replaced with the corresponding values.
|
|
27961
|
+
*/
|
|
27962
|
+
Warn(this: LogService, message: string, context?: object): void;
|
|
27878
27963
|
/**
|
|
27879
27964
|
* Fires when the client outputs text.
|
|
27880
27965
|
*
|
|
@@ -27882,7 +27967,7 @@ interface LogService extends Instance {
|
|
|
27882
27967
|
*
|
|
27883
27968
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/LogService#MessageOut)
|
|
27884
27969
|
*/
|
|
27885
|
-
readonly MessageOut: RBXScriptSignal<(message: string, messageType: Enum.MessageType) => void>;
|
|
27970
|
+
readonly MessageOut: RBXScriptSignal<(message: string, messageType: Enum.MessageType, context: object) => void>;
|
|
27886
27971
|
}
|
|
27887
27972
|
/**
|
|
27888
27973
|
* The base class for all objects which contain Luau code.
|
|
@@ -28266,6 +28351,12 @@ interface MarketplaceService extends Instance {
|
|
|
28266
28351
|
* @deprecated
|
|
28267
28352
|
*/
|
|
28268
28353
|
readonly _nominal_MarketplaceService: unique symbol;
|
|
28354
|
+
/**
|
|
28355
|
+
* - **ThreadSafety**: Unsafe
|
|
28356
|
+
*
|
|
28357
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/MarketplaceService#BindReceiptHandler)
|
|
28358
|
+
*/
|
|
28359
|
+
BindReceiptHandler(this: MarketplaceService, transactionType: CastsToEnum<Enum.ReceiptType>, handler: Callback, filter?: Array<unknown>): RBXScriptConnection;
|
|
28269
28360
|
/**
|
|
28270
28361
|
* Prompts a user to purchase multiple avatar items with the given `assetId` or `bundleId`.
|
|
28271
28362
|
*
|
|
@@ -28550,6 +28641,13 @@ interface MarketplaceService extends Instance {
|
|
|
28550
28641
|
* @returns Indicates whether the given player's inventory contains the given bundle.
|
|
28551
28642
|
*/
|
|
28552
28643
|
PlayerOwnsBundleAsync(this: MarketplaceService, player: Player, bundleId: number): boolean;
|
|
28644
|
+
/**
|
|
28645
|
+
* - **ThreadSafety**: Unsafe
|
|
28646
|
+
* - **Tags**: Yields
|
|
28647
|
+
*
|
|
28648
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/MarketplaceService#PromptRobuxTransferAsync)
|
|
28649
|
+
*/
|
|
28650
|
+
PromptRobuxTransferAsync(this: MarketplaceService, sender: Player, receiverUserId: number, amount: number): string;
|
|
28553
28651
|
/**
|
|
28554
28652
|
* Takes a list of product IDs and returns a personalized ordered list of those products.
|
|
28555
28653
|
*
|
|
@@ -33007,6 +33105,7 @@ interface ProceduralModel extends Model {
|
|
|
33007
33105
|
* - **ThreadSafety**: Unsafe
|
|
33008
33106
|
*
|
|
33009
33107
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ProceduralModel#ForceGeneration)
|
|
33108
|
+
* @param this
|
|
33010
33109
|
*/
|
|
33011
33110
|
ForceGeneration(this: ProceduralModel): boolean;
|
|
33012
33111
|
/**
|
|
@@ -33014,6 +33113,7 @@ interface ProceduralModel extends Model {
|
|
|
33014
33113
|
* - **Tags**: Yields
|
|
33015
33114
|
*
|
|
33016
33115
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ProceduralModel#WaitForGenerationAsync)
|
|
33116
|
+
* @param this
|
|
33017
33117
|
*/
|
|
33018
33118
|
WaitForGenerationAsync(this: ProceduralModel): boolean;
|
|
33019
33119
|
}
|
|
@@ -37032,6 +37132,21 @@ interface SunRaysEffect extends PostEffect {
|
|
|
37032
37132
|
*/
|
|
37033
37133
|
Spread: number;
|
|
37034
37134
|
}
|
|
37135
|
+
/**
|
|
37136
|
+
* - **Tags**: NotCreatable, Service
|
|
37137
|
+
*
|
|
37138
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Preloaded)
|
|
37139
|
+
*/
|
|
37140
|
+
interface Preloaded extends Instance {
|
|
37141
|
+
/**
|
|
37142
|
+
* **DO NOT USE!**
|
|
37143
|
+
*
|
|
37144
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
37145
|
+
* @hidden
|
|
37146
|
+
* @deprecated
|
|
37147
|
+
*/
|
|
37148
|
+
readonly _nominal_Preloaded: unique symbol;
|
|
37149
|
+
}
|
|
37035
37150
|
/**
|
|
37036
37151
|
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
37037
37152
|
*
|
|
@@ -38280,6 +38395,8 @@ interface RunService extends Instance {
|
|
|
38280
38395
|
*/
|
|
38281
38396
|
readonly Heartbeat: RBXScriptSignal<(deltaTime: number) => void>;
|
|
38282
38397
|
/**
|
|
38398
|
+
* In the server authority model, fires during prediction when the engine detects that the client has diverged from the server's authoritative state. Intended for plugin-based debugging.
|
|
38399
|
+
*
|
|
38283
38400
|
* - **ThreadSafety**: Unsafe
|
|
38284
38401
|
*
|
|
38285
38402
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/RunService#Misprediction)
|
|
@@ -38326,6 +38443,8 @@ interface RunService extends Instance {
|
|
|
38326
38443
|
*/
|
|
38327
38444
|
readonly RenderStepped: RBXScriptSignal<(deltaTime: number) => void>;
|
|
38328
38445
|
/**
|
|
38446
|
+
* In the server authority model, this fires after rolling back the predicted state due to a misprediction, but before resimulation begins.
|
|
38447
|
+
*
|
|
38329
38448
|
* - **ThreadSafety**: Unsafe
|
|
38330
38449
|
*
|
|
38331
38450
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/RunService#Rollback)
|
|
@@ -38874,6 +38993,18 @@ interface ControllerPartSensor extends ControllerSensor {
|
|
|
38874
38993
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ControllerPartSensor#HitNormal)
|
|
38875
38994
|
*/
|
|
38876
38995
|
HitNormal: Vector3;
|
|
38996
|
+
/**
|
|
38997
|
+
* - **ThreadSafety**: ReadSafe
|
|
38998
|
+
*
|
|
38999
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ControllerPartSensor#LadderSearchHeight)
|
|
39000
|
+
*/
|
|
39001
|
+
LadderSearchHeight: number;
|
|
39002
|
+
/**
|
|
39003
|
+
* - **ThreadSafety**: ReadSafe
|
|
39004
|
+
*
|
|
39005
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ControllerPartSensor#LadderSearchOffset)
|
|
39006
|
+
*/
|
|
39007
|
+
LadderSearchOffset: number;
|
|
38877
39008
|
/**
|
|
38878
39009
|
* The distance from the sensor's parent `BasePart` to use when sensing other parts.
|
|
38879
39010
|
*
|
|
@@ -41011,9 +41142,13 @@ interface SoundService extends Instance {
|
|
|
41011
41142
|
BasePart
|
|
41012
41143
|
]>;
|
|
41013
41144
|
/**
|
|
41145
|
+
* Returns the number of seconds since the audio engine began mixing.
|
|
41146
|
+
*
|
|
41014
41147
|
* - **ThreadSafety**: Unsafe
|
|
41015
41148
|
*
|
|
41016
41149
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/SoundService#GetMixerTime)
|
|
41150
|
+
* @param this A service that determines various aspects of how the audio engine works. Most of its properties affect how `Sounds` play in the experience.
|
|
41151
|
+
* @returns The number of seconds since the audio engine began mixing. This value is stable, sample-accurate, and monotonically-increasing – intended to be used for scheduling audible changes at precise times.
|
|
41017
41152
|
*/
|
|
41018
41153
|
GetMixerTime(this: SoundService): number;
|
|
41019
41154
|
/**
|
|
@@ -41836,6 +41971,21 @@ interface StudioDeviceEmulatorService extends Instance {
|
|
|
41836
41971
|
*/
|
|
41837
41972
|
readonly _nominal_StudioDeviceEmulatorService: unique symbol;
|
|
41838
41973
|
}
|
|
41974
|
+
/**
|
|
41975
|
+
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
41976
|
+
*
|
|
41977
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService)
|
|
41978
|
+
*/
|
|
41979
|
+
interface StudioDeviceSimulatorService extends Instance {
|
|
41980
|
+
/**
|
|
41981
|
+
* **DO NOT USE!**
|
|
41982
|
+
*
|
|
41983
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
41984
|
+
* @hidden
|
|
41985
|
+
* @deprecated
|
|
41986
|
+
*/
|
|
41987
|
+
readonly _nominal_StudioDeviceSimulatorService: unique symbol;
|
|
41988
|
+
}
|
|
41839
41989
|
/**
|
|
41840
41990
|
* - **Tags**: NotCreatable, NotReplicated
|
|
41841
41991
|
*
|
|
@@ -42254,6 +42404,8 @@ interface StyleLink extends Instance {
|
|
|
42254
42404
|
StyleSheet: StyleSheet | undefined;
|
|
42255
42405
|
}
|
|
42256
42406
|
/**
|
|
42407
|
+
* Instance used to set conditions such as `"MaxSize"` and `"PreferredInput"` for a `StyleRule`.
|
|
42408
|
+
*
|
|
42257
42409
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StyleQuery)
|
|
42258
42410
|
*/
|
|
42259
42411
|
interface StyleQuery extends Instance {
|
|
@@ -42266,6 +42418,8 @@ interface StyleQuery extends Instance {
|
|
|
42266
42418
|
*/
|
|
42267
42419
|
readonly _nominal_StyleQuery: unique symbol;
|
|
42268
42420
|
/**
|
|
42421
|
+
* A boolean that determines whether a `StyleRule.Selector` of `@` will match the `StyleQuery` name.
|
|
42422
|
+
*
|
|
42269
42423
|
* - **ThreadSafety**: ReadSafe
|
|
42270
42424
|
* - **Tags**: NotReplicated
|
|
42271
42425
|
*
|
|
@@ -42273,35 +42427,43 @@ interface StyleQuery extends Instance {
|
|
|
42273
42427
|
*/
|
|
42274
42428
|
readonly IsActive: boolean;
|
|
42275
42429
|
/**
|
|
42430
|
+
* Returns the value of a specific condition in the `StyleQuery`.
|
|
42431
|
+
*
|
|
42276
42432
|
* - **ThreadSafety**: Unsafe
|
|
42277
42433
|
*
|
|
42278
42434
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StyleQuery#GetCondition)
|
|
42279
|
-
* @param this
|
|
42280
|
-
* @param name
|
|
42435
|
+
* @param this Instance used to set conditions such as `"MaxSize"` and `"PreferredInput"` for a `StyleRule`.
|
|
42436
|
+
* @param name String name of the condition, for example `"MaxSize"` or `"ViewportDisplaySize"`.
|
|
42437
|
+
* @returns Value of the condition.
|
|
42281
42438
|
*/
|
|
42282
42439
|
GetCondition(this: StyleQuery, name: string): unknown;
|
|
42283
42440
|
/**
|
|
42441
|
+
* Returns a dictionary of key-value pairs describing the conditoins set on the `StyleQuery`.
|
|
42442
|
+
*
|
|
42284
42443
|
* - **ThreadSafety**: Unsafe
|
|
42285
42444
|
*
|
|
42286
42445
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StyleQuery#GetConditions)
|
|
42287
|
-
* @param this
|
|
42446
|
+
* @param this Instance used to set conditions such as `"MaxSize"` and `"PreferredInput"` for a `StyleRule`.
|
|
42447
|
+
* @returns Dictionary of key-value pairs describing the conditions set on the `StyleQuery`.
|
|
42288
42448
|
*/
|
|
42289
42449
|
GetConditions(this: StyleQuery): object;
|
|
42290
42450
|
/**
|
|
42291
42451
|
* - **ThreadSafety**: Unsafe
|
|
42292
42452
|
*
|
|
42293
42453
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StyleQuery#SetCondition)
|
|
42294
|
-
* @param this
|
|
42295
|
-
* @param name
|
|
42296
|
-
* @param value
|
|
42454
|
+
* @param this Instance used to set conditions such as `"MaxSize"` and `"PreferredInput"` for a `StyleRule`.
|
|
42455
|
+
* @param name Condition name to set, for example `"MinSize"`.
|
|
42456
|
+
* @param value Condition value to set, for example `Vector2.new(100, 0)`.
|
|
42297
42457
|
*/
|
|
42298
42458
|
SetCondition(this: StyleQuery, name: string, value: unknown): void;
|
|
42299
42459
|
/**
|
|
42460
|
+
* Lets you declare and set multiple conditions of the `StyleQuery` at once.
|
|
42461
|
+
*
|
|
42300
42462
|
* - **ThreadSafety**: Unsafe
|
|
42301
42463
|
*
|
|
42302
42464
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StyleQuery#SetConditions)
|
|
42303
|
-
* @param this
|
|
42304
|
-
* @param conditions
|
|
42465
|
+
* @param this Instance used to set conditions such as `"MaxSize"` and `"PreferredInput"` for a `StyleRule`.
|
|
42466
|
+
* @param conditions Dictionary of key-value pairs defining the conditions to set.
|
|
42305
42467
|
*/
|
|
42306
42468
|
SetConditions(this: StyleQuery, conditions: object): void;
|
|
42307
42469
|
}
|
|
@@ -42395,6 +42557,12 @@ interface SurfaceAppearance extends Instance {
|
|
|
42395
42557
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/SurfaceAppearance#NormalMapContent)
|
|
42396
42558
|
*/
|
|
42397
42559
|
get NormalMapContent(): Content;
|
|
42560
|
+
/**
|
|
42561
|
+
* - **ThreadSafety**: ReadSafe
|
|
42562
|
+
*
|
|
42563
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/SurfaceAppearance#ResampleMode)
|
|
42564
|
+
*/
|
|
42565
|
+
ResampleMode: Enum.ResamplerMode;
|
|
42398
42566
|
/**
|
|
42399
42567
|
* - **ThreadSafety**: ReadSafe
|
|
42400
42568
|
* - **Tags**: Hidden
|
|
@@ -42859,7 +43027,7 @@ interface TeleportService extends Instance {
|
|
|
42859
43027
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/TeleportService#PromptExperienceDetailsAsync)
|
|
42860
43028
|
* @param this Enables transporting `Players` between places and servers. For more information on how to teleport players between servers, see [Teleport between places](../../../projects/teleport.md).
|
|
42861
43029
|
* @param player The `Player` to be presented the prompt.
|
|
42862
|
-
* @param universeId `DataModel.UniverseId` of the experience to be presented to the `Player
|
|
43030
|
+
* @param universeId `DataModel.UniverseId` of the experience to be presented to the `Player`.
|
|
42863
43031
|
* @returns `PromptExperienceDetailsResult`
|
|
42864
43032
|
*/
|
|
42865
43033
|
PromptExperienceDetailsAsync(this: TeleportService, player: Player, universeId: number): Enum.PromptExperienceDetailsResult;
|
|
@@ -43371,6 +43539,13 @@ interface TestService extends Instance {
|
|
|
43371
43539
|
* @param name
|
|
43372
43540
|
*/
|
|
43373
43541
|
isFeatureEnabled(this: TestService, name: string): boolean;
|
|
43542
|
+
/**
|
|
43543
|
+
* - **ThreadSafety**: Unsafe
|
|
43544
|
+
* - **Tags**: Yields
|
|
43545
|
+
*
|
|
43546
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/TestService#RequestValidationAsync)
|
|
43547
|
+
*/
|
|
43548
|
+
RequestValidationAsync(this: TestService, artifactType: string, artifactName: string): unknown;
|
|
43374
43549
|
/**
|
|
43375
43550
|
* Fires when the server should collect a conditional test result.
|
|
43376
43551
|
*
|
|
@@ -104,6 +104,7 @@ interface Services {
|
|
|
104
104
|
InstanceExtensionsService: InstanceExtensionsService;
|
|
105
105
|
InstanceFileSyncService: InstanceFileSyncService;
|
|
106
106
|
InternalMessagingService: InternalMessagingService;
|
|
107
|
+
InternalMessagingServiceVerifier: InternalMessagingServiceVerifier;
|
|
107
108
|
InternalSyncService: InternalSyncService;
|
|
108
109
|
IXPService: IXPService;
|
|
109
110
|
JointsService: JointsService;
|
|
@@ -162,6 +163,7 @@ interface Services {
|
|
|
162
163
|
PluginManagementService: PluginManagementService;
|
|
163
164
|
PluginPolicyService: PluginPolicyService;
|
|
164
165
|
PolicyService: PolicyService;
|
|
166
|
+
Preloaded: Preloaded;
|
|
165
167
|
ProceduralBehaviorSchedulerService: ProceduralBehaviorSchedulerService;
|
|
166
168
|
ProcessInstancePhysicsService: ProcessInstancePhysicsService;
|
|
167
169
|
ProximityPromptService: ProximityPromptService;
|
|
@@ -222,6 +224,7 @@ interface Services {
|
|
|
222
224
|
StudioCaptureService: StudioCaptureService;
|
|
223
225
|
StudioData: StudioData;
|
|
224
226
|
StudioDeviceEmulatorService: StudioDeviceEmulatorService;
|
|
227
|
+
StudioDeviceSimulatorService: StudioDeviceSimulatorService;
|
|
225
228
|
StudioPublishService: StudioPublishService;
|
|
226
229
|
StudioScriptDebugEventListener: StudioScriptDebugEventListener;
|
|
227
230
|
StudioSdkService: StudioSdkService;
|
|
@@ -7533,6 +7536,21 @@ interface InternalMessagingService extends Instance {
|
|
|
7533
7536
|
*/
|
|
7534
7537
|
readonly _nominal_InternalMessagingService: unique symbol;
|
|
7535
7538
|
}
|
|
7539
|
+
/**
|
|
7540
|
+
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
7541
|
+
*
|
|
7542
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/InternalMessagingServiceVerifier)
|
|
7543
|
+
*/
|
|
7544
|
+
interface InternalMessagingServiceVerifier extends Instance {
|
|
7545
|
+
/**
|
|
7546
|
+
* **DO NOT USE!**
|
|
7547
|
+
*
|
|
7548
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
7549
|
+
* @hidden
|
|
7550
|
+
* @deprecated
|
|
7551
|
+
*/
|
|
7552
|
+
readonly _nominal_InternalMessagingServiceVerifier: unique symbol;
|
|
7553
|
+
}
|
|
7536
7554
|
/**
|
|
7537
7555
|
* - **Tags**: NotReplicated
|
|
7538
7556
|
*
|
|
@@ -11640,6 +11658,21 @@ interface SunRaysEffect extends PostEffect {
|
|
|
11640
11658
|
*/
|
|
11641
11659
|
readonly _nominal_SunRaysEffect: unique symbol;
|
|
11642
11660
|
}
|
|
11661
|
+
/**
|
|
11662
|
+
* - **Tags**: NotCreatable, Service
|
|
11663
|
+
*
|
|
11664
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Preloaded)
|
|
11665
|
+
*/
|
|
11666
|
+
interface Preloaded extends Instance {
|
|
11667
|
+
/**
|
|
11668
|
+
* **DO NOT USE!**
|
|
11669
|
+
*
|
|
11670
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
11671
|
+
* @hidden
|
|
11672
|
+
* @deprecated
|
|
11673
|
+
*/
|
|
11674
|
+
readonly _nominal_Preloaded: unique symbol;
|
|
11675
|
+
}
|
|
11643
11676
|
/**
|
|
11644
11677
|
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
11645
11678
|
*
|
|
@@ -14005,6 +14038,139 @@ interface StudioDeviceEmulatorService extends Instance {
|
|
|
14005
14038
|
*/
|
|
14006
14039
|
readonly _nominal_StudioDeviceEmulatorService: unique symbol;
|
|
14007
14040
|
}
|
|
14041
|
+
/**
|
|
14042
|
+
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
14043
|
+
*
|
|
14044
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService)
|
|
14045
|
+
*/
|
|
14046
|
+
interface StudioDeviceSimulatorService extends Instance {
|
|
14047
|
+
/**
|
|
14048
|
+
* **DO NOT USE!**
|
|
14049
|
+
*
|
|
14050
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
14051
|
+
* @hidden
|
|
14052
|
+
* @deprecated
|
|
14053
|
+
*/
|
|
14054
|
+
readonly _nominal_StudioDeviceSimulatorService: unique symbol;
|
|
14055
|
+
/**
|
|
14056
|
+
* - **ThreadSafety**: Unsafe
|
|
14057
|
+
* - **Tags**: Yields
|
|
14058
|
+
*
|
|
14059
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService#CreateDeviceAsync)
|
|
14060
|
+
*/
|
|
14061
|
+
CreateDeviceAsync(this: StudioDeviceSimulatorService, config: object): string;
|
|
14062
|
+
/**
|
|
14063
|
+
* - **ThreadSafety**: Unsafe
|
|
14064
|
+
* - **Tags**: Yields
|
|
14065
|
+
*
|
|
14066
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService#GetDeviceAsync)
|
|
14067
|
+
*/
|
|
14068
|
+
GetDeviceAsync(this: StudioDeviceSimulatorService): string;
|
|
14069
|
+
/**
|
|
14070
|
+
* - **ThreadSafety**: Unsafe
|
|
14071
|
+
* - **Tags**: Yields
|
|
14072
|
+
*
|
|
14073
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService#GetDeviceInfoAsync)
|
|
14074
|
+
*/
|
|
14075
|
+
GetDeviceInfoAsync(this: StudioDeviceSimulatorService, deviceId: string): object;
|
|
14076
|
+
/**
|
|
14077
|
+
* - **ThreadSafety**: Unsafe
|
|
14078
|
+
* - **Tags**: Yields
|
|
14079
|
+
*
|
|
14080
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService#GetDeviceListAsync)
|
|
14081
|
+
*/
|
|
14082
|
+
GetDeviceListAsync(this: StudioDeviceSimulatorService): Array<unknown>;
|
|
14083
|
+
/**
|
|
14084
|
+
* - **ThreadSafety**: Unsafe
|
|
14085
|
+
* - **Tags**: Yields
|
|
14086
|
+
*
|
|
14087
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService#GetOrientationAsync)
|
|
14088
|
+
*/
|
|
14089
|
+
GetOrientationAsync(this: StudioDeviceSimulatorService): Enum.ScreenOrientation;
|
|
14090
|
+
/**
|
|
14091
|
+
* - **ThreadSafety**: Unsafe
|
|
14092
|
+
* - **Tags**: Yields
|
|
14093
|
+
*
|
|
14094
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService#GetPixelDensityAsync)
|
|
14095
|
+
*/
|
|
14096
|
+
GetPixelDensityAsync(this: StudioDeviceSimulatorService): number;
|
|
14097
|
+
/**
|
|
14098
|
+
* - **ThreadSafety**: Unsafe
|
|
14099
|
+
* - **Tags**: Yields
|
|
14100
|
+
*
|
|
14101
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService#GetResolutionAsync)
|
|
14102
|
+
*/
|
|
14103
|
+
GetResolutionAsync(this: StudioDeviceSimulatorService): Vector2;
|
|
14104
|
+
/**
|
|
14105
|
+
* - **ThreadSafety**: Unsafe
|
|
14106
|
+
* - **Tags**: Yields
|
|
14107
|
+
*
|
|
14108
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService#GetScalingModeAsync)
|
|
14109
|
+
*/
|
|
14110
|
+
GetScalingModeAsync(this: StudioDeviceSimulatorService): Enum.DeviceSimulatorScalingMode;
|
|
14111
|
+
/**
|
|
14112
|
+
* - **ThreadSafety**: Unsafe
|
|
14113
|
+
* - **Tags**: Yields
|
|
14114
|
+
*
|
|
14115
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService#RemoveDeviceAsync)
|
|
14116
|
+
*/
|
|
14117
|
+
RemoveDeviceAsync(this: StudioDeviceSimulatorService, deviceId: string): void;
|
|
14118
|
+
/**
|
|
14119
|
+
* - **ThreadSafety**: Unsafe
|
|
14120
|
+
* - **Tags**: Yields
|
|
14121
|
+
*
|
|
14122
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService#SetDeviceAsync)
|
|
14123
|
+
*/
|
|
14124
|
+
SetDeviceAsync(this: StudioDeviceSimulatorService, deviceId: string): void;
|
|
14125
|
+
/**
|
|
14126
|
+
* - **ThreadSafety**: Unsafe
|
|
14127
|
+
* - **Tags**: Yields
|
|
14128
|
+
*
|
|
14129
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService#SetOrientationAsync)
|
|
14130
|
+
*/
|
|
14131
|
+
SetOrientationAsync(this: StudioDeviceSimulatorService, orientation: CastsToEnum<Enum.ScreenOrientation>): void;
|
|
14132
|
+
/**
|
|
14133
|
+
* - **ThreadSafety**: Unsafe
|
|
14134
|
+
* - **Tags**: Yields
|
|
14135
|
+
*
|
|
14136
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService#SetPixelDensityAsync)
|
|
14137
|
+
*/
|
|
14138
|
+
SetPixelDensityAsync(this: StudioDeviceSimulatorService, density: number): void;
|
|
14139
|
+
/**
|
|
14140
|
+
* - **ThreadSafety**: Unsafe
|
|
14141
|
+
* - **Tags**: Yields
|
|
14142
|
+
*
|
|
14143
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService#SetResolutionAsync)
|
|
14144
|
+
*/
|
|
14145
|
+
SetResolutionAsync(this: StudioDeviceSimulatorService, width: number, height: number): void;
|
|
14146
|
+
/**
|
|
14147
|
+
* - **ThreadSafety**: Unsafe
|
|
14148
|
+
* - **Tags**: Yields
|
|
14149
|
+
*
|
|
14150
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService#SetScalingModeAsync)
|
|
14151
|
+
*/
|
|
14152
|
+
SetScalingModeAsync(this: StudioDeviceSimulatorService, mode: CastsToEnum<Enum.DeviceSimulatorScalingMode>): void;
|
|
14153
|
+
/**
|
|
14154
|
+
* - **ThreadSafety**: Unsafe
|
|
14155
|
+
* - **Tags**: Yields
|
|
14156
|
+
*
|
|
14157
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService#StopSimulationAsync)
|
|
14158
|
+
*/
|
|
14159
|
+
StopSimulationAsync(this: StudioDeviceSimulatorService): void;
|
|
14160
|
+
/**
|
|
14161
|
+
* - **ThreadSafety**: Unsafe
|
|
14162
|
+
* - **Tags**: Yields
|
|
14163
|
+
*
|
|
14164
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService#UpdateDeviceAsync)
|
|
14165
|
+
*/
|
|
14166
|
+
UpdateDeviceAsync(this: StudioDeviceSimulatorService, deviceId: string, config: object): void;
|
|
14167
|
+
/**
|
|
14168
|
+
* - **ThreadSafety**: Unsafe
|
|
14169
|
+
*
|
|
14170
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService#ConfigurationChanged)
|
|
14171
|
+
*/
|
|
14172
|
+
readonly ConfigurationChanged: RBXScriptSignal<() => void>;
|
|
14173
|
+
}
|
|
14008
14174
|
/**
|
|
14009
14175
|
* - **Tags**: NotCreatable, NotReplicated
|
|
14010
14176
|
*
|
|
@@ -14439,6 +14605,8 @@ interface StyleLink extends Instance {
|
|
|
14439
14605
|
readonly _nominal_StyleLink: unique symbol;
|
|
14440
14606
|
}
|
|
14441
14607
|
/**
|
|
14608
|
+
* Instance used to set conditions such as `"MaxSize"` and `"PreferredInput"` for a `StyleRule`.
|
|
14609
|
+
*
|
|
14442
14610
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StyleQuery)
|
|
14443
14611
|
*/
|
|
14444
14612
|
interface StyleQuery extends Instance {
|
|
@@ -16555,7 +16723,7 @@ interface PluginConnection extends RBXObject {
|
|
|
16555
16723
|
*
|
|
16556
16724
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/PluginConnection#SendMessage)
|
|
16557
16725
|
*/
|
|
16558
|
-
SendMessage(this: PluginConnection, message:
|
|
16726
|
+
SendMessage(this: PluginConnection, message: unknown): void;
|
|
16559
16727
|
}
|
|
16560
16728
|
/**
|
|
16561
16729
|
* - **Tags**: NotCreatable, NotReplicated
|
|
@@ -11173,6 +11173,42 @@ declare namespace Enum {
|
|
|
11173
11173
|
export function FromValue(this: globalThis.Enum, value: number): globalThis.Enum.DeviceLevel | undefined;
|
|
11174
11174
|
}
|
|
11175
11175
|
export type DeviceLevel = DeviceLevel.Low | DeviceLevel.Medium | DeviceLevel.High;
|
|
11176
|
+
/**
|
|
11177
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/DeviceSimulatorScalingMode)
|
|
11178
|
+
*/
|
|
11179
|
+
export namespace DeviceSimulatorScalingMode {
|
|
11180
|
+
/**
|
|
11181
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/DeviceSimulatorScalingMode#ScaleToPhysicalSize)
|
|
11182
|
+
*/
|
|
11183
|
+
export interface ScaleToPhysicalSize extends globalThis.EnumItem {
|
|
11184
|
+
Name: "ScaleToPhysicalSize";
|
|
11185
|
+
Value: 0;
|
|
11186
|
+
EnumType: typeof globalThis.Enum.DeviceSimulatorScalingMode;
|
|
11187
|
+
}
|
|
11188
|
+
export const ScaleToPhysicalSize: ScaleToPhysicalSize;
|
|
11189
|
+
/**
|
|
11190
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/DeviceSimulatorScalingMode#ActualResolution)
|
|
11191
|
+
*/
|
|
11192
|
+
export interface ActualResolution extends globalThis.EnumItem {
|
|
11193
|
+
Name: "ActualResolution";
|
|
11194
|
+
Value: 1;
|
|
11195
|
+
EnumType: typeof globalThis.Enum.DeviceSimulatorScalingMode;
|
|
11196
|
+
}
|
|
11197
|
+
export const ActualResolution: ActualResolution;
|
|
11198
|
+
/**
|
|
11199
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/DeviceSimulatorScalingMode#FitToWindow)
|
|
11200
|
+
*/
|
|
11201
|
+
export interface FitToWindow extends globalThis.EnumItem {
|
|
11202
|
+
Name: "FitToWindow";
|
|
11203
|
+
Value: 2;
|
|
11204
|
+
EnumType: typeof globalThis.Enum.DeviceSimulatorScalingMode;
|
|
11205
|
+
}
|
|
11206
|
+
export const FitToWindow: FitToWindow;
|
|
11207
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.DeviceSimulatorScalingMode>;
|
|
11208
|
+
export function FromName(this: globalThis.Enum, name: string): globalThis.Enum.DeviceSimulatorScalingMode | undefined;
|
|
11209
|
+
export function FromValue(this: globalThis.Enum, value: number): globalThis.Enum.DeviceSimulatorScalingMode | undefined;
|
|
11210
|
+
}
|
|
11211
|
+
export type DeviceSimulatorScalingMode = DeviceSimulatorScalingMode.ScaleToPhysicalSize | DeviceSimulatorScalingMode.ActualResolution | DeviceSimulatorScalingMode.FitToWindow;
|
|
11176
11212
|
/**
|
|
11177
11213
|
* Device category of the client.
|
|
11178
11214
|
*
|
|
@@ -22913,7 +22949,7 @@ declare namespace Enum {
|
|
|
22913
22949
|
*/
|
|
22914
22950
|
export namespace ModelStreamingBehavior {
|
|
22915
22951
|
/**
|
|
22916
|
-
*
|
|
22952
|
+
* Default behavior (subject to change).
|
|
22917
22953
|
*
|
|
22918
22954
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/ModelStreamingBehavior#Default)
|
|
22919
22955
|
*/
|
|
@@ -22935,7 +22971,7 @@ declare namespace Enum {
|
|
|
22935
22971
|
}
|
|
22936
22972
|
export const Legacy: Legacy;
|
|
22937
22973
|
/**
|
|
22938
|
-
* Models are never sent during player join.
|
|
22974
|
+
* Models are never sent during player join. See [model streaming controls](../../../workspace/streaming/index.md#model-streaming-controls) for detailed behavioral notes.
|
|
22939
22975
|
*
|
|
22940
22976
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/ModelStreamingBehavior#Improved)
|
|
22941
22977
|
*/
|
|
@@ -22957,7 +22993,7 @@ declare namespace Enum {
|
|
|
22957
22993
|
*/
|
|
22958
22994
|
export namespace ModelStreamingMode {
|
|
22959
22995
|
/**
|
|
22960
|
-
*
|
|
22996
|
+
* Default behavior (subject to change).
|
|
22961
22997
|
*
|
|
22962
22998
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/ModelStreamingMode#Default)
|
|
22963
22999
|
*/
|
|
@@ -22990,7 +23026,7 @@ declare namespace Enum {
|
|
|
22990
23026
|
}
|
|
22991
23027
|
export const Persistent: Persistent;
|
|
22992
23028
|
/**
|
|
22993
|
-
* Behaves as a persistent model for players that have been added using `Model:AddPersistentPlayer()`. For other players, behavior is the same as
|
|
23029
|
+
* Behaves as a persistent model for players that have been added using `Model:AddPersistentPlayer()`. For other players, behavior is the same as `Atomic`. You can revert a model from player persistence via `Model:RemovePersistentPlayer()`.
|
|
22994
23030
|
*
|
|
22995
23031
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/ModelStreamingMode#PersistentPerPlayer)
|
|
22996
23032
|
*/
|
|
@@ -27123,6 +27159,69 @@ declare namespace Enum {
|
|
|
27123
27159
|
export function FromValue(this: globalThis.Enum, value: number): globalThis.Enum.ReadCapturesFromGalleryResult | undefined;
|
|
27124
27160
|
}
|
|
27125
27161
|
export type ReadCapturesFromGalleryResult = ReadCapturesFromGalleryResult.Success | ReadCapturesFromGalleryResult.NeedPermission;
|
|
27162
|
+
/**
|
|
27163
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/ReceiptDecision)
|
|
27164
|
+
*/
|
|
27165
|
+
export namespace ReceiptDecision {
|
|
27166
|
+
/**
|
|
27167
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/ReceiptDecision#NotProcessedYet)
|
|
27168
|
+
*/
|
|
27169
|
+
export interface NotProcessedYet extends globalThis.EnumItem {
|
|
27170
|
+
Name: "NotProcessedYet";
|
|
27171
|
+
Value: 0;
|
|
27172
|
+
EnumType: typeof globalThis.Enum.ReceiptDecision;
|
|
27173
|
+
}
|
|
27174
|
+
export const NotProcessedYet: NotProcessedYet;
|
|
27175
|
+
/**
|
|
27176
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/ReceiptDecision#Processed)
|
|
27177
|
+
*/
|
|
27178
|
+
export interface Processed extends globalThis.EnumItem {
|
|
27179
|
+
Name: "Processed";
|
|
27180
|
+
Value: 1;
|
|
27181
|
+
EnumType: typeof globalThis.Enum.ReceiptDecision;
|
|
27182
|
+
}
|
|
27183
|
+
export const Processed: Processed;
|
|
27184
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.ReceiptDecision>;
|
|
27185
|
+
export function FromName(this: globalThis.Enum, name: string): globalThis.Enum.ReceiptDecision | undefined;
|
|
27186
|
+
export function FromValue(this: globalThis.Enum, value: number): globalThis.Enum.ReceiptDecision | undefined;
|
|
27187
|
+
}
|
|
27188
|
+
export type ReceiptDecision = ReceiptDecision.NotProcessedYet | ReceiptDecision.Processed;
|
|
27189
|
+
/**
|
|
27190
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/ReceiptType)
|
|
27191
|
+
*/
|
|
27192
|
+
export namespace ReceiptType {
|
|
27193
|
+
/**
|
|
27194
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/ReceiptType#DeveloperProduct)
|
|
27195
|
+
*/
|
|
27196
|
+
export interface DeveloperProduct extends globalThis.EnumItem {
|
|
27197
|
+
Name: "DeveloperProduct";
|
|
27198
|
+
Value: 0;
|
|
27199
|
+
EnumType: typeof globalThis.Enum.ReceiptType;
|
|
27200
|
+
}
|
|
27201
|
+
export const DeveloperProduct: DeveloperProduct;
|
|
27202
|
+
/**
|
|
27203
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/ReceiptType#RobuxTransferSender)
|
|
27204
|
+
*/
|
|
27205
|
+
export interface RobuxTransferSender extends globalThis.EnumItem {
|
|
27206
|
+
Name: "RobuxTransferSender";
|
|
27207
|
+
Value: 1;
|
|
27208
|
+
EnumType: typeof globalThis.Enum.ReceiptType;
|
|
27209
|
+
}
|
|
27210
|
+
export const RobuxTransferSender: RobuxTransferSender;
|
|
27211
|
+
/**
|
|
27212
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/ReceiptType#RobuxTransferReceiver)
|
|
27213
|
+
*/
|
|
27214
|
+
export interface RobuxTransferReceiver extends globalThis.EnumItem {
|
|
27215
|
+
Name: "RobuxTransferReceiver";
|
|
27216
|
+
Value: 2;
|
|
27217
|
+
EnumType: typeof globalThis.Enum.ReceiptType;
|
|
27218
|
+
}
|
|
27219
|
+
export const RobuxTransferReceiver: RobuxTransferReceiver;
|
|
27220
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.ReceiptType>;
|
|
27221
|
+
export function FromName(this: globalThis.Enum, name: string): globalThis.Enum.ReceiptType | undefined;
|
|
27222
|
+
export function FromValue(this: globalThis.Enum, value: number): globalThis.Enum.ReceiptType | undefined;
|
|
27223
|
+
}
|
|
27224
|
+
export type ReceiptType = ReceiptType.DeveloperProduct | ReceiptType.RobuxTransferSender | ReceiptType.RobuxTransferReceiver;
|
|
27126
27225
|
/**
|
|
27127
27226
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/RecommendationActionType)
|
|
27128
27227
|
*/
|
|
@@ -28381,10 +28480,6 @@ declare namespace Enum {
|
|
|
28381
28480
|
EnumType: typeof globalThis.Enum.RigLabel;
|
|
28382
28481
|
}
|
|
28383
28482
|
export const Spine: Spine;
|
|
28384
|
-
/**
|
|
28385
|
-
* @deprecated renamed to Spine
|
|
28386
|
-
*/
|
|
28387
|
-
export const Pelvis: Spine;
|
|
28388
28483
|
/**
|
|
28389
28484
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/RigLabel#Chest)
|
|
28390
28485
|
*/
|
|
@@ -28430,10 +28525,6 @@ declare namespace Enum {
|
|
|
28430
28525
|
EnumType: typeof globalThis.Enum.RigLabel;
|
|
28431
28526
|
}
|
|
28432
28527
|
export const LeftToeBase: LeftToeBase;
|
|
28433
|
-
/**
|
|
28434
|
-
* @deprecated renamed to LeftToeBase
|
|
28435
|
-
*/
|
|
28436
|
-
export const LeftToes: LeftToeBase;
|
|
28437
28528
|
/**
|
|
28438
28529
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/RigLabel#RightToeBase)
|
|
28439
28530
|
*/
|
|
@@ -28443,10 +28534,6 @@ declare namespace Enum {
|
|
|
28443
28534
|
EnumType: typeof globalThis.Enum.RigLabel;
|
|
28444
28535
|
}
|
|
28445
28536
|
export const RightToeBase: RightToeBase;
|
|
28446
|
-
/**
|
|
28447
|
-
* @deprecated renamed to RightToeBase
|
|
28448
|
-
*/
|
|
28449
|
-
export const RightToes: RightToeBase;
|
|
28450
28537
|
/**
|
|
28451
28538
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/RigLabel#Thumb1)
|
|
28452
28539
|
*/
|
|
@@ -30438,11 +30525,20 @@ declare namespace Enum {
|
|
|
30438
30525
|
EnumType: typeof globalThis.Enum.SensorMode;
|
|
30439
30526
|
}
|
|
30440
30527
|
export const Ladder: Ladder;
|
|
30528
|
+
/**
|
|
30529
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/SensorMode#ClassicLadder)
|
|
30530
|
+
*/
|
|
30531
|
+
export interface ClassicLadder extends globalThis.EnumItem {
|
|
30532
|
+
Name: "ClassicLadder";
|
|
30533
|
+
Value: 2;
|
|
30534
|
+
EnumType: typeof globalThis.Enum.SensorMode;
|
|
30535
|
+
}
|
|
30536
|
+
export const ClassicLadder: ClassicLadder;
|
|
30441
30537
|
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.SensorMode>;
|
|
30442
30538
|
export function FromName(this: globalThis.Enum, name: string): globalThis.Enum.SensorMode | undefined;
|
|
30443
30539
|
export function FromValue(this: globalThis.Enum, value: number): globalThis.Enum.SensorMode | undefined;
|
|
30444
30540
|
}
|
|
30445
|
-
export type SensorMode = SensorMode.Floor | SensorMode.Ladder;
|
|
30541
|
+
export type SensorMode = SensorMode.Floor | SensorMode.Ladder | SensorMode.ClassicLadder;
|
|
30446
30542
|
/**
|
|
30447
30543
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/SensorUpdateType)
|
|
30448
30544
|
*/
|
|
@@ -31270,13 +31366,13 @@ declare namespace Enum {
|
|
|
31270
31366
|
}
|
|
31271
31367
|
export type StepFrequency = StepFrequency.Hz60 | StepFrequency.Hz30 | StepFrequency.Hz15 | StepFrequency.Hz10 | StepFrequency.Hz5 | StepFrequency.Hz1;
|
|
31272
31368
|
/**
|
|
31273
|
-
* Determines how content is streamed
|
|
31369
|
+
* Determines how content is streamed out from `Player` clients.
|
|
31274
31370
|
*
|
|
31275
31371
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/StreamOutBehavior)
|
|
31276
31372
|
*/
|
|
31277
31373
|
export namespace StreamOutBehavior {
|
|
31278
31374
|
/**
|
|
31279
|
-
*
|
|
31375
|
+
* Default behavior (subject to change).
|
|
31280
31376
|
*
|
|
31281
31377
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/StreamOutBehavior#Default)
|
|
31282
31378
|
*/
|
|
@@ -31298,7 +31394,7 @@ declare namespace Enum {
|
|
|
31298
31394
|
}
|
|
31299
31395
|
export const LowMemory: LowMemory;
|
|
31300
31396
|
/**
|
|
31301
|
-
* Stream out content that is significantly outside of the current
|
|
31397
|
+
* Stream out content that is significantly outside of the current `Workspace.StreamingTargetRadius`.
|
|
31302
31398
|
*
|
|
31303
31399
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/StreamOutBehavior#Opportunistic)
|
|
31304
31400
|
*/
|
|
@@ -31320,7 +31416,7 @@ declare namespace Enum {
|
|
|
31320
31416
|
*/
|
|
31321
31417
|
export namespace StreamingIntegrityMode {
|
|
31322
31418
|
/**
|
|
31323
|
-
* Default behavior (
|
|
31419
|
+
* Default behavior (subject to change).
|
|
31324
31420
|
*
|
|
31325
31421
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/StreamingIntegrityMode#Default)
|
|
31326
31422
|
*/
|
|
@@ -31369,7 +31465,7 @@ declare namespace Enum {
|
|
|
31369
31465
|
}
|
|
31370
31466
|
export type StreamingIntegrityMode = StreamingIntegrityMode.Default | StreamingIntegrityMode.Disabled | StreamingIntegrityMode.MinimumRadiusPause | StreamingIntegrityMode.PauseOutsideLoadedArea;
|
|
31371
31467
|
/**
|
|
31372
|
-
* Determines how a
|
|
31468
|
+
* Determines how a client should handle not having enough content streamed in to continue playing properly.
|
|
31373
31469
|
*
|
|
31374
31470
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/StreamingPauseMode)
|
|
31375
31471
|
*/
|
|
@@ -31377,7 +31473,7 @@ declare namespace Enum {
|
|
|
31377
31473
|
/**
|
|
31378
31474
|
* **Deprecated:**
|
|
31379
31475
|
*
|
|
31380
|
-
* Default behavior (
|
|
31476
|
+
* Default behavior (subject to change).
|
|
31381
31477
|
*
|
|
31382
31478
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/StreamingPauseMode#Default)
|
|
31383
31479
|
*/
|
|
@@ -38823,11 +38919,20 @@ declare namespace Enum {
|
|
|
38823
38919
|
EnumType: typeof globalThis.Enum.VoiceRccReconnectReason;
|
|
38824
38920
|
}
|
|
38825
38921
|
export const CloseRoom: CloseRoom;
|
|
38922
|
+
/**
|
|
38923
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/VoiceRccReconnectReason#FAEUpdate)
|
|
38924
|
+
*/
|
|
38925
|
+
export interface FAEUpdate extends globalThis.EnumItem {
|
|
38926
|
+
Name: "FAEUpdate";
|
|
38927
|
+
Value: 3;
|
|
38928
|
+
EnumType: typeof globalThis.Enum.VoiceRccReconnectReason;
|
|
38929
|
+
}
|
|
38930
|
+
export const FAEUpdate: FAEUpdate;
|
|
38826
38931
|
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.VoiceRccReconnectReason>;
|
|
38827
38932
|
export function FromName(this: globalThis.Enum, name: string): globalThis.Enum.VoiceRccReconnectReason | undefined;
|
|
38828
38933
|
export function FromValue(this: globalThis.Enum, value: number): globalThis.Enum.VoiceRccReconnectReason | undefined;
|
|
38829
38934
|
}
|
|
38830
|
-
export type VoiceRccReconnectReason = VoiceRccReconnectReason.Unknown | VoiceRccReconnectReason.Migration | VoiceRccReconnectReason.CloseRoom;
|
|
38935
|
+
export type VoiceRccReconnectReason = VoiceRccReconnectReason.Unknown | VoiceRccReconnectReason.Migration | VoiceRccReconnectReason.CloseRoom | VoiceRccReconnectReason.FAEUpdate;
|
|
38831
38936
|
/**
|
|
38832
38937
|
* Controls how the engine renders volumetric audio effects.
|
|
38833
38938
|
*
|