C# 클래스 DotaMatches.MatchFetcher

파일 보기 프로젝트 열기: spew/dota-matches

공개 메소드들

메소드 설명
FetchGame ( ulong matchId ) : byte[]
FetchGames ( ulong matchIds, bool retryFailures = false ) : DotaMatches.MatchFetchResult[]

For best performance you will want to call this method with 15-20 match ids and retryFailures set to false. With these settings you can achieve 15+ matches downloaded per second.

MatchFetcher ( SteamMessenger messenger ) : System

비공개 메소드들

메소드 설명
BuildMessage ( ulong matchId ) : byte[]

메소드 상세

FetchGame() 공개 메소드

public FetchGame ( ulong matchId ) : byte[]
matchId ulong
리턴 byte[]

FetchGames() 공개 메소드

For best performance you will want to call this method with 15-20 match ids and retryFailures set to false. With these settings you can achieve 15+ matches downloaded per second.
public FetchGames ( ulong matchIds, bool retryFailures = false ) : DotaMatches.MatchFetchResult[]
matchIds ulong List of match ids to retrieve
retryFailures bool If true then we retry all hte failures and return why they failed
리턴 DotaMatches.MatchFetchResult[]

MatchFetcher() 공개 메소드

public MatchFetcher ( SteamMessenger messenger ) : System
messenger SteamMessenger
리턴 System