public static bool IsInjuredWithoutSubstitute(this MatchEvent.MatchEventType type) { return (type == MatchEvent.MatchEventType.InjuredAndNoReplacementExists || type == MatchEvent.MatchEventType.InjuredAfterFoulAndNoReplacementExists || type == MatchEvent.MatchEventType.KeeperInjuredFieldPlayerHasToTakeHisPlace); }
public static bool IsRedCard(this MatchEvent.MatchEventType type) { return (type == MatchEvent.MatchEventType.RedCardSecondWarningCheating || type == MatchEvent.MatchEventType.RedCardSecondWarningNastyPlay || type == MatchEvent.MatchEventType.RedCardWithoutWarning); }
public static bool IsSubstitution(this MatchEvent.MatchEventType type) { return (type == MatchEvent.MatchEventType.SubstitutionMinute || type == MatchEvent.MatchEventType.SubstitutionTeamIsAhead || type == MatchEvent.MatchEventType.SubstitutionTeamIsBehind || type == MatchEvent.MatchEventType.ModeratelyInjuredLeavesField || type == MatchEvent.MatchEventType.BadlyInjuredLeavesField || type == MatchEvent.MatchEventType.InjuredAfterFoulAndExits); }
public static bool IsInjury(this MatchEvent.MatchEventType type) { return (type == MatchEvent.MatchEventType.ModeratelyInjuredLeavesField || type == MatchEvent.MatchEventType.BadlyInjuredLeavesField || type == MatchEvent.MatchEventType.InjuredAndNoReplacementExists || type == MatchEvent.MatchEventType.InjuredAfterFoulAndExits || type == MatchEvent.MatchEventType.InjuredAfterFoulAndNoReplacementExists || type == MatchEvent.MatchEventType.KeeperInjuredFieldPlayerHasToTakeHisPlace); }
public static bool IsBruised(this MatchEvent.MatchEventType type) { return (type == MatchEvent.MatchEventType.InjuredButKeepsPlaying || type == MatchEvent.MatchEventType.InjuredAfterFoulButContinues); }
public static bool IsYellowCard(this MatchEvent.MatchEventType type) { return (type == MatchEvent.MatchEventType.YellowCardCheating || type == MatchEvent.MatchEventType.YellowCardNastyPlay); }