mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-08-03 11:07:23 -04:00
Updated Component Abstract Bus (markdown)
parent
2549150572
commit
c1a0b0a3da
@ -18,8 +18,8 @@ Callbacks:
|
||||
- `maxPacketSize(): number`
|
||||
Returns the maximum size a packet can be sent over the bus.
|
||||
|
||||
The abstract bus generates a signal named `bus_message` if a message is received. The values are;
|
||||
`protocol id: number, sender address: number, target address: number, data: table, metadata: table`
|
||||
The abstract bus generates a signal named `bus_message` if a message is received.
|
||||
The values are: `protocol id: number, sender address: number, target address: number, data: table, metadata: table`
|
||||
- `protocol id` is the protocol version that was used.
|
||||
- `sender address` is the address of the device sending the message
|
||||
- `target address` is the address of the device that the messages was intended for (-1 for network broadcasts)
|
||||
|
Loading…
x
Reference in New Issue
Block a user