See <ComponentProps>
A portion of the configuration object to pass to the LogicVector3ReceiverComponent
constructor.
type LogicVector3ReceiverComponentPropsV1 = {
sender?: number | undefined;
};
type LogicVector3ReceiverComponentProps = LogicVector3ReceiverComponentPropsV1;
sender
(optional, default0
)<number>
Creates a versioned LogicVector3Receiver
component.
props
<ComponentProps & LogicVector3ReceiverComponentProps>
Configuration of the component to create.- Returns:
<LogicVector3ReceiverComponent>
import { LogicVector3ReceiverComponent } from 'att-string-transcoder';
const componentVersion = 1;
const component = new LogicVector3ReceiverComponent({ version: componentVersion });
See Component.fromBinary(reader, version)
Note that the following properties are sorted in order of appearance when decoding component binary data.
See Component.hash
See Component.name
The identifier of the LogicVector3Sender
that is connected to this LogicVector3Receiver
.
- Since:
v1
<number>
import { LogicVector3ReceiverComponent } from 'att-string-transcoder';
const componentVersion = 1;
const component = new LogicVector3ReceiverComponent({ version: componentVersion });
const sender = component.sender;
// `sender` is `0`
See Component.toBinary(version?)