CSW Online Share Content

Average Rating:  
X Rating Failed

Save/load images to disk. Download and upload any file to a URL.

  • Supported Target Platforms
  • Supported Engine Versions
    4.19-4.21

Description


Showcase video:


Important Notice: Knowledge of server-side code (Gamespakrs, Steamworks, etc.) is necessary in order to use the download/upload file functions since these functions need a URL provided by your backend service. Save/Load images to/from disk can be used offline normally.


Besides exposing functions for file management, this plugin also let you save images to disk in-game and also load images as Textures2D from disk. Save a picture of your game while playing and also load an image file in your game, everything in runtime!


Functions for uploading and downloading any files are also available, but they require a back-end service.


Requirements and considerations:

  • The download and upload functions require a URL from where a file can be downloaded/uploaded.
  • These URLs can be generated by a cloud service like Gamesparks, Steam, etc. This plugin doesn't include functions for any of those services.
  • Knowledge of server-side programming is required for the uploading and downloading functions.



FAQ:

  • Q: Can this plugin be used without a back-end cloud service?
  • A: Yes, everything except for the download/upload functions can still be used. Actually, the download function could still be used as it can download a file from any URL that has a file attached.

Technical Details


Features: [Everything is exposed to Blueprints]

  •  Save an image to a directory (.png) while playing. This image can be obtained from the player camera or similar.
  •  Load an image file as a Texture2D while playing. This texture can be used in a widget or similar.
  •  Upload any file file from a directory to an URL.
  • Download a file from a URL to a directory.
  • Library functions for handling directories and files (copy, move, etc.)
  • Library functions for obtaining the paths of the game, savefiles and screenshots.

Code Modules:

  •  CSWOnlineSubsystem [Runtime]

Number of Blueprints: 0

Number of C++ Classes: 3

Network Replicated: No

Supported Development Platforms: Windows

Supported Target Build Platforms: Windows, Android. (Other platforms requires manual compilation).

Example Project:

4.19

Comments

!

Previous Next
  • Edit
  • Preview
  • Help
Enter
Login to comment
X Report this Comment
Report
X Attention


close
X Edit this Comment
  • Edit
  • Preview
  • Help
Update
X Remove this Comment

Are you sure you want to remove this comment?

Remove
X Attention