mirror of
https://github.com/anticitizn/creamlinux.git
synced 2025-12-05 21:15:40 -05:00
removed broken test app
This commit is contained in:
23
test.cpp
23
test.cpp
@@ -1,23 +0,0 @@
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
#include "ext/steam/steam_api.h"
|
||||
#include <string>
|
||||
#include <cassert>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
using namespace std;
|
||||
|
||||
inline const char* const BoolToString(bool b)
|
||||
{
|
||||
return b ? "true" : "false";
|
||||
}
|
||||
|
||||
int main() {
|
||||
SteamAPI_Init();
|
||||
auto testdlc = 445630;
|
||||
std::cout << "We have " << SteamApps()->GetDLCCount() << " DLCs. " << std::endl;
|
||||
std::cout << BoolToString(SteamApps()->BIsDlcInstalled(testdlc)) << std::endl;
|
||||
std::cout << SteamUser()->UserHasLicenseForApp(SteamUser()->GetSteamID(), testdlc) << std::endl;
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user