Ejemplo n.º 1
0
 public MatchSummaryAdvanced(long mapId,
                             long matchCreation,
                             long matchDuration,
                             long matchId,
                             string matchMode,
                             string matchType,
                             string matchVersion,
                             JArray participantIdentitiesA,
                             JArray participantsA,
                             string queueType,
                             string region,
                             string season)
 {
     this.mapId         = mapId;
     this.matchCreation = matchCreation;
     this.matchDuration = matchDuration;
     this.matchId       = matchId;
     this.matchMode     = GameConstants.SetGameMode(matchMode);
     this.matchType     = GameConstants.SetGameType(matchType);
     this.matchVersion  = matchVersion;
     if (participantIdentitiesA != null)
     {
         this.participantIdentities = LoadParticipantIdentites(participantIdentitiesA);
     }
     if (participantsA != null)
     {
         this.participants = LoadParticipants(participantsA);
     }
     this.queueType = AdvancedMatchHistoryConstants.SetQueueType(queueType);
     this.region    = region;
     this.season    = AdvancedMatchHistoryConstants.SetSeason(season);
 }
Ejemplo n.º 2
0
 public MatchDetailAdvanced(long mapId,
                            long matchCreation,
                            long matchDuration,
                            long matchId,
                            string matchMode,
                            string matchType,
                            string matchVersion,
                            JArray participantIdentitiesA,
                            JArray participantsA,
                            string queueType,
                            string region,
                            string season,
                            JArray teamsA,
                            JObject timelineO)
 {
     this.mapId         = mapId;
     this.matchCreation = matchCreation;
     this.matchDuration = matchDuration;
     this.matchId       = matchId;
     this.matchMode     = GameConstants.SetGameMode(matchMode);
     this.matchType     = GameConstants.SetGameType(matchType);
     this.matchVersion  = matchVersion;
     if (participantIdentitiesA != null)
     {
         this.participantIdentities = LoadParticipantIdentites(participantIdentitiesA);
     }
     if (participantsA != null)
     {
         this.participants = LoadParticipants(participantsA);
     }
     this.queueType = AdvancedMatchHistoryConstants.SetQueueType(queueType);
     this.region    = region;
     this.season    = AdvancedMatchHistoryConstants.SetSeason(season);
     if (teamsA != null)
     {
         this.teams = LoadTeams(teamsA);
     }
     if (timelineO != null)
     {
         this.timeline = LoadTimeline(timelineO);
     }
 }
Ejemplo n.º 3
0
 public MatchReferenceAdvanced(long champion,
                               string lane,
                               long matchId,
                               string platformId,
                               string queue,
                               string role,
                               string season,
                               long timestamp)
 {
     this.champion      = champion;
     this.laneString    = lane;
     this.lane          = AdvancedMatchHistoryConstants.SetLane(lane);
     this.matchId       = matchId;
     this.platformId    = platformId;
     this.queueString   = queue;
     this.queue         = GameConstants.SetQueue(queue);
     this.roleString    = role;
     this.role          = AdvancedMatchHistoryConstants.SetRole(role);
     this.seasonString  = season;
     this.season        = AdvancedMatchHistoryConstants.SetSeason(season);
     this.timestampLong = timestamp;
     this.timestamp     = CreepScore.EpochToDateTime(timestamp);
 }
Ejemplo n.º 4
0
 public MatchDetailAdvanced(long mapId,
     long matchCreation,
     long matchDuration,
     long matchId,
     string matchMode,
     string matchType,
     string matchVersion,
     JArray participantIdentitiesA,
     JArray participantsA,
     string queueType,
     string region,
     string season,
     JArray teamsA,
     JObject timelineO)
 {
     this.mapId = mapId;
     this.matchCreation = matchCreation;
     this.matchDuration = matchDuration;
     this.matchId = matchId;
     this.matchMode = GameConstants.SetGameMode(matchMode);
     this.matchType = GameConstants.SetGameType(matchType);
     this.matchVersion = matchVersion;
     if (participantIdentitiesA != null)
     {
         this.participantIdentities = LoadParticipantIdentites(participantIdentitiesA);
     }
     if (participantsA != null)
     {
         this.participants = LoadParticipants(participantsA);
     }
     this.queueType = AdvancedMatchHistoryConstants.SetQueueType(queueType);
     this.region = region;
     this.season = AdvancedMatchHistoryConstants.SetSeason(season);
     if (teamsA != null)
     {
         this.teams = LoadTeams(teamsA);
     }
     if (timelineO != null)
     {
         this.timeline = LoadTimeline(timelineO);
     }
 }
Ejemplo n.º 5
0
 public MatchSummaryAdvanced(long mapId,
     long matchCreation,
     long matchDuration,
     long matchId,
     string matchMode,
     string matchType,
     string matchVersion,
     JArray participantIdentitiesA,
     JArray participantsA,
     string queueType,
     string region,
     string season)
 {
     this.mapId = mapId;
     this.matchCreation = matchCreation;
     this.matchDuration = matchDuration;
     this.matchId = matchId;
     this.matchMode = GameConstants.SetGameMode(matchMode);
     this.matchType = GameConstants.SetGameType(matchType);
     this.matchVersion = matchVersion;
     if (participantIdentitiesA != null)
     {
         this.participantIdentities = LoadParticipantIdentites(participantIdentitiesA);
     }
     if (participantsA != null)
     {
         this.participants = LoadParticipants(participantsA);
     }
     this.queueType = AdvancedMatchHistoryConstants.SetQueueType(queueType);
     this.region = region;
     this.season = AdvancedMatchHistoryConstants.SetSeason(season);
 }