Repository navigation
OnlyWorlds SDK for Unreal 0.14.0
A game can set an element's image and attach files to it: a portrait, a screenshot, a save.
- In C++: the ten image and file calls on
OWClient, as the TypeScript SDK has them:UploadImage,RemoveImage,UploadFile,ListFiles,WorldFiles,FileDownloadLink,RemoveFile, and the three tickets (CreateMediaTicket,CreateRemovalTicket,CreateFileTicket) for a game that sends the bytes itself. Their types are inOWMedia.h. - On Blueprints: six node classes. An upload takes an array of bytes or a file's path, since a screenshot or a render is written to disk:
UploadImageandUploadImageFromDisk,UploadElementFileandUploadElementFileFromDisk,RemoveImage,ListElementFilesandListWorldFiles,ReadFileDownloadLink,RemoveElementFile. - Errors a game branches on:
IsNotAuthor,IsQuotaExceeded,IsFileTooLargeandIsFilesFullon the client's error. - A body with no media type now goes as
application/octet-stream: Unreal's HTTP requires a type on a POST whose bytes are not URL-safe. - A Blueprint node gives up after 30 seconds, which a large upload on a slow connection can pass; a C++ caller sets its own timeout (the reference says how).
A minor release: it adds public API.
onlyworlds-unreal-0.14.0.zip holds the OnlyWorlds/ plugin folder, as source: put it in a C++ project's Plugins/ and build. Built from the tag and proven by building it in an empty Unreal 5.8 C++ project that reads a world through it.
sha256 d84c75c5f762fb194e23e5e222abe664c88cce7bcc1309572b40fef8be6ee27d