Battle.net ID トークンを使用してユーザーにサインインする
構文
HRESULT PFAuthenticationLoginWithBattleNetAsync(
PFServiceConfigHandle serviceConfigHandle,
const PFAuthenticationLoginWithBattleNetRequest* request,
XAsyncBlock* async
)
パラメーター
serviceConfigHandle PFServiceConfigHandle
PFServiceConfigCreateHandle 呼び出しから返される PFServiceConfigHandle。
request
PFAuthenticationLoginWithBattleNetRequest*
設定された要求オブジェクト。
async XAsyncBlock*
Inout
非同期操作の XAsyncBlock。
戻り値
型: HRESULT
この API 操作の結果コード。
解説
この API は Windows で使用できます。 「ClientLinkBattleNetAccountAsync」、「ClientUnlinkBattleNetAccountAsync」も参照してください。 非同期タスクが完了したら、PFAuthenticationLoginWithBattleNetGetResult を呼び出して結果を取得します。
要件
ヘッダー: PFAuthentication.h