Files
SmokeAPI/static/smoke_api/interfaces/steam_apps.hpp
2025-08-27 20:42:08 +05:00

33 lines
809 B
C++

#pragma once
#include "smoke_api/types.hpp"
// TODO: Make them all noexcept
namespace smoke_api::steam_apps {
bool IsDlcUnlocked(
const std::string& function_name,
AppId_t app_id,
AppId_t dlc_id,
const std::function<bool()>& original_function
) noexcept;
int GetDLCCount(
const std::string& function_name,
AppId_t app_id,
const std::function<int()>& original_function
) noexcept;
bool GetDLCDataByIndex(
const std::string& function_name,
AppId_t app_id,
int iDLC,
AppId_t* pDlcId,
bool* pbAvailable,
char* pchName,
int cchNameBufferSize,
const std::function<bool()>& original_function,
const std::function<bool()>& is_originally_unlocked
) noexcept;
}