Пример #1
0
        private static void OnEnvironmentVideos(List <string> videoGuidList)
        {
            string guid = VideoPlayerKeepAlive.Instance.Guid;

            if (videoGuidList.Contains(guid))
            {
                Service.Get <VideoDataManager>().GetVideoDetails(guid, new VideoDataManager.DataQueryCompleteDelegate(VideoPlayer.OnVideoDetails));
                return;
            }
            Service.Get <StaRTSLogger>().ErrorFormat("Could not play non-production video {0}", new object[]
            {
                guid
            });
            VideoPlayer.AbandonPlayback();
        }
Пример #2
0
 public unsafe static long $Invoke0(long instance, long *args)
 {
     VideoPlayer.AbandonPlayback();
     return(-1L);
 }