Skip to content

Latest commit

 

History

History
55 lines (33 loc) · 1.56 KB

README.md

File metadata and controls

55 lines (33 loc) · 1.56 KB

1 1_8LbQy3Sx9B_5BfL7f70g

Integrate creating and editing of Steam workshop items for your app in seconds

It only takes a few lines of code

#include "easySteam.h"

// Do only once

easySteam::initializeSteamHelper();


// Specify the app ID to create a new item

easySteam::appID = 480;


// Create your new item

easySteam::createItem(easySteam::appID);


// Or specify the item ID if you want to edit an existing item
// easySteam::itemID = 3106420873; 
    

// Customize the workshop item as needed
easySteam::initUpdateHandle();


// Rest of the API

easySteam::setPreviewImage("SomePath\\ena.jpg");
easySteam::setWorkshopItemTitle("Custom Title");
easySteam::setWorkshopItemDescription("Custom Description");
easySteam::setWorkshopItemContent("SomePath\\YourContent");


// Submit your changes

easySteam::submitWorkshopItemUpdate(easySteam::itemID, "Custom changelog note");

No more Async to worry about

Asynchronous operations are now handled inside the library

Default timeout for operations is 4 minutes

Compiling

  • You will need steamapi_64 added to your project
  • link against libeasysteam.a and steamapi_64, either .dll or .lib
  • Done !

Special Thanks

Vittorio Romeo for the base code from which i built the API.
Go check his game OpenHexagon on Steam, it's great, and it allowed me to run the tests for easySteam