실시간으로 추적되는 통계 집합을 구성합니다. 이 호출은 이미 추적되고 있는 통계에 영향을 주지 않습니다.
구문
HRESULT XblUserStatisticsTrackStatistics(
XblContextHandle xblContextHandle,
const uint64_t* xboxUserIds,
size_t xboxUserIdsCount,
const char* serviceConfigurationId,
const char** statisticNames,
size_t statisticNamesCount
)
매개 변수
xblContextHandle _In_
형식: XblContextHandle
로컬 사용자용 Xbox Live 컨텍스트입니다.
xboxUserIds _In_
형식: uint64_t*
제공된 통계를 추적할 XboxUserIDs의 배열입니다.
xboxUserIdsCount _In_
형식: size_t
xboxUserIds 배열의 길이입니다.
serviceConfigurationId _In_z_
형식: char*
타이틀용 SCID(서비스 구성 ID)입니다. SCID는 대소문자를 구분하므로 파트너 센터에서 직접 붙여넣기하세요.
statisticNames _In_
형식: char**
실시간 업데이트를 수신할 통계 이름의 배열입니다.
statisticNamesCount _In_
형식: size_t
statisticNames 배열의 길이입니다.
반환 값
형식: HRESULT
이 API 작업에 대한 HRESULT 반환 코드입니다.
설명
업데이트는 XblStatisticChangedHandlers를 통해 제공됩니다. 추적된 통계 집합은 처리기와 독립적으로 업데이트할 수 있습니다.
요건
헤더: user_statistics_c.h
도서관: Microsoft.Xbox.Services.14x.GDK.C.lib