次の方法で共有


GameService.GrantAchievement(UInt32) メソッド

定義

指定したアチーブメントを現在のユーザーに付与します。

public:
 static void GrantAchievement(unsigned int achievementId);
 static void GrantAchievement(uint32_t const& achievementId);
public static void GrantAchievement(uint achievementId);
function grantAchievement(achievementId)
Public Shared Sub GrantAchievement (achievementId As UInteger)

パラメーター

achievementId
UInt32

unsigned int

uint32_t

アチーブメントの識別子。

注釈

Windows.Phone.System.UserProfile.GameServices.Core 名前空間のすべてのメンバーは、XBox Live SDKでのみ使用できます。 これらの API は、ID_CAP_GAMERSERVICES機能を持つアプリケーション以外では呼び出すことができません。

適用対象