【问题标题】:How to retrieve Steamwork SDK's current version如何检索 Steamwork SDK 当前版本
【发布时间】:2020-09-28 00:59:15
【问题描述】:

是否可以通过 C++ 从 Steamworks API 获取 Steamworks SDK 的当前版本?

如果是,怎么做?

This is what I'm looking for

【问题讨论】:

  • 您指的是此文档中的STEAMAPPLIST_INTERFACE_VERSION 变量吗:partner.steamgames.com/doc/api/ISteamClient
  • @darclader 看起来像我需要的东西。谢谢你。 :)
  • 太棒了!我阅读了更多关于它的内容,它似乎是应用程序界面或应用程序列表界面的版本。这仍然与您的问题有关吗?如果是这样,我们是否应该为未来可能有同样问题的人写一个答案?
  • 看了一下,毕竟不是我需要的。 :( 我更准确地用我正在寻找的内容更新了我的问题

标签: c++ steam steamworks-api


【解决方案1】:

你可以使用

ISteamAppList * GetISteamAppList( HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion );
...

pchVersion  const char *    The version string that identifies the version of the interface that you receive.
Retrieves the ISteamAppList interface associated with the specified user handle, only available on specially registered apps.

【讨论】:

    猜你喜欢
    • 2018-05-30
    • 2010-12-25
    • 1970-01-01
    • 2013-12-24
    • 2012-10-19
    • 1970-01-01
    • 1970-01-01
    • 2015-04-22
    相关资源
    最近更新 更多