gpg::
  #include <participant_results.h>
  TurnBasedMatch의 참여자별 결과에 관한 데이터가 포함된 데이터 구조입니다. 
요약
| 생성자 및 소멸자 | |
|---|---|
| ParticipantResults() | |
| ParticipantResults(std::shared_ptr< const ParticipantResultsImpl > impl) | |
| ParticipantResults(const ParticipantResults & copy_from)기존  ParticipantResults객체의 사본을 만듭니다. | |
| ParticipantResults(ParticipantResults && move_from)기존  ParticipantResults객체를 이동합니다. | 
| 공개 함수 | |
|---|---|
| HasResultsForParticipant(const std::string & participant_id) const  | bool이  ParticipantResults객체에 지정된MultiplayerParticipant의 결과가 있으면 true를 반환합니다. | 
| MatchResultForParticipant(const std::string & participant_id) const  | TurnBasedMatch내에서 지정된 참여자의MatchResult를 반환합니다. | 
| PlaceForParticipant(const std::string & participant_id) const  | uint32_tTurnBasedMatch내에서 지정된 참여자의 순위를 반환합니다. | 
| Valid() const  | bool이  ParticipantResults객체에 데이터가 채워지면 true를 반환합니다. | 
| WithResult(const std::string & participant_id, uint32_t placing, MatchResult result) const  | 모든 기존 결과와 이 함수에 전달된 추가 결과 데이터가 포함된 새  ParticipantResults를 만듭니다. | 
| operator=(const ParticipantResults & copy_from) | 다른  ParticipantResults객체에서 이ParticipantResults객체를 할당합니다. | 
| operator=(ParticipantResults && move_from) | 다른  ParticipantResults객체를 이 객체로 이동하여 할당합니다. | 
공개 함수
HasResultsForParticipant
bool HasResultsForParticipant( const std::string & participant_id ) const
이 ParticipantResults 객체에 지정된 MultiplayerParticipant의 결과가 있으면 true를 반환합니다. 
이 함수를 사용할 수 있으려면 유효가 true를 반환해야 합니다.
MatchResultForParticipant
MatchResult MatchResultForParticipant( const std::string & participant_id ) const
TurnBasedMatch 내에서 지정된 참여자의 MatchResult를 반환합니다. 
일부 참여자에게는 MatchResult가 없을 수 있습니다. HasResultsForParticipant가 true를 반환하지 않으면 이 함수는 MatchResult::NONE를 반환합니다. 이 함수를 사용할 수 있으려면 유효가 true를 반환해야 합니다. 
ParticipantResults
ParticipantResults()
ParticipantResults
ParticipantResults( std::shared_ptr< const ParticipantResultsImpl > impl )
shared_ptr에서 ParticipantResultsImpl로 ParticipantResults 객체를 구성합니다. 
API에서 내부적으로 사용하기 위한 용도입니다.
ParticipantResults
ParticipantResults( const ParticipantResults & copy_from )
기존 ParticipantResults 객체의 사본을 만듭니다. 
ParticipantResults
ParticipantResults( ParticipantResults && move_from )
기존 ParticipantResults 객체를 이동합니다. 
PlaceForParticipant
uint32_t PlaceForParticipant( const std::string & participant_id ) const
TurnBasedMatch 내에서 지정된 참여자의 순위를 반환합니다. 
모든 참여자에게 결과가 있는 것은 아닙니다. HasResultsForParticipant가 true를 반환하지 않으면 이 함수는 아직 순위가 매겨지지 않은 플레이어의 경우 0을 반환합니다. 이 함수를 사용할 수 있으려면 유효가 true를 반환해야 합니다.
Valid
bool Valid() const
이 ParticipantResults 객체에 데이터가 채워지면 true를 반환합니다. 
이 ParticipantResults 객체의 getter 함수 (PlaceForParticipant, MatchResultForParticipant 등)를 사용할 수 있으려면 true여야 합니다. 
WithResult
ParticipantResults WithResult( const std::string & participant_id, uint32_t placing, MatchResult result ) const
모든 기존 결과와 이 함수에 전달된 추가 결과 데이터가 포함된 새 ParticipantResults를 만듭니다. 
결과는 참여자당 한 번만 설정할 수 있습니다. 결과를 두 개 이상 설정하려고 하면 오류가 로깅되고 ParticipantResults는 수정되지 않은 상태로 유지됩니다. 이 함수를 사용할 수 있으려면 유효가 true를 반환해야 합니다.
| 세부정보 | |||||||
|---|---|---|---|---|---|---|---|
| 매개변수 | 
 | ||||||
operator=
ParticipantResults & operator=( const ParticipantResults & copy_from )
다른 ParticipantResults 객체에서 이 ParticipantResults 객체를 할당합니다. 
operator=
ParticipantResults & operator=( ParticipantResults && move_from )
다른 ParticipantResults 객체를 이 객체로 이동하여 할당합니다. 
