gpg::
  #include <stats_manager.h>
  다양한 통계 관련 데이터를 가져오고 설정합니다.
요약
| 공개 유형 | |
|---|---|
| FetchForPlayerCallback | typedef std::function< void(const FetchForPlayerResponse &)>FetchForPlayerResponse를 수신하는 콜백 유형을 정의합니다.  | 
| 공개 함수 | |
|---|---|
| FetchForPlayer(FetchForPlayerCallback callback) | void현재 로그인한 플레이어의 모든 통계 데이터를 비동기식으로 로드합니다.  | 
| FetchForPlayer(DataSource data_source, FetchForPlayerCallback callback) | void현재 로그인한 플레이어의 모든 통계 데이터를 비동기식으로 로드합니다.  | 
| FetchForPlayerBlocking() | 현재 로그인한 플레이어의 모든 통계 데이터를 동기식으로 로드하여 FetchForPlayerResponse를 직접 반환합니다.  | 
| FetchForPlayerBlocking(DataSource data_source) | 현재 로그인한 플레이어의 모든 통계 데이터를 동기식으로 로드하여 FetchForPlayerResponse를 직접 반환합니다.  | 
| FetchForPlayerBlocking(Timeout timeout) | 현재 로그인한 플레이어의 모든 통계 데이터를 동기식으로 로드하여 FetchForPlayerResponse를 직접 반환합니다.  | 
| FetchForPlayerBlocking(DataSource data_source, Timeout timeout) | 현재 로그인한 플레이어의 모든 통계 데이터를 동기식으로 로드하여 FetchForPlayerResponse를 직접 반환합니다.  | 
| 구조체 | |
|---|---|
| gpg:: | 응답 상태와 함께 모든 PlayerStats 데이터를 보유합니다. | 
공개 유형
FetchForPlayerCallback
std::function< void(const FetchForPlayerResponse &)> FetchForPlayerCallback
FetchForPlayerResponse를 수신하는 콜백 유형을 정의합니다.
이 콜백 유형은 아래의 FetchForPlayer(*) 함수에 제공됩니다. 
공개 함수
FetchForPlayer
void FetchForPlayer( FetchForPlayerCallback callback )
현재 로그인한 플레이어의 모든 통계 데이터를 비동기식으로 로드합니다.
작업 완료 시 제공된 FetchForPlayerCallback을 호출합니다. data_source를 지정하지 않으면 이 함수 호출은 data_source가 CACHE_OR_NETWORK로 지정된 FetchForPlayer(DataSource data_source, FetchForPlayerCallback callback) 호출과 동일합니다. 
FetchForPlayer
void FetchForPlayer( DataSource data_source, FetchForPlayerCallback callback )
현재 로그인한 플레이어의 모든 통계 데이터를 비동기식으로 로드합니다.
작업 완료 시 제공된 FetchForPlayerCallback을 호출합니다. data_source를 CACHE_OR_NETWORK 또는 NETWORK_ONLY로 지정합니다.
FetchForPlayerBlocking
FetchForPlayerResponse FetchForPlayerBlocking()
현재 로그인한 플레이어의 모든 통계 데이터를 동기식으로 로드하여 FetchForPlayerResponse를 직접 반환합니다.
data_source 또는 timeout을 지정하지 않으면 이 함수 호출은 data_source가 CACHE_OR_NETWORK로 지정되고 timeout이 10년으로 지정된 FetchForPlayerResponse FetchForPlayerBlocking(DataSource data_source, Timeout timeout)을 호출하는 것과 같습니다.
FetchForPlayerBlocking
FetchForPlayerResponse FetchForPlayerBlocking( DataSource data_source )
현재 로그인한 플레이어의 모든 통계 데이터를 동기식으로 로드하여 FetchForPlayerResponse를 직접 반환합니다.
data_source를 CACHE_OR_NETWORK 또는 NETWORK_ONLY로 지정합니다. 제한 시간을 지정하지 않으면 이 함수 호출은 지정된 data_source 값과 제한 시간이 10년으로 지정된 FetchForPlayerResponse FetchForPlayerBlocking(DataSource data_source, Timeout timeout)을 호출하는 것과 같습니다.
FetchForPlayerBlocking
FetchForPlayerResponse FetchForPlayerBlocking( Timeout timeout )
현재 로그인한 플레이어의 모든 통계 데이터를 동기식으로 로드하여 FetchForPlayerResponse를 직접 반환합니다.
시간 초과를 임의의 밀리초 값으로 지정합니다. data_source를 지정하지 않으면 이 함수 호출은 data_source가 CACHE_OR_NETWORK로 지정되고 지정된 값이 포함된 timeout과 함께 FetchForPlayerResponse FetchForPlayerBlocking(DataSource data_source, Timeout timeout)을 호출하는 것과 같습니다.
FetchForPlayerBlocking
FetchForPlayerResponse FetchForPlayerBlocking( DataSource data_source, Timeout timeout )
현재 로그인한 플레이어의 모든 통계 데이터를 동기식으로 로드하여 FetchForPlayerResponse를 직접 반환합니다.
data_source를 CACHE_OR_NETWORK 또는 NETWORK_ONLY로 지정합니다. 시간 초과를 임의의 밀리초 값으로 지정합니다.
