Поделиться через


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 могут использоваться только Live SDK XBox. Эти API не могут вызываться только приложениями, которые имеют возможность ID_CAP_GAMERSERVICES.

Применяется к