次の方法で共有


GameService.PostResult メソッド

定義

ゲームの結果を終了して投稿します。

public:
 static void PostResult(unsigned int gameVariant, GameServiceScoreKind scoreKind, long long scoreValue, GameServiceGameOutcome gameOutcome, IBuffer ^ buffer);
 static void PostResult(uint32_t const& gameVariant, GameServiceScoreKind const& scoreKind, long const& scoreValue, GameServiceGameOutcome const& gameOutcome, IBuffer const& buffer);
public static void PostResult(uint gameVariant, GameServiceScoreKind scoreKind, long scoreValue, GameServiceGameOutcome gameOutcome, IBuffer buffer);
function postResult(gameVariant, scoreKind, scoreValue, gameOutcome, buffer)
Public Shared Sub PostResult (gameVariant As UInteger, scoreKind As GameServiceScoreKind, scoreValue As Long, gameOutcome As GameServiceGameOutcome, buffer As IBuffer)

パラメーター

gameVariant
UInt32

unsigned int

uint32_t

アプリ固有のゲームバリアント識別子。

scoreKind
GameServiceScoreKind

結果のスコアの種類。

scoreValue
Int64

long long

long

結果のスコア値。

gameOutcome
GameServiceGameOutcome

ゲームの結果。

buffer
IBuffer

結果に含めるデータ バッファー。

注釈

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

適用対象