Navigation
API > API/Plugins > API/Plugins/StormSyncCore
References
| Module | StormSyncCore |
| Header | /Engine/Plugins/Experimental/StormSync/Source/StormSyncCore/Public/StormSyncCoreDelegates.h |
| Include | #include "StormSyncCoreDelegates.h" |
Syntax
struct FStormSyncCoreDelegates
Remarks
Delegates used by the editor.
Typedefs
| Name | Description |
|---|---|
| FOnFileImported | Delegate type for when imported spak has completed extraction. |
| FOnPakAssetExtracted | Delegate type for when one asset is extracted from an incoming pak |
| FOnPreStartSendingBuffer | Delegate type for a client socket about to open a stream for sending a buffer |
| FOnReceivingBytes | Delegate type for a client socket receiving response from server, indicating how many bytes it received so far |
| FOnRequestImportBuffer | Delegate type for when an incoming pak extraction process starts |
| FOnRequestImportFile | Delegate type for when one an incoming pak extraction process starts |
| FOnServiceDiscoveryConnection | Delegate type for a new connection over the network on storm sync message bus. |
| FOnServiceDiscoveryDisconnection | Delegate type for a disconnection on storm sync message bus. |
| FOnServiceDiscoveryServerStatusChange | Delegate type for when server status for a connection on storm sync network has changed (either running or stopped). |
| FOnServiceDiscoveryStateChange | Delegate type for when a connection on storm sync network state is changing (might become unresponsive). |
| FOnStartSendingBuffer | Delegate type for a client socket opening a tcp stream and sending a buffer to a remote server |
| FOnStormSyncServerStarted | Broadcasted when server module starts the endpoint |
| FOnStormSyncServerStopped | Broadcasted when server module stops the endpoint |
| FOnTransferComplete | Delegate type for a client socket receiving "transfer complete" response from server, indicating the tcp transfer is done. |
Constants
| Name | Description |
|---|---|
| OnFileImported | |
| OnPakAssetExtracted | Called when a file is extracted from an incoming storm sync pak |
| OnPreStartSendingBuffer | Called when a tcp socket client is about to open a tcp stream and starts sending buffer to a remote server, before the buffer is created and the connection is established. |
| OnReceivingBytes | Called when a tcp socket client is receiving a response from a server we are sending to (including the size it receives so far) |
| OnRequestImportBuffer | Called when receiving a buffer over network and used to queue up an import task |
| OnRequestImportFile | Called when importing an .spak file via the Archive factory (import via content browser) and used to queue up an import task |
| OnServiceDiscoveryConnection | Called when service discovery manager detects a new connection on Storm Sync network |
| OnServiceDiscoveryDisconnection | Called when service discovery manager detects a connection dropped on Storm Sync network (happens after a certain amount of inactivity configured via StormSyncTransportSettings) |
| OnServiceDiscoveryServerStatusChange | Called when service discovery manager detects a state change for remote server endpoint on a connected device |
| OnServiceDiscoveryStateChange | Called when service discovery manager detects a state change for a connected device on Storm Sync network (might become unresponsive) |
| OnStartSendingBuffer | Called when a tcp socket client opens a tcp stream and starts sending a buffer to a remote server |
| OnStormSyncServerStarted | Server started delegate |
| OnStormSyncServerStopped | Server stopped delegate |
| OnTransferComplete | Called when a tcp socket client is receiving a response from a server we are sending to (including the size it receives so far) |