Skip to content

OnlyWorlds SDK for Unreal 0.14.0

Choose a tag to compare

@tmoosting tmoosting released this 28 Nov 09:23
· 50 commits to main since this release

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 in OWMedia.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: UploadImage and UploadImageFromDisk, UploadElementFile and UploadElementFileFromDisk, RemoveImage, ListElementFiles and ListWorldFiles, ReadFileDownloadLink, RemoveElementFile.
  • Errors a game branches on: IsNotAuthor, IsQuotaExceeded, IsFileTooLarge and IsFilesFull on 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.

README · CHANGELOG

sha256 d84c75c5f762fb194e23e5e222abe664c88cce7bcc1309572b40fef8be6ee27d