mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-18 11:48:02 -04:00
Updated Component Modem (markdown)
parent
b1714b6ed8
commit
0dc5dc4326
@ -5,7 +5,7 @@ Callbacks:
|
|||||||
- `isWireless(): boolean`
|
- `isWireless(): boolean`
|
||||||
Returns whether this modem is capable of sending wireless messages.
|
Returns whether this modem is capable of sending wireless messages.
|
||||||
- `maxPacketSize(): number`
|
- `maxPacketSize(): number`
|
||||||
Returns the maximum packet size for sending messages via network cards. Defaults to 8192. You can change this in the OpenComputer configuration file.
|
Returns the maximum packet size for sending messages via network cards. Defaults to 8192. You can change this in the OpenComputers configuration file.
|
||||||
- `isOpen(port: number): boolean`
|
- `isOpen(port: number): boolean`
|
||||||
Returns whether the specified "port" is currently being listened on. Messages only trigger signals when they arrive on a port that is open.
|
Returns whether the specified "port" is currently being listened on. Messages only trigger signals when they arrive on a port that is open.
|
||||||
- `open(port: number): boolean`
|
- `open(port: number): boolean`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user