Пример #1
0
        void ShowHighlightsSummary()
        {
            Highlights.GroupView[] groupViews = new Highlights.GroupView[2];
            Highlights.GroupView   gv1        = new Highlights.GroupView();
            gv1.GroupId            = "SHOT_HIGHLIGHT_GROUP";
            gv1.SignificanceFilter = Highlights.HighlightSignificance.Good;
            gv1.TagFilter          = Highlights.HighlightType.Achievement;
            groupViews[0]          = gv1;

            Highlights.GroupView gv2 = new Highlights.GroupView();
            gv2.GroupId            = "MISC_GROUP";
            gv2.SignificanceFilter = Highlights.HighlightSignificance.Good;
            gv2.TagFilter          = Highlights.HighlightType.Achievement;
            groupViews[1]          = gv2;

            Highlights.OpenSummary(groupViews, Highlights.DefaultOpenSummaryCallback);


            Highlights.GetNumberOfHighlights(gv1, Highlights.DefaultGetNumberOfHighlightsCallback);
            Highlights.GetNumberOfHighlights(gv2, Highlights.DefaultGetNumberOfHighlightsCallback);
            Highlights.GetUserSettings(Highlights.DefaultGetUserSettingsCallback);
            Highlights.GetUILanguage(Highlights.DefaultGetUILanguageCallback);
        }