public void Init(float progressVal, string traktSlug, string traktId)
 {
     progress = progressVal;
     movie = new TraktV2Movie();
     movie.ids = new TraktV2Ids();
     movie.ids.slug = traktSlug;
     int traktID = 0;
     int.TryParse(traktId, out traktID);
     movie.ids.trakt = traktID;
 }
Пример #2
0
        public void Init(float progressVal, string traktSlug, string traktId)
        {
            progress       = progressVal;
            movie          = new TraktV2Movie();
            movie.ids      = new TraktV2Ids();
            movie.ids.slug = traktSlug;
            int traktID = 0;

            int.TryParse(traktId, out traktID);
            movie.ids.trakt = traktID;
        }