-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
James
committed
Mar 1, 2024
1 parent
637a6ea
commit 98c2581
Showing
24 changed files
with
247 additions
and
340 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# ClientFunction <Badge type="danger" text="client" /> | ||
|
||
A client-sided network function. | ||
|
||
## Properties | ||
|
||
### IsReliable <Badge type="tip" text="read only" /> | ||
|
||
Whether or not the network function uses a reliable remote event. | ||
|
||
* **boolean** | ||
|
||
## Methods | ||
|
||
### InvokeAsync | ||
|
||
Invokes the server, equivalent to [RemoteFunction:InvokeServer](https://create.roblox.com/docs/reference/engine/classes/RemoteFunction#InvokeServer). Returns a future (promise). | ||
|
||
**Parameters** | ||
|
||
* **data:** `...any`\ | ||
The data to invoke the server with | ||
|
||
**Returns** | ||
|
||
* **[Future](https://util.redblox.dev/future.html#methods)** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Network | ||
|
||
The library to create network events and functions. | ||
|
||
## Functions | ||
|
||
### Event | ||
|
||
The contstructor for creating new network events. | ||
|
||
**Parameters** | ||
|
||
* **name:** `string`\ | ||
The name of the new object | ||
|
||
* **reliable:** `boolean?`\ | ||
Whether or not the object created is reliable. Defaults to true | ||
|
||
**Returns** | ||
|
||
* **[**EventClient | EventServer**](/api/network/server)** | ||
|
||
--- | ||
|
||
### Function | ||
|
||
The contstructor for creating new network functions. | ||
|
||
**Parameters** | ||
|
||
* **name:** `string`\ | ||
The name of the new object | ||
|
||
* **reliable:** `boolean?`\ | ||
Whether or not the object created is reliable. Defaults to true | ||
|
||
**Returns** | ||
|
||
* **[**FunctionClient | FunctionServer**](/api/network/server)** |
Oops, something went wrong.