https://tinyurl.com/yxsxl3fm
Steamworks SDK 1.45 (让开发者可以与 steam 程式互动的函式库)
中出现了两个有趣的更新:
Add basic text filtering API.
Add IsSteamChinaLauncher API.
第二个字面上就是中国版的 Steam 启动器
不过目前没有其他资讯,不知道会如何运作(IP强制锁或是?)。
https://partner.steamgames.com/doc/api/ISteamUtils
API 文件中也写得很模糊:
IsSteamChinaLauncher:
Returns whether the current launcher is a Steam China launcher. You can cause
the client to behave as the Steam China launcher by adding -dev -steamchina
to the command line when running Steam.
FilterText:
Filters the provided input message and places the filtered result into
pchOutFilteredText.
bLegalOnly: should be false if you want profanity and legally required filtering (where
required) and true if you want legally required filtering only
可以过滤亵渎或法律不允许的词