我有一个两难的问题需要弄清楚.
所以我正在建立一个网站,人们可以去观看竞争游戏(例如反恐精英:全球攻势),也许使用Twitch电视流,或者实际上通过游戏可能提供的配对流服务(在这种情况下)这个例子,CS:GO TV).在比赛期间,会员可以使用某种形式的没有实际价值的积分来“下注”球队将获胜.当然,这里的问题是该网站需要能够从游戏中提取分数,并实时更新.因此,坚持使用CS:GO的例子,是否有一部分Steamworks API可以通过某种PHP或JavaScript方法实时提取游戏分数?
我很遗憾地告诉你,你现在不能.
原文链接:https://www.f2er.com/php/137087.html在CS的API描述中:GO竞争匹配信息说:
It would be interesting to be able to find out competitive match information — exactly like what DOTA 2 has. It could contain all the players in the map,with their steamids and competitive ranks,the score at half time/full time. There are probably a few more bits of info that could also be included. Pigophone2 16:54,14 September 2013 (PDT)