Navigation
API > API/Editor > API/Editor/SwarmInterface > API/Editor/SwarmInterface/FSwarmInterface
Description
Adds an existing file to the cache. Note, any existing channel with the same name will be overwritten.
| Name | AddChannel |
| Type | function |
| Header File | /Engine/Source/Editor/SwarmInterface/Public/SwarmInterface.h |
| Include Path | #include "SwarmInterface.h" |
int32 AddChannel
(
const TCHAR * FullPath,
const TCHAR * ChannelName
)
int32 Error code (< 0 is an error)
Parameters
| Name | Remarks |
|---|---|
| FullPath | The full path name to the file that should be copied into the cache |
| ChannelName | The name of the channel once it's in the cache |