|
struct | FFIEvents |
|
struct | FFIMethods |
|
|
delegate void | MessageHandler (UInt64 peerId, byte channelId, byte[] data) |
|
delegate void | RouteUpdateHandler (string routeData) |
|
UInt64 | GetPeerId () |
| Get the local peer ID for this process.
|
|
void | Flush () |
| Send pending network messages.
|
|
void | OpenPeer (UInt64 peerId, string routeData) |
| Open a connection to a remote peer.
|
|
void | UpdatePeer (UInt64 peerId, string routeData) |
| Update the route data for a connected peer.
|
|
void | ClosePeer (UInt64 peerId) |
| Close the connection to a remote peer.
|
|
void | OpenChannel (UInt64 peerId, byte channelId, bool reliable) |
| Open a message channel to a connected peer.
|
|
void | CloseChannel (UInt64 peerId, byte channelId) |
| Close a message channel to a connected peer.
|
|
void | SendMessage (UInt64 peerId, byte channelId, byte[] data) |
| Send a message to a connected peer over an opened message channel.
|
|
|
MessageHandler | OnMessage |
|
RouteUpdateHandler | OnRouteUpdate |
|
The documentation for this class was generated from the following file:
- C:/Transhuman/S2/Assets/Plugins/DiscordSDK/Runtime/Core.cs