native package
Classes
| Class | Description |
|---|---|
| BaseEvent | The base event type. |
| BaseRequestEvent | The base request event type. |
| CloseEvent_2 | An event that occurs when something is closed. |
| DataChannel | A data channel from our device to another Peer on the Rainway Network. |
| DataChannelEvent | An event that occurs when a DataChannel is created. |
| EventEmitter | Event emitter |
| GamepadReport | An input report describing gamepad input. |
| GamepadRumble | An input report describing gamepad rumble. |
| InputBody | The body of an input event. |
| InputEvent_2 | An event that occurs when input arrives for a given OutboundStream. Can be used to prevent input event processing, preventing the host from handling the input. |
| KeyboardInput | An input report describing keyboard input. |
| LogBody | The body of a log. |
| LogEvent | An event that occurs when the RainwaySDK logs data. |
| LogicalInput | An input report describing logical input. |
| MessageEventRequest | An event that occurs when a DataChannel gets a message that expects a response. |
| MessageEventStandalone | An event that occurs when a DataChannel gets a message that does not expect a response. |
| MouseAbsolute | An input report describing absolute mouse position input. |
| MouseClick | An input report describing mouse click input. |
| MouseRelative | An input report describing relative mouse position input. |
| MouseScroll | An input report describing mouse scroll input. |
| OutboundStream | An outbound stream from our device to another Peer on the Rainway Network. |
| Peer | An object representing a connection to a remote Rainway peer. |
| PeerJoinEvent | An event that occurs when a Peer joins a OutboundStream. |
| PeerLeaveEvent | An event that occurs when a Peer leaves a OutboundStream. |
| PeerRequestEvent | An event that occurs when a remote peer requests to connect. |
| PeerStateChangeEvent | An event that occurs when a Peer changes RainwayPeerState. |
| PenAbsolute | An input report describing absolute positioned pen input. |
| PointerInfo | Information about a pointer. |
| RainwayConnection | A connection to the Rainway network over which peer connection requests are transmitted. |
| RainwaySDK | The Rainway SDK |
| SetClipboardText | An input report describing clipboard text changes. |
| StreamRequestEvent | An event that occurs when a remote peer requests an OutboundStream. |
| Touch_2 | Information about touch. |
| TouchesAbsolute | An input report describing absolute positioned touch input. |
| ViewportResize | An input report describing viewport resize changes. |
Enumerations
| Enumeration | Description |
|---|---|
| MessageEventType | Indicates whether a received data channel message expects a response. |
| RainwayButtonAction | |
| RainwayChannelMode | |
| RainwayInput_Tag | |
| RainwayInputLevel | |
| RainwayKeyboardAction | |
| RainwayLogLevel | |
| RainwayMouseButton | |
| RainwayPeerState | |
| RainwayPenFlags | |
| RainwayPenMask | |
| RainwayResolutionStrategy | |
| RainwayScrollAxis | |
| RainwayStreamType | |
| RainwayVirtualKey | |
| RainwayXInputButtons |
Interfaces
| Interface | Description |
|---|---|
| ConnectOptions | Options for connecting to the Rainway Network. |
| DataChannelEvents | Events emitted by DataChannel |
| DataChannelOptions | Options for creating a data channel. |
| OutboundStreamEvents | Events emitted by OutboundStream |
| OutboundStreamOptions | Options for creating an outbound stream. |
| PeerConnectOptions | Options for connecting to a remote peer on the Rainway Network. |
| PeerEvents | Events emitted by Peer |
| PeerOptions | Options for configuring a Peer. |
| RainwayConnectionEvents | Events emitted by RainwayConnection |
| RainwayGamepadReport_Body | |
| RainwayGamepadRumble_Body | |
| RainwayIncomingConnectionRequest | |
| RainwayInput_Union | |
| RainwayInput | |
| RainwayInputEvent | |
| RainwayKeyboardInput_Body | |
| RainwayLogicalInput_Body | |
| RainwayMouseAbsolute_Body | |
| RainwayMouseClick_Body | |
| RainwayMouseRelative_Body | |
| RainwayMouseScroll_Body | |
| RainwayPenAbsolute_Body | |
| RainwaySDKEvents | Events emitted by RainwaySDK |
| RainwaySetClipboardText_Body | |
| RainwayStreamRequestEvent | |
| RainwayTouchAbsolute | |
| RainwayTouchesAbsolute_Body | |
| RainwayTouchPenPointerInfo | |
| RainwayViewportResize_Body |
Variables
Type Aliases
| Type Alias | Description |
|---|---|
| EventHandler | Helper to constrain event handlers |
| EventName | Helper type to constrain event names |
| EventProvider | Helper type to constrain event provider types |
| EventReturnType | The return type of an event handler |
| MessageEvent_2 | |
| RainwayGamepadReport_BodyType | |
| RainwayGamepadRumble_BodyType | |
| RainwayIncomingConnectionRequestType | |
| RainwayInputEventType | |
| RainwayInputType | |
| RainwayKeyboardInput_BodyType | |
| RainwayLogicalInput_BodyType | |
| RainwayMouseAbsolute_BodyType | |
| RainwayMouseClick_BodyType | |
| RainwayMouseRelative_BodyType | |
| RainwayMouseScroll_BodyType | |
| RainwayPeerId | |
| RainwayPenAbsolute_BodyType | |
| RainwaySetClipboardText_BodyType | |
| RainwayStreamId | |
| RainwayStreamRequestEventType | |
| RainwayTouchAbsoluteType | |
| RainwayTouchesAbsolute_BodyType | |
| RainwayTouchPenPointerInfoType | |
| RainwayViewportResize_BodyType | |
| uintptr_t |
