For Babelfish Release 1.11.1.3

IEventScores Interface

Definition

Namespace: Scopos.BabelFish.DataModel.OrionMatch
Assembly: BabelFish (in BabelFish.dll) Version: 1.11.1.4+b1da393815f6638555a663d9a94167ecabea5695
C#
public interface IEventScores : IParticipant
Implements
IParticipant

Properties

EventScores 
LastShot Returns the last shot fired, to include both competition and sighting shots.

Value should only be set when shooting on ESTs. On paper, its not practically possible to know what the last shot was.

LastUpdated The UTC time this IEventScore was last updated.
Participant
(Inherited from IParticipant)
ResultCofScores Scores from Merged matches (e.g. tournaments, e.g. match groups) Key is (not sure yet) $"{MatchID}: {EventName}"
Shots 

Methods

CurrentlyCompetingOrRecentlyDone Returns a boolean indicating if the participant is currently competing (same as Status == INTERMEDIATE) or they are recently done. Recently done is determined by the age of the last shot.
GetLastCompetitionShot Returns the last shot fired from the Shots Property, which only includes competition shots, if no shots have been fired, will return NULL
GetShotsByEventName Returns a copy of the Shots dictionary, but with the key being the Singular's EventName.
GetStatus Returns the Status of the top level Event (Event Type Event).

See Also