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
可以過濾褻瀆或法律不允許的詞