C# Класс DotaMatches.MatchFetcher

Показать файл Открыть проект

Открытые методы

Метод Описание
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