#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");
Asynchronous operations are now handled inside the library
Default timeout for operations is 4 minutes
- You will need
steamapi_64
added to your project - link against
libeasysteam.a
andsteamapi_64
, either .dll or .lib - Done !
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