@rbxts/types 1.0.673 → 1.0.675

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.
@@ -84,6 +84,7 @@ interface Services {
84
84
  ProcessInstancePhysicsService: ProcessInstancePhysicsService;
85
85
  ProximityPromptService: ProximityPromptService;
86
86
  PublishService: PublishService;
87
+ RemoteCursorService: RemoteCursorService;
87
88
  RemoteDebuggerServer: RemoteDebuggerServer;
88
89
  ReplicatedFirst: ReplicatedFirst;
89
90
  ReplicatedStorage: ReplicatedStorage;
@@ -99,6 +100,7 @@ interface Services {
99
100
  SelectionHighlightManager: SelectionHighlightManager;
100
101
  ServerScriptService: ServerScriptService;
101
102
  ServerStorage: ServerStorage;
103
+ ServiceVisibilityService: ServiceVisibilityService;
102
104
  SessionService: SessionService;
103
105
  SharedTableRegistry: SharedTableRegistry;
104
106
  ShorelineUpgraderService: ShorelineUpgraderService;
@@ -442,7 +444,6 @@ interface Instances extends Services, CreatableInstances, AbstractInstances {
442
444
  CommandInstance: CommandInstance;
443
445
  ControllerBase: ControllerBase;
444
446
  ControllerSensor: ControllerSensor;
445
- CoreScriptBuilder: CoreScriptBuilder;
446
447
  CustomSoundEffect: CustomSoundEffect;
447
448
  DataModel: DataModel;
448
449
  DataStore: DataStore;
@@ -1912,6 +1913,7 @@ interface AnimationTrack extends Instance {
1912
1913
  * When is adjusted, then the actual time it will take a track to play can be computed by dividing the length by the speed. Speed is a unitless quantity.
1913
1914
  *
1914
1915
  * Speed can be used to link the length of an animation to different gameplay events (for example recharging an ability) without having to upload different variants of the same animation.
1916
+ * Tags: CustomLuaState
1915
1917
  */
1916
1918
  AdjustSpeed(this: AnimationTrack, speed?: number): void;
1917
1919
  /**
@@ -1926,6 +1928,7 @@ interface AnimationTrack extends Instance {
1926
1928
  * ![Animation Weight Blending](https://developer.roblox.com/assets/blt755bd460ebb6cd91/Animation_Weight_-_Copy.png)
1927
1929
  *
1928
1930
  * In most cases blending animations is not required and using [AnimationTrack.Priority](https://developer.roblox.com/en-us/api-reference/property/AnimationTrack/Priority) is more suitable.
1931
+ * Tags: CustomLuaState
1929
1932
  */
1930
1933
  AdjustWeight(this: AnimationTrack, weight?: number, fadeTime?: number): void;
1931
1934
  /**
@@ -1966,6 +1969,7 @@ interface AnimationTrack extends Instance {
1966
1969
  * The weight and speed of the animation can also be changed after the animation has begun playing by using the [AnimationTrack:AdjustWeight](https://developer.roblox.com/en-us/api-reference/function/AnimationTrack/AdjustWeight) and [AnimationTrack:AdjustSpeed](https://developer.roblox.com/en-us/api-reference/function/AnimationTrack/AdjustSpeed) methods.
1967
1970
  *
1968
1971
  * If the developer wants to start the animation at a specific point using [AnimationTrack.TimePosition](https://developer.roblox.com/en-us/api-reference/property/AnimationTrack/TimePosition), it is important the animation is played before this is done.
1972
+ * Tags: CustomLuaState
1969
1973
  */
1970
1974
  Play(this: AnimationTrack, fadeTime?: number, weight?: number, speed?: number): void;
1971
1975
  /**
@@ -1974,6 +1978,7 @@ interface AnimationTrack extends Instance {
1974
1978
  * For example, if Stop is called with a fadeTime of 2 seconds it will take two seconds for the weight of the [AnimationTrack](https://developer.roblox.com/en-us/api-reference/class/AnimationTrack) to reach zero and its effects completely end. Please note this will be the case regardless of the initial weight of the animation.
1975
1979
  *
1976
1980
  * It is not recommended to use a fadeTime of 0 seconds to try to override this effect and end the animation immediately as presently, this causes the [AnimationTrack](https://developer.roblox.com/en-us/api-reference/class/AnimationTrack) poses to freeze.
1981
+ * Tags: CustomLuaState
1977
1982
  */
1978
1983
  Stop(this: AnimationTrack, fadeTime?: number): void;
1979
1984
  /**
@@ -24483,9 +24488,9 @@ interface Actor extends Model {
24483
24488
  * @deprecated
24484
24489
  */
24485
24490
  readonly _nominal_Actor: unique symbol;
24486
- BindToMessage(this: Actor, name: string, callback: Callback): RBXScriptConnection;
24487
- BindToMessageParallel(this: Actor, name: string, callback: Callback): RBXScriptConnection;
24488
- SendMessage(this: Actor, name: string, message: Array<any>): void;
24491
+ BindToMessage(this: Actor, topic: string, callback: Callback): RBXScriptConnection;
24492
+ BindToMessageParallel(this: Actor, topic: string, callback: Callback): RBXScriptConnection;
24493
+ SendMessage(this: Actor, topic: string, message: Array<any>): void;
24489
24494
  }
24490
24495
 
24491
24496
  /** BackpackItem is an abstract class for backpack items such as HopperBins and Tools. */
@@ -28248,6 +28253,17 @@ interface PublishService extends Instance {
28248
28253
  readonly _nominal_PublishService: unique symbol;
28249
28254
  }
28250
28255
 
28256
+ interface RemoteCursorService extends Instance {
28257
+ /**
28258
+ * **DO NOT USE!**
28259
+ *
28260
+ * This field exists to force TypeScript to recognize this as a nominal type
28261
+ * @hidden
28262
+ * @deprecated
28263
+ */
28264
+ readonly _nominal_RemoteCursorService: unique symbol;
28265
+ }
28266
+
28251
28267
  interface RemoteDebuggerServer extends Instance {
28252
28268
  /**
28253
28269
  * **DO NOT USE!**
@@ -28935,17 +28951,6 @@ interface ScriptBuilder extends Instance {
28935
28951
  readonly _nominal_ScriptBuilder: unique symbol;
28936
28952
  }
28937
28953
 
28938
- interface CoreScriptBuilder extends ScriptBuilder {
28939
- /**
28940
- * **DO NOT USE!**
28941
- *
28942
- * This field exists to force TypeScript to recognize this as a nominal type
28943
- * @hidden
28944
- * @deprecated
28945
- */
28946
- readonly _nominal_CoreScriptBuilder: unique symbol;
28947
- }
28948
-
28949
28954
  interface SyncScriptBuilder extends ScriptBuilder {
28950
28955
  /**
28951
28956
  * **DO NOT USE!**
@@ -29549,6 +29554,17 @@ interface UserSettings extends GenericSettings<{ UserGameSettings: UserGameSetti
29549
29554
  Reset(this: UserSettings): void;
29550
29555
  }
29551
29556
 
29557
+ interface ServiceVisibilityService extends Instance {
29558
+ /**
29559
+ * **DO NOT USE!**
29560
+ *
29561
+ * This field exists to force TypeScript to recognize this as a nominal type
29562
+ * @hidden
29563
+ * @deprecated
29564
+ */
29565
+ readonly _nominal_ServiceVisibilityService: unique symbol;
29566
+ }
29567
+
29552
29568
  interface SessionService extends Instance {
29553
29569
  /**
29554
29570
  * **DO NOT USE!**
@@ -35895,6 +35911,10 @@ interface VRService extends Instance {
35895
35911
  * @deprecated
35896
35912
  */
35897
35913
  readonly _nominal_VRService: unique symbol;
35914
+ /**
35915
+ * Tags: NotReplicated
35916
+ */
35917
+ AutomaticScaling: Enum.VRScaling;
35898
35918
  FadeOutViewOnCollision: boolean;
35899
35919
  /**
35900
35920
  * The GuiInputUserCFrame property describes what [UserCFrame](https://developer.roblox.com/en-us/api-reference/enum/UserCFrame) is responsible for input in VR. For instance, if a VR headset is responsible, the value of this property will be UserCFrame.Head.
@@ -940,6 +940,21 @@ interface LuaSettings extends Instance {
940
940
  readonly _nominal_LuaSettings: unique symbol;
941
941
  }
942
942
 
943
+ interface LuaSourceContainer extends Instance {
944
+ /**
945
+ * **DO NOT USE!**
946
+ *
947
+ * This field exists to force TypeScript to recognize this as a nominal type
948
+ * @hidden
949
+ * @deprecated
950
+ */
951
+ readonly _nominal_LuaSourceContainer: unique symbol;
952
+ /**
953
+ * Tags: NotReplicated
954
+ */
955
+ RuntimeSource: string;
956
+ }
957
+
943
958
  interface Script extends BaseScript {
944
959
  /**
945
960
  * **DO NOT USE!**
@@ -3226,7 +3241,6 @@ interface Studio extends Instance {
3226
3241
  ["Server Audio Behavior"]: Enum.ServerAudioBehavior;
3227
3242
  ["Set Pivot of Imported Parts"]: boolean;
3228
3243
  ["Show Core GUI in Explorer while Playing"]: boolean;
3229
- ["Show Deployment Warnings"]: boolean;
3230
3244
  ["Show Diagnostics Bar"]: boolean;
3231
3245
  ["Show FileSyncService"]: boolean;
3232
3246
  ["Show Hidden Objects in Explorer"]: boolean;
@@ -4003,14 +4003,6 @@ declare namespace Enum {
4003
4003
 
4004
4004
  export const DisconnectClientRequest: DisconnectClientRequest;
4005
4005
 
4006
- export interface DisconnectOutOfMemory extends globalThis.EnumItem {
4007
- Name: "DisconnectOutOfMemory";
4008
- Value: 286;
4009
- EnumType: typeof globalThis.Enum.ConnectionError;
4010
- }
4011
-
4012
- export const DisconnectOutOfMemory: DisconnectOutOfMemory;
4013
-
4014
4006
  export interface DisconnectModeratedGame extends globalThis.EnumItem {
4015
4007
  Name: "DisconnectModeratedGame";
4016
4008
  Value: 287;
@@ -4019,21 +4011,13 @@ declare namespace Enum {
4019
4011
 
4020
4012
  export const DisconnectModeratedGame: DisconnectModeratedGame;
4021
4013
 
4022
- export interface DisconnectOutOfMemoryExitContinue extends globalThis.EnumItem {
4023
- Name: "DisconnectOutOfMemoryExitContinue";
4024
- Value: 288;
4025
- EnumType: typeof globalThis.Enum.ConnectionError;
4026
- }
4027
-
4028
- export const DisconnectOutOfMemoryExitContinue: DisconnectOutOfMemoryExitContinue;
4029
-
4030
- export interface DisconnectOutOfMemoryKeepPlayingExit extends globalThis.EnumItem {
4031
- Name: "DisconnectOutOfMemoryKeepPlayingExit";
4032
- Value: 289;
4014
+ export interface DisconnectRomarkEndOfTest extends globalThis.EnumItem {
4015
+ Name: "DisconnectRomarkEndOfTest";
4016
+ Value: 293;
4033
4017
  EnumType: typeof globalThis.Enum.ConnectionError;
4034
4018
  }
4035
4019
 
4036
- export const DisconnectOutOfMemoryKeepPlayingExit: DisconnectOutOfMemoryKeepPlayingExit;
4020
+ export const DisconnectRomarkEndOfTest: DisconnectRomarkEndOfTest;
4037
4021
 
4038
4022
  export interface ReplicatorTimeout extends globalThis.EnumItem {
4039
4023
  Name: "ReplicatorTimeout";
@@ -4253,7 +4237,7 @@ declare namespace Enum {
4253
4237
 
4254
4238
  export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.ConnectionError>;
4255
4239
  }
4256
- export type ConnectionError = ConnectionError.OK | ConnectionError.Unknown | ConnectionError.DisconnectErrors | ConnectionError.DisconnectBadhash | ConnectionError.DisconnectSecurityKeyMismatch | ConnectionError.DisconnectNewSecurityKeyMismatch | ConnectionError.DisconnectProtocolMismatch | ConnectionError.DisconnectReceivePacketError | ConnectionError.DisconnectReceivePacketStreamError | ConnectionError.DisconnectSendPacketError | ConnectionError.DisconnectIllegalTeleport | ConnectionError.DisconnectDuplicatePlayer | ConnectionError.DisconnectDuplicateTicket | ConnectionError.DisconnectTimeout | ConnectionError.DisconnectLuaKick | ConnectionError.DisconnectOnRemoteSysStats | ConnectionError.DisconnectHashTimeout | ConnectionError.DisconnectCloudEditKick | ConnectionError.DisconnectPlayerless | ConnectionError.DisconnectEvicted | ConnectionError.DisconnectDevMaintenance | ConnectionError.DisconnectRobloxMaintenance | ConnectionError.DisconnectRejoin | ConnectionError.DisconnectConnectionLost | ConnectionError.DisconnectIdle | ConnectionError.DisconnectRaknetErrors | ConnectionError.DisconnectWrongVersion | ConnectionError.DisconnectBySecurityPolicy | ConnectionError.DisconnectBlockedIP | ConnectionError.DisconnectClientFailure | ConnectionError.DisconnectClientRequest | ConnectionError.DisconnectOutOfMemory | ConnectionError.DisconnectModeratedGame | ConnectionError.DisconnectOutOfMemoryExitContinue | ConnectionError.DisconnectOutOfMemoryKeepPlayingExit | ConnectionError.ReplicatorTimeout | ConnectionError.PlayerRemoved | ConnectionError.DisconnectOutOfMemoryKeepPlayingLeave | ConnectionError.PlacelaunchErrors | ConnectionError.PlacelaunchDisabled | ConnectionError.PlacelaunchError | ConnectionError.PlacelaunchGameEnded | ConnectionError.PlacelaunchGameFull | ConnectionError.PlacelaunchUserLeft | ConnectionError.PlacelaunchRestricted | ConnectionError.PlacelaunchUnauthorized | ConnectionError.PlacelaunchFlooded | ConnectionError.PlacelaunchHashExpired | ConnectionError.PlacelaunchHashException | ConnectionError.PlacelaunchPartyCannotFit | ConnectionError.PlacelaunchHttpError | ConnectionError.PlacelaunchUserPrivacyUnauthorized | ConnectionError.PlacelaunchCustomMessage | ConnectionError.PlacelaunchOtherError | ConnectionError.TeleportErrors | ConnectionError.TeleportFailure | ConnectionError.TeleportGameNotFound | ConnectionError.TeleportGameEnded | ConnectionError.TeleportGameFull | ConnectionError.TeleportUnauthorized | ConnectionError.TeleportFlooded | ConnectionError.TeleportIsTeleporting;
4240
+ export type ConnectionError = ConnectionError.OK | ConnectionError.Unknown | ConnectionError.DisconnectErrors | ConnectionError.DisconnectBadhash | ConnectionError.DisconnectSecurityKeyMismatch | ConnectionError.DisconnectNewSecurityKeyMismatch | ConnectionError.DisconnectProtocolMismatch | ConnectionError.DisconnectReceivePacketError | ConnectionError.DisconnectReceivePacketStreamError | ConnectionError.DisconnectSendPacketError | ConnectionError.DisconnectIllegalTeleport | ConnectionError.DisconnectDuplicatePlayer | ConnectionError.DisconnectDuplicateTicket | ConnectionError.DisconnectTimeout | ConnectionError.DisconnectLuaKick | ConnectionError.DisconnectOnRemoteSysStats | ConnectionError.DisconnectHashTimeout | ConnectionError.DisconnectCloudEditKick | ConnectionError.DisconnectPlayerless | ConnectionError.DisconnectEvicted | ConnectionError.DisconnectDevMaintenance | ConnectionError.DisconnectRobloxMaintenance | ConnectionError.DisconnectRejoin | ConnectionError.DisconnectConnectionLost | ConnectionError.DisconnectIdle | ConnectionError.DisconnectRaknetErrors | ConnectionError.DisconnectWrongVersion | ConnectionError.DisconnectBySecurityPolicy | ConnectionError.DisconnectBlockedIP | ConnectionError.DisconnectClientFailure | ConnectionError.DisconnectClientRequest | ConnectionError.DisconnectModeratedGame | ConnectionError.DisconnectRomarkEndOfTest | ConnectionError.ReplicatorTimeout | ConnectionError.PlayerRemoved | ConnectionError.DisconnectOutOfMemoryKeepPlayingLeave | ConnectionError.PlacelaunchErrors | ConnectionError.PlacelaunchDisabled | ConnectionError.PlacelaunchError | ConnectionError.PlacelaunchGameEnded | ConnectionError.PlacelaunchGameFull | ConnectionError.PlacelaunchUserLeft | ConnectionError.PlacelaunchRestricted | ConnectionError.PlacelaunchUnauthorized | ConnectionError.PlacelaunchFlooded | ConnectionError.PlacelaunchHashExpired | ConnectionError.PlacelaunchHashException | ConnectionError.PlacelaunchPartyCannotFit | ConnectionError.PlacelaunchHttpError | ConnectionError.PlacelaunchUserPrivacyUnauthorized | ConnectionError.PlacelaunchCustomMessage | ConnectionError.PlacelaunchOtherError | ConnectionError.TeleportErrors | ConnectionError.TeleportFailure | ConnectionError.TeleportGameNotFound | ConnectionError.TeleportGameEnded | ConnectionError.TeleportGameFull | ConnectionError.TeleportUnauthorized | ConnectionError.TeleportFlooded | ConnectionError.TeleportIsTeleporting;
4257
4241
 
4258
4242
  export namespace ConnectionState {
4259
4243
  export interface Connected extends globalThis.EnumItem {
@@ -18036,6 +18020,27 @@ declare namespace Enum {
18036
18020
  }
18037
18021
  export type VRSafetyBubbleMode = VRSafetyBubbleMode.NoOne | VRSafetyBubbleMode.OnlyFriends | VRSafetyBubbleMode.Anyone;
18038
18022
 
18023
+ export namespace VRScaling {
18024
+ export interface World extends globalThis.EnumItem {
18025
+ Name: "World";
18026
+ Value: 0;
18027
+ EnumType: typeof globalThis.Enum.VRScaling;
18028
+ }
18029
+
18030
+ export const World: World;
18031
+
18032
+ export interface Off extends globalThis.EnumItem {
18033
+ Name: "Off";
18034
+ Value: 1;
18035
+ EnumType: typeof globalThis.Enum.VRScaling;
18036
+ }
18037
+
18038
+ export const Off: Off;
18039
+
18040
+ export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.VRScaling>;
18041
+ }
18042
+ export type VRScaling = VRScaling.World | VRScaling.Off;
18043
+
18039
18044
  export namespace VRSessionState {
18040
18045
  export interface Idle extends globalThis.EnumItem {
18041
18046
  Name: "Idle";
@@ -2247,11 +2247,19 @@ declare function warn(...params: Array<unknown>): void;
2247
2247
 
2248
2248
  // math functions
2249
2249
  declare namespace math {
2250
- /** Returns a perlin noise value between -0.5 and 0.5. If you leave arguments out, they will be interpreted as zero, so math.noise(1.158) is equivalent to math.noise(1.158, 0, 0) and math.noise(1.158, 5.723) is equivalent to math.noise(1.158, 5.723, 0).
2251
- * The function uses a perlin noise algorithm to assign fixed values to coordinates. For example, math.noise(1.158, 5.723) will always return 0.48397532105446 and math.noise(1.158, 6) will always return 0.15315161645412.
2252
- * If x, y and z are all integers, the return value will be 0. For fractional values of x, y and z, the return value will gradually fluctuate between -0.5 and 0.5. For coordinates that are close to each other, the return values will also be close to each other. */
2253
- function noise(x?: number, y?: number, z?: number): number;
2254
-
2250
+ /**
2251
+ * Returns a perlin noise value. The returned value is most often between the range [-1, 1].
2252
+ *
2253
+ * The returned value is sometimes will be outside of the range [-1,1], so if the interval is critical to you,
2254
+ * you should use `math.clamp(noise, -1, 1)` on the output.
2255
+ *
2256
+ * The function uses a perlin noise algorithm to assign fixed values to coordinates.
2257
+ * For example, `math.noise(1.158, 5.723)` will always return `0.48397532105446` and `math.noise(1.158, 6)` will always return `0.15315161645412`.
2258
+ *
2259
+ * If x, y and z are all integers, the return value will be 0. For fractional values of x, y and z, the return value will gradually fluctuate between -0.5 and 0.5.
2260
+ * For coordinates that are close to each other, the return values will also be close to each other.
2261
+ */
2262
+ function noise(x: number, y?: number, z?: number): number;
2255
2263
  /** Returns a number between min and max, inclusive. */
2256
2264
  function clamp(n: number, min: number, max: number): number;
2257
2265
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/types",
3
- "version": "1.0.673",
3
+ "version": "1.0.675",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },