@rbxts/types 1.0.734 → 1.0.736
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.
|
@@ -4762,7 +4762,7 @@ interface RemoteEvent<T extends Callback = Callback> extends BaseRemoteEvent {
|
|
|
4762
4762
|
readonly OnServerEvent: RBXScriptSignal<(player: Player, ...args: Array<unknown>) => void>;
|
|
4763
4763
|
}
|
|
4764
4764
|
|
|
4765
|
-
interface UnreliableRemoteEvent extends BaseRemoteEvent {
|
|
4765
|
+
interface UnreliableRemoteEvent<T extends Callback = Callback> extends BaseRemoteEvent {
|
|
4766
4766
|
/**
|
|
4767
4767
|
* **DO NOT USE!**
|
|
4768
4768
|
*
|
|
@@ -4771,11 +4771,11 @@ interface UnreliableRemoteEvent extends BaseRemoteEvent {
|
|
|
4771
4771
|
* @deprecated
|
|
4772
4772
|
*/
|
|
4773
4773
|
readonly _nominal_UnreliableRemoteEvent: unique symbol;
|
|
4774
|
-
FireAllClients(this: UnreliableRemoteEvent,
|
|
4775
|
-
FireClient(this: UnreliableRemoteEvent, player: Player,
|
|
4776
|
-
FireServer(this: UnreliableRemoteEvent,
|
|
4777
|
-
readonly OnClientEvent: RBXScriptSignal<
|
|
4778
|
-
readonly OnServerEvent: RBXScriptSignal<(player: Player,
|
|
4774
|
+
FireAllClients(this: UnreliableRemoteEvent, ...args: Parameters<T>): void;
|
|
4775
|
+
FireClient(this: UnreliableRemoteEvent, player: Player, ...args: Parameters<T>): void;
|
|
4776
|
+
FireServer(this: UnreliableRemoteEvent, ...args: Parameters<T>): void;
|
|
4777
|
+
readonly OnClientEvent: RBXScriptSignal<T>;
|
|
4778
|
+
readonly OnServerEvent: RBXScriptSignal<(player: Player, ...args: Array<unknown>) => void>;
|
|
4779
4779
|
}
|
|
4780
4780
|
|
|
4781
4781
|
/** The base class for [WrapTarget](https://developer.roblox.com/en-us/api-reference/class/WrapTarget) and [WrapLayer](https://developer.roblox.com/en-us/api-reference/class/WrapLayer) objects. Note that [MeshPart](https://developer.roblox.com/en-us/api-reference/class/MeshPart) is the only valid parent type for [BaseWrap](https://developer.roblox.com/en-us/api-reference/class/BaseWrap) and that it behaves more like a component of [MeshPart](https://developer.roblox.com/en-us/api-reference/class/MeshPart) than an independent object. */
|