2018-09-14 08:47:41 +02:00
|
|
|
/*
|
|
|
|
* BreakHack - A dungeone crawler RPG
|
|
|
|
* Copyright (C) 2018 Linus Probert <linus.probert@gmail.com>
|
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2018-08-29 14:03:18 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
int64_t
|
|
|
|
c_SteamAPI_Init(void);
|
|
|
|
|
|
|
|
int64_t
|
|
|
|
c_SteamAPI_GetAppID(void);
|
|
|
|
|
2018-09-17 14:23:35 +02:00
|
|
|
bool
|
|
|
|
c_SteamAPI_RestartAppIfNecessary(void);
|
|
|
|
|
2018-08-29 14:03:18 +02:00
|
|
|
void
|
|
|
|
c_SteamAPI_RunCallbacks(void);
|
|
|
|
|
|
|
|
void
|
2018-08-31 15:58:59 +02:00
|
|
|
c_SteamAPI_SetCallbacks(void(*recvCB)(void), void(*storCB)(void), void(*recvLB)(int64_t, const char *));
|
2018-08-29 14:03:18 +02:00
|
|
|
|
|
|
|
bool
|
2018-08-30 08:54:21 +02:00
|
|
|
c_SteamUserStats_RequestCurrentStats(void);
|
2018-08-29 14:03:18 +02:00
|
|
|
|
|
|
|
bool
|
|
|
|
c_SteamUserStats_SetAchievement(const char *id);
|
|
|
|
|
|
|
|
void
|
|
|
|
c_SteamUserStats_GetAchievement(const char *achId, bool *achieved);
|
|
|
|
|
|
|
|
const char *
|
|
|
|
c_SteamUserStats_GetAchievementDisplayAttribute(const char *achId, const char *attrName);
|
|
|
|
|
2018-08-29 22:13:22 +02:00
|
|
|
void
|
|
|
|
c_SteamUserStats_FindLeaderboard(const char *name);
|
|
|
|
|
|
|
|
void
|
2018-09-03 17:21:33 +02:00
|
|
|
c_SteamUserStats_UploadLeaderboardScore(int64_t hLeaderboard, int32_t nScore, const int32_t *details, int32_t nDetails);
|
2018-08-29 22:13:22 +02:00
|
|
|
|
2018-08-29 14:03:18 +02:00
|
|
|
void
|
2018-09-02 23:44:48 +02:00
|
|
|
c_SteamAPI_Shutdown(void);
|