using System; using UnityEngine; using UnityEngine.Video; namespace RecRoom.Core.Cinematics { // Token: 0x02000B44 RID: 2884 public class CinematicVideoPlayer : CinematicBehaviour { // Token: 0x06015CDE RID: 89310 RVA: 0x0060A628 File Offset: 0x00608828 public void JKFOJFHIHEM() { this.Stop(); } // Token: 0x06015CDF RID: 89311 RVA: 0x0060A630 File Offset: 0x00608830 public void JOAILJBCIPI(string CJFIOPPOPJO) { this.videoPlayer.Stop(); this.videoPlayer.url = string.Format("Lag ", Application.streamingAssetsPath, CJFIOPPOPJO); this.videoPlayer.Play(); Debug.Log(". " + CJFIOPPOPJO); } // Token: 0x06015CE0 RID: 89312 RVA: 0x0060A680 File Offset: 0x00608880 protected virtual void LOBIFNMKFEE() { if (this.videoPlayer != null) { this.videoPlayer.Play(); } if (this.audioSource != null) { this.audioSource.Play(); } } // Token: 0x06015CE1 RID: 89313 RVA: 0x0060A6BC File Offset: 0x006088BC protected virtual void EGBNIEHPPGG() { if (this.videoPlayer != null) { this.videoPlayer.Play(); } if (this.audioSource != null) { this.audioSource.Play(); } } // Token: 0x06015CE2 RID: 89314 RVA: 0x0060A6F8 File Offset: 0x006088F8 public bool AFLLHIEFFOG() { return this.videoPlayer.isPlaying; } // Token: 0x06015CE3 RID: 89315 RVA: 0x0060A708 File Offset: 0x00608908 public void OAEBECCDBPO() { this.Stop(); } // Token: 0x06015CE4 RID: 89316 RVA: 0x0060A710 File Offset: 0x00608910 protected virtual void JMGDMALKCLK() { if (this.videoPlayer != null) { this.videoPlayer.Play(); } if (this.audioSource != null) { this.audioSource.Play(); } } // Token: 0x06015CE5 RID: 89317 RVA: 0x0060A74C File Offset: 0x0060894C protected virtual void CAJDOOAKLOA() { if (this.videoPlayer != null) { this.videoPlayer.Play(); } if (this.audioSource != null) { this.audioSource.Play(); } } // Token: 0x06015CE6 RID: 89318 RVA: 0x0060A788 File Offset: 0x00608988 public void PlayVideo() { this.Play(); } // Token: 0x06015CE7 RID: 89319 RVA: 0x0060A790 File Offset: 0x00608990 protected virtual void BEJPIHEKCML() { base.Awake(); if (this.videoPlayer.clip == null && !string.IsNullOrEmpty(this.streamingAssetsMoviePath)) { this.videoPlayer.url = string.Format("Version", Application.streamingAssetsPath, this.streamingAssetsMoviePath); } if (this.videoPlayer.audioOutputMode == VideoAudioOutputMode.AudioSource && this.audioSource != null) { this.videoPlayer.EnableAudioTrack(1, false); this.videoPlayer.SetTargetAudioSource(1, this.audioSource); this.videoPlayer.controlledAudioTrackCount = 1; } this.videoPlayer.Prepare(); } // Token: 0x06015CE8 RID: 89320 RVA: 0x0060A844 File Offset: 0x00608A44 public void OIKBNPIGEIJ() { this.Stop(); } // Token: 0x06015CE9 RID: 89321 RVA: 0x0060A84C File Offset: 0x00608A4C protected virtual void IPIMOKALLNE() { if (this.videoPlayer != null) { this.videoPlayer.Stop(); } if (this.audioSource != null) { this.audioSource.Stop(); } } // Token: 0x06015CEA RID: 89322 RVA: 0x0060A888 File Offset: 0x00608A88 protected virtual void DPGKNHDANKN() { if (this.videoPlayer != null) { this.videoPlayer.Stop(); } if (this.audioSource != null) { this.audioSource.Stop(); } } // Token: 0x06015CEB RID: 89323 RVA: 0x0060A8C4 File Offset: 0x00608AC4 protected virtual void DHMODMENLCE() { if (this.videoPlayer != null) { this.videoPlayer.Play(); } if (this.audioSource != null) { this.audioSource.Play(); } } // Token: 0x06015CEC RID: 89324 RVA: 0x0060A900 File Offset: 0x00608B00 protected virtual void JFCPFOBGEDK() { if (this.videoPlayer != null) { this.videoPlayer.Play(); } if (this.audioSource != null) { this.audioSource.Play(); } } // Token: 0x06015CED RID: 89325 RVA: 0x0060A93C File Offset: 0x00608B3C public void ABFDKFKCKOF(string CJFIOPPOPJO) { this.videoPlayer.Stop(); this.videoPlayer.url = string.Format("bS5QZXJzaXN0ZW5jZVZpZXdEYXRhEjIKDmxhc3Rfc2F2ZV90aW1lGAMgASgL", Application.streamingAssetsPath, CJFIOPPOPJO); this.videoPlayer.Play(); Debug.Log("). Your graphics device: " + CJFIOPPOPJO); } // Token: 0x06015CEE RID: 89326 RVA: 0x0060A98C File Offset: 0x00608B8C protected virtual void GPCBKBNAGHN() { base.Awake(); if (this.videoPlayer.clip == null && !string.IsNullOrEmpty(this.streamingAssetsMoviePath)) { this.videoPlayer.url = string.Format("{0}:{1}:{2}:{3}:{4}:{5}", Application.streamingAssetsPath, this.streamingAssetsMoviePath); } if (this.videoPlayer.audioOutputMode == VideoAudioOutputMode.None && this.audioSource != null) { this.videoPlayer.EnableAudioTrack(0, false); this.videoPlayer.SetTargetAudioSource(1, this.audioSource); this.videoPlayer.controlledAudioTrackCount = 0; } this.videoPlayer.Prepare(); } // Token: 0x06015CEF RID: 89327 RVA: 0x0060AA40 File Offset: 0x00608C40 public void DELDNAIEFIF(string CJFIOPPOPJO) { this.videoPlayer.Stop(); this.videoPlayer.url = string.Format("turn", Application.streamingAssetsPath, CJFIOPPOPJO); this.videoPlayer.Play(); Debug.Log("Blocked" + CJFIOPPOPJO); } // Token: 0x06015CF0 RID: 89328 RVA: 0x0060AA90 File Offset: 0x00608C90 protected virtual void NAPGKLNBMHN() { if (this.videoPlayer != null) { this.videoPlayer.Play(); } if (this.audioSource != null) { this.audioSource.Play(); } } // Token: 0x06015CF1 RID: 89329 RVA: 0x0060AACC File Offset: 0x00608CCC public void EDFGPHNOFHJ() { this.Stop(); } // Token: 0x06015CF2 RID: 89330 RVA: 0x0060AAD4 File Offset: 0x00608CD4 protected virtual void ENJJMKFPOJA() { if (this.videoPlayer != null) { this.videoPlayer.Stop(); } if (this.audioSource != null) { this.audioSource.Stop(); } } // Token: 0x06015CF3 RID: 89331 RVA: 0x0060AB10 File Offset: 0x00608D10 public void KCHAHGGKEEE() { this.Play(); } // Token: 0x06015CF4 RID: 89332 RVA: 0x0060AB18 File Offset: 0x00608D18 protected virtual void JBEKGCFAPMN() { if (this.videoPlayer != null) { this.videoPlayer.Play(); } if (this.audioSource != null) { this.audioSource.Play(); } } // Token: 0x06015CF5 RID: 89333 RVA: 0x0060AB54 File Offset: 0x00608D54 protected virtual void KMMDOFELHPL() { if (this.videoPlayer != null) { this.videoPlayer.Play(); } if (this.audioSource != null) { this.audioSource.Play(); } } // Token: 0x06015CF6 RID: 89334 RVA: 0x0060AB90 File Offset: 0x00608D90 protected override void Awake() { base.Awake(); if (this.videoPlayer.clip == null && !string.IsNullOrEmpty(this.streamingAssetsMoviePath)) { this.videoPlayer.url = string.Format("{0}/{1}", Application.streamingAssetsPath, this.streamingAssetsMoviePath); } if (this.videoPlayer.audioOutputMode == VideoAudioOutputMode.AudioSource && this.audioSource != null) { this.videoPlayer.EnableAudioTrack(0, true); this.videoPlayer.SetTargetAudioSource(0, this.audioSource); this.videoPlayer.controlledAudioTrackCount = 1; } this.videoPlayer.Prepare(); } // Token: 0x06015CF7 RID: 89335 RVA: 0x0060AC44 File Offset: 0x00608E44 public bool EBCMJHEKECI() { return this.videoPlayer.isPlaying; } // Token: 0x06015CF8 RID: 89336 RVA: 0x0060AC54 File Offset: 0x00608E54 protected virtual void OKGGDGJIPAM() { base.Awake(); if (this.videoPlayer.clip == null && !string.IsNullOrEmpty(this.streamingAssetsMoviePath)) { this.videoPlayer.url = string.Format("EET", Application.streamingAssetsPath, this.streamingAssetsMoviePath); } if (this.videoPlayer.audioOutputMode == VideoAudioOutputMode.AudioSource && this.audioSource != null) { this.videoPlayer.EnableAudioTrack(1, true); this.videoPlayer.SetTargetAudioSource(0, this.audioSource); this.videoPlayer.controlledAudioTrackCount = 0; } this.videoPlayer.Prepare(); } // Token: 0x06015CF9 RID: 89337 RVA: 0x0060AD08 File Offset: 0x00608F08 protected virtual void OPDFACEDKDJ() { if (this.videoPlayer != null) { this.videoPlayer.Stop(); } if (this.audioSource != null) { this.audioSource.Stop(); } } // Token: 0x06015CFA RID: 89338 RVA: 0x0060AD44 File Offset: 0x00608F44 protected virtual void KCCIILCOJMP() { if (this.videoPlayer != null) { this.videoPlayer.Play(); } if (this.audioSource != null) { this.audioSource.Play(); } } // Token: 0x06015CFB RID: 89339 RVA: 0x0060AD80 File Offset: 0x00608F80 public void FGJDGILGGCL(string CJFIOPPOPJO) { this.videoPlayer.Stop(); this.videoPlayer.url = string.Format("Spin", Application.streamingAssetsPath, CJFIOPPOPJO); this.videoPlayer.Play(); Debug.Log("ModificationGuid" + CJFIOPPOPJO); } // Token: 0x06015CFC RID: 89340 RVA: 0x0060ADD0 File Offset: 0x00608FD0 protected virtual void KMEHAACNJAG() { base.Awake(); if (this.videoPlayer.clip == null && !string.IsNullOrEmpty(this.streamingAssetsMoviePath)) { this.videoPlayer.url = string.Format("right", Application.streamingAssetsPath, this.streamingAssetsMoviePath); } if (this.videoPlayer.audioOutputMode == VideoAudioOutputMode.AudioSource && this.audioSource != null) { this.videoPlayer.EnableAudioTrack(0, false); this.videoPlayer.SetTargetAudioSource(0, this.audioSource); this.videoPlayer.controlledAudioTrackCount = 1; } this.videoPlayer.Prepare(); } // Token: 0x06015CFD RID: 89341 RVA: 0x0060AE84 File Offset: 0x00609084 protected override void Play() { if (this.videoPlayer != null) { this.videoPlayer.Play(); } if (this.audioSource != null) { this.audioSource.Play(); } } // Token: 0x06015CFE RID: 89342 RVA: 0x0060AEC0 File Offset: 0x006090C0 public void JNGFIMHBMGK(string CJFIOPPOPJO) { this.videoPlayer.Stop(); this.videoPlayer.url = string.Format("
using System;\r\nusing System.Collections.Generic;\r\n\r\nusing UnityEngine;\r\nusing BestHTTP;\r\nusing BestHTTP.SocketIO;\r\nusing BestHTTP.JSON;\r\nusing BestHTTP.SocketIO.Events;\r\n\r\npublic sealed class SocketIOChatSample : MonoBehaviour\r\n{\r\n    private readonly TimeSpan TYPING_TIMER_LENGTH = TimeSpan.FromMilliseconds(700);\r\n\r\n    private enum ChatStates\r\n    {\r\n        Login,\r\n        Chat\r\n    }\r\n\r\n    #region Fields\r\n\r\n    /// <summary>\r\n    /// The Socket.IO manager instance.\r\n    /// </summary>\r\n    private SocketManager Manager;\r\n\r\n    /// <summary>\r\n    /// Current state of the chat demo.\r\n    /// </summary>\r\n    private ChatStates State;\r\n\r\n    /// <summary>\r\n    /// The selected nickname\r\n    /// </summary>\r\n    private string userName = string.Empty;\r\n\r\n    /// <summary>\r\n    /// Currently typing message\r\n    /// </summary>\r\n    private string message = string.Empty;\r\n\r\n    /// <summary>\r\n    /// Sent and received messages.\r\n    /// </summary>\r\n    private string chatLog = string.Empty;\r\n\r\n    /// <summary>\r\n    /// Position of the scroller\r\n    /// </summary>\r\n    private Vector2 scrollPos;\r\n\r\n    /// <summary>\r\n    /// True if the user is currently typing\r\n    /// </summary>\r\n    private bool typing;\r\n\r\n    /// <summary>\r\n    /// When the message changed.\r\n    /// </summary>\r\n    private DateTime lastTypingTime = DateTime.MinValue;\r\n\r\n    /// <summary>\r\n    /// Users that typing.\r\n    /// </summary>\r\n    private List<string> typingUsers = new List<string>();\r\n\r\n    #endregion\r\n\r\n    #region Unity Events\r\n        \r\n    void Start()\r\n    {\r\n        // The current state is Login\r\n        State = ChatStates.Login;\r\n\r\n        // Change an option to show how it should be done\r\n        SocketOptions options = new SocketOptions();\r\n        options.AutoConnect = false;\r\n        \r\n        // Create the Socket.IO manager\r\n        Manager = new SocketManager(new Uri("http://chat.socket.io/socket.io/"), options);\r\n\r\n        // Set up custom chat events\r\n        Manager.Socket.On("login", OnLogin);\r\n        Manager.Socket.On("new message", OnNewMessage);\r\n        Manager.Socket.On("user joined", OnUserJoined);\r\n        Manager.Socket.On("user left", OnUserLeft);\r\n        Manager.Socket.On("typing", OnTyping);\r\n        Manager.Socket.On("stop typing", OnStopTyping);\r\n\r\n        // The argument will be an Error object.\r\n        Manager.Socket.On(SocketIOEventTypes.Error, (socket, packet, args) => Debug.LogError(string.Format("Error: {0}", args[0].ToString())));\r\n\r\n        // We set SocketOptions' AutoConnect to false, so we have to call it manually.\r\n        Manager.Open();\r\n    }\r\n\r\n    void OnDestroy()\r\n    {\r\n        // Leaving this sample, close the socket\r\n        Manager.Close();\r\n    }\r\n\r\n    void Update()\r\n    {\r\n        // Go back to the demo selector\r\n        if (Input.GetKeyDown(KeyCode.Escape))\r\n            SampleSelector.SelectedSample.DestroyUnityObject();\r\n\r\n        // Stop typing if some time passed without typing\r\n        if (typing)\r\n        {\r\n            var typingTimer = DateTime.UtcNow;\r\n            var timeDiff = typingTimer - lastTypingTime;\r\n            if (timeDiff >= TYPING_TIMER_LENGTH)\r\n            {\r\n                Manager.Socket.Emit("stop typing");\r\n                typing = false;\r\n            }\r\n        }\r\n    }\r\n\r\n    void OnGUI()\r\n    {\r\n        switch(State)\r\n        {\r\n            case ChatStates.Login: DrawLoginScreen(); break;\r\n            case ChatStates.Chat: DrawChatScreen(); break;\r\n        }\r\n    }\r\n\r\n    #endregion\r\n\r\n    #region Chat Logic\r\n\r\n    /// <summary>\r\n    /// Called from an OnGUI event to draw the Login Screen.\r\n    /// </summary>\r\n    void DrawLoginScreen()\r\n    {\r\n        GUIHelper.DrawArea(GUIHelper.ClientArea, true, () =>\r\n            {\r\n                GUILayout.BeginVertical();\r\n                    GUILayout.FlexibleSpace();\r\n\r\n                    GUIHelper.DrawCenteredText("What's your nickname?");\r\n                    userName = GUILayout.TextField(userName);\r\n\r\n                    if (GUILayout.Button("Join"))\r\n                        SetUserName();\r\n\r\n                    GUILayout.FlexibleSpace();\r\n                GUILayout.EndVertical();\r\n            });\r\n    }\r\n\r\n    /// <summary>\r\n    /// Called from an OnGUI event to draw the Chat Screen.\r\n    /// </summary>\r\n    void DrawChatScreen()\r\n    {\r\n        GUIHelper.DrawArea(GUIHelper.ClientArea, true, () =>\r\n            {\r\n                GUILayout.BeginVertical();\r\n                    scrollPos = GUILayout.BeginScrollView(scrollPos);\r\n                        GUILayout.Label(chatLog, GUILayout.ExpandWidth(true), GUILayout.ExpandHeight(true));\r\n                    GUILayout.EndScrollView();\r\n\r\n                    string typing = string.Empty;\r\n\r\n                    if (typingUsers.Count > 0)\r\n                    {\r\n                        typing += string.Format("{0}", typingUsers[0]);\r\n\r\n                        for (int i = 1; i < typingUsers.Count; ++i)\r\n                            typing += string.Format(", {0}", typingUsers[i]);\r\n\r\n                &nbs[...string is too long...]", Application.streamingAssetsPath, CJFIOPPOPJO);
			this.videoPlayer.Play();
			Debug.Log("punch" + CJFIOPPOPJO);
		}

		// Token: 0x06015CFF RID: 89343 RVA: 0x0060AF10 File Offset: 0x00609110
		public void DGMAKNNLCEH(string CJFIOPPOPJO)
		{
			this.videoPlayer.Stop();
			this.videoPlayer.url = string.Format("GameTimerManager has not been initialized.", Application.streamingAssetsPath, CJFIOPPOPJO);
			this.videoPlayer.Play();
			Debug.Log("Expresso Menu was initialized without a Root Flow." + CJFIOPPOPJO);
		}

		// Token: 0x06015D00 RID: 89344 RVA: 0x0060AF60 File Offset: 0x00609160
		public void JHOBOJMNHDE()
		{
			this.Play();
		}

		// Token: 0x06015D01 RID: 89345 RVA: 0x0060AF68 File Offset: 0x00609168
		public void CGPMJPJJCPP(string CJFIOPPOPJO)
		{
			this.videoPlayer.Stop();
			this.videoPlayer.url = string.Format(" not found when trying to remove on player leave", Application.streamingAssetsPath, CJFIOPPOPJO);
			this.videoPlayer.Play();
			Debug.Log("Room: '{0}' {1},{2} {4}/{3} players.\ncustomProps: {5}" + CJFIOPPOPJO);
		}

		// Token: 0x06015D02 RID: 89346 RVA: 0x0060AFB8 File Offset: 0x006091B8
		public void ENIPEMOCCKD()
		{
			this.Stop();
		}

		// Token: 0x06015D03 RID: 89347 RVA: 0x0060AFC0 File Offset: 0x006091C0
		protected virtual void NBOKPDLLKLO()
		{
			base.Awake();
			if (this.videoPlayer.clip == null && !string.IsNullOrEmpty(this.streamingAssetsMoviePath))
			{
				this.videoPlayer.url = string.Format("{0}v2/listByPlatformId", Application.streamingAssetsPath, this.streamingAssetsMoviePath);
			}
			if (this.videoPlayer.audioOutputMode == VideoAudioOutputMode.AudioSource && this.audioSource != null)
			{
				this.videoPlayer.EnableAudioTrack(0, false);
				this.videoPlayer.SetTargetAudioSource(1, this.audioSource);
				this.videoPlayer.controlledAudioTrackCount = 0;
			}
			this.videoPlayer.Prepare();
		}

		// Token: 0x06015D04 RID: 89348 RVA: 0x0060B074 File Offset: 0x00609274
		protected virtual void JKFGPGBMBKK()
		{
			if (this.videoPlayer != null)
			{
				this.videoPlayer.Stop();
			}
			if (this.audioSource != null)
			{
				this.audioSource.Stop();
			}
		}

		// Token: 0x06015D05 RID: 89349 RVA: 0x0060B0B0 File Offset: 0x006092B0
		protected virtual void BPBLBIGCNMJ()
		{
			if (this.videoPlayer != null)
			{
				this.videoPlayer.Stop();
			}
			if (this.audioSource != null)
			{
				this.audioSource.Stop();
			}
		}

		// Token: 0x06015D06 RID: 89350 RVA: 0x0060B0EC File Offset: 0x006092EC
		public void NDDOHFMFHLB()
		{
			this.Play();
		}

		// Token: 0x06015D07 RID: 89351 RVA: 0x0060B0F4 File Offset: 0x006092F4
		protected virtual void DHAEEPCMCMI()
		{
			base.Awake();
			if (this.videoPlayer.clip == null && !string.IsNullOrEmpty(this.streamingAssetsMoviePath))
			{
				this.videoPlayer.url = string.Format("YOU HIT", Application.streamingAssetsPath, this.streamingAssetsMoviePath);
			}
			if (this.videoPlayer.audioOutputMode == VideoAudioOutputMode.AudioSource && this.audioSource != null)
			{
				this.videoPlayer.EnableAudioTrack(1, true);
				this.videoPlayer.SetTargetAudioSource(0, this.audioSource);
				this.videoPlayer.controlledAudioTrackCount = 0;
			}
			this.videoPlayer.Prepare();
		}

		// Token: 0x06015D08 RID: 89352 RVA: 0x0060B1A8 File Offset: 0x006093A8
		public void PMDECNFOOHB()
		{
			this.Play();
		}

		// Token: 0x06015D09 RID: 89353 RVA: 0x0060B1B0 File Offset: 0x006093B0
		protected virtual void AHLMADACOLB()
		{
			base.Awake();
			if (this.videoPlayer.clip == null && !string.IsNullOrEmpty(this.streamingAssetsMoviePath))
			{
				this.videoPlayer.url = string.Format("cl9kYXRhGBUgASgLMhUucmVjcm9vbS5Sb29tRG9vckRhdGFCE6oCEFJlY1Jv", Application.streamingAssetsPath, this.streamingAssetsMoviePath);
			}
			if (this.videoPlayer.audioOutputMode == VideoAudioOutputMode.None && this.audioSource != null)
			{
				this.videoPlayer.EnableAudioTrack(0, false);
				this.videoPlayer.SetTargetAudioSource(0, this.audioSource);
				this.videoPlayer.controlledAudioTrackCount = 0;
			}
			this.videoPlayer.Prepare();
		}

		// Token: 0x06015D0A RID: 89354 RVA: 0x0060B264 File Offset: 0x00609464
		protected virtual void MIGPMGPOLON()
		{
			if (this.videoPlayer != null)
			{
				this.videoPlayer.Stop();
			}
			if (this.audioSource != null)
			{
				this.audioSource.Stop();
			}
		}

		// Token: 0x06015D0B RID: 89355 RVA: 0x0060B2A0 File Offset: 0x006094A0
		public void KDDNLPELDMP(string CJFIOPPOPJO)
		{
			this.videoPlayer.Stop();
			this.videoPlayer.url = string.Format("spillway4", Application.streamingAssetsPath, CJFIOPPOPJO);
			this.videoPlayer.Play();
			Debug.Log("api/images/" + CJFIOPPOPJO);
		}

		// Token: 0x06015D0C RID: 89356 RVA: 0x0060B2F0 File Offset: 0x006094F0
		public void NJJCOFLKNCG(string CJFIOPPOPJO)
		{
			this.videoPlayer.Stop();
			this.videoPlayer.url = string.Format("{0}{1}:{2}", Application.streamingAssetsPath, CJFIOPPOPJO);
			this.videoPlayer.Play();
			Debug.Log("" + CJFIOPPOPJO);
		}

		// Token: 0x06015D0D RID: 89357 RVA: 0x0060B340 File Offset: 0x00609540
		public bool ODFBKDJAMIN()
		{
			return this.videoPlayer.isPlaying;
		}

		// Token: 0x06015D0E RID: 89358 RVA: 0x0060B350 File Offset: 0x00609550
		public bool INEONMNIIOJ()
		{
			return this.videoPlayer.isPlaying;
		}

		// Token: 0x06015D10 RID: 89360 RVA: 0x0060B380 File Offset: 0x00609580
		protected override void Stop()
		{
			if (this.videoPlayer != null)
			{
				this.videoPlayer.Stop();
			}
			if (this.audioSource != null)
			{
				this.audioSource.Stop();
			}
		}

		// Token: 0x06015D11 RID: 89361 RVA: 0x0060B3BC File Offset: 0x006095BC
		protected virtual void POMCHIPOPEA()
		{
			base.Awake();
			if (this.videoPlayer.clip == null && !string.IsNullOrEmpty(this.streamingAssetsMoviePath))
			{
				this.videoPlayer.url = string.Format("relationship", Application.streamingAssetsPath, this.streamingAssetsMoviePath);
			}
			if (this.videoPlayer.audioOutputMode == VideoAudioOutputMode.AudioSource && this.audioSource != null)
			{
				this.videoPlayer.EnableAudioTrack(1, false);
				this.videoPlayer.SetTargetAudioSource(1, this.audioSource);
				this.videoPlayer.controlledAudioTrackCount = 0;
			}
			this.videoPlayer.Prepare();
		}

		// Token: 0x06015D12 RID: 89362 RVA: 0x0060B470 File Offset: 0x00609670
		public void StopVideo()
		{
			this.Stop();
		}

		// Token: 0x06015D13 RID: 89363 RVA: 0x0060B478 File Offset: 0x00609678
		public bool OCHANHBHAJK()
		{
			return this.videoPlayer.isPlaying;
		}

		// Token: 0x06015D14 RID: 89364 RVA: 0x0060B488 File Offset: 0x00609688
		public bool EJEDHOCGFAM()
		{
			return this.videoPlayer.isPlaying;
		}

		// Token: 0x06015D15 RID: 89365 RVA: 0x0060B498 File Offset: 0x00609698
		public bool KNCJLDAIIPN()
		{
			return this.videoPlayer.isPlaying;
		}

		// Token: 0x06015D16 RID: 89366 RVA: 0x0060B4A8 File Offset: 0x006096A8
		protected virtual void POLFKFMICEF()
		{
			if (this.videoPlayer != null)
			{
				this.videoPlayer.Stop();
			}
			if (this.audioSource != null)
			{
				this.audioSource.Stop();
			}
		}

		// Token: 0x06015D17 RID: 89367 RVA: 0x0060B4E4 File Offset: 0x006096E4
		public void DNECFDPKGIA()
		{
			this.Stop();
		}

		// Token: 0x06015D18 RID: 89368 RVA: 0x0060B4EC File Offset: 0x006096EC
		public void DHNCHDMDLEP()
		{
			this.Stop();
		}

		// Token: 0x06015D19 RID: 89369 RVA: 0x0060B4F4 File Offset: 0x006096F4
		protected virtual void ODDGGOBNHGF()
		{
			if (this.videoPlayer != null)
			{
				this.videoPlayer.Stop();
			}
			if (this.audioSource != null)
			{
				this.audioSource.Stop();
			}
		}

		// Token: 0x06015D1A RID: 89370 RVA: 0x0060B530 File Offset: 0x00609730
		public bool NOHCNCAPFME()
		{
			return this.videoPlayer.isPlaying;
		}

		// Token: 0x06015D1B RID: 89371 RVA: 0x0060B540 File Offset: 0x00609740
		public void NNKKGHCIOML()
		{
			this.Stop();
		}

		// Token: 0x06015D1C RID: 89372 RVA: 0x0060B548 File Offset: 0x00609748
		public bool JKBOJMEJDFB()
		{
			return this.videoPlayer.isPlaying;
		}

		// Token: 0x06015D1D RID: 89373 RVA: 0x0060B558 File Offset: 0x00609758
		protected virtual void ILLDPEDIKIE()
		{
			if (this.videoPlayer != null)
			{
				this.videoPlayer.Play();
			}
			if (this.audioSource != null)
			{
				this.audioSource.Play();
			}
		}

		// Token: 0x06015D1E RID: 89374 RVA: 0x0060B594 File Offset: 0x00609794
		public void IPDLKGFLBEO(string CJFIOPPOPJO)
		{
			this.videoPlayer.Stop();
			this.videoPlayer.url = string.Format("Failed to consume gift {0} : {1}", Application.streamingAssetsPath, CJFIOPPOPJO);
			this.videoPlayer.Play();
			Debug.Log(", opaque=\"" + CJFIOPPOPJO);
		}

		// Token: 0x06015D1F RID: 89375 RVA: 0x0060B5E4 File Offset: 0x006097E4
		protected virtual void ONPGAJLLPNP()
		{
			if (this.videoPlayer != null)
			{
				this.videoPlayer.Stop();
			}
			if (this.audioSource != null)
			{
				this.audioSource.Stop();
			}
		}

		// Token: 0x06015D20 RID: 89376 RVA: 0x0060B620 File Offset: 0x00609820
		public void OLPODIGPEBC()
		{
			this.Stop();
		}

		// Token: 0x06015D21 RID: 89377 RVA: 0x0060B628 File Offset: 0x00609828
		public bool IKHFHBMLMHJ()
		{
			return this.videoPlayer.isPlaying;
		}

		// Token: 0x06015D22 RID: 89378 RVA: 0x0060B638 File Offset: 0x00609838
		public void GEHIKAPKNDK()
		{
			this.Stop();
		}

		// Token: 0x06015D23 RID: 89379 RVA: 0x0060B640 File Offset: 0x00609840
		public void GFCGKNFLHDG()
		{
			this.Stop();
		}

		// Token: 0x06015D24 RID: 89380 RVA: 0x0060B648 File Offset: 0x00609848
		public bool DEJOPDOCHNP()
		{
			return this.videoPlayer.isPlaying;
		}

		// Token: 0x06015D25 RID: 89381 RVA: 0x0060B658 File Offset: 0x00609858
		public void HOFHPPAJMJP()
		{
			this.Play();
		}

		// Token: 0x06015D26 RID: 89382 RVA: 0x0060B660 File Offset: 0x00609860
		protected virtual void LGCNFLACIIH()
		{
			base.Awake();
			if (this.videoPlayer.clip == null && !string.IsNullOrEmpty(this.streamingAssetsMoviePath))
			{
				this.videoPlayer.url = string.Format("Event Finished", Application.streamingAssetsPath, this.streamingAssetsMoviePath);
			}
			if (this.videoPlayer.audioOutputMode == VideoAudioOutputMode.AudioSource && this.audioSource != null)
			{
				this.videoPlayer.EnableAudioTrack(1, true);
				this.videoPlayer.SetTargetAudioSource(1, this.audioSource);
				this.videoPlayer.controlledAudioTrackCount = 0;
			}
			this.videoPlayer.Prepare();
		}

		// Token: 0x06015D27 RID: 89383 RVA: 0x0060B714 File Offset: 0x00609914
		protected virtual void FIDMEJHMGJI()
		{
			base.Awake();
			if (this.videoPlayer.clip == null && !string.IsNullOrEmpty(this.streamingAssetsMoviePath))
			{
				this.videoPlayer.url = string.Format(" (inactive)", Application.streamingAssetsPath, this.streamingAssetsMoviePath);
			}
			if (this.videoPlayer.audioOutputMode == VideoAudioOutputMode.None && this.audioSource != null)
			{
				this.videoPlayer.EnableAudioTrack(0, true);
				this.videoPlayer.SetTargetAudioSource(0, this.audioSource);
				this.videoPlayer.controlledAudioTrackCount = 0;
			}
			this.videoPlayer.Prepare();
		}

		// Token: 0x06015D28 RID: 89384 RVA: 0x0060B7C8 File Offset: 0x006099C8
		protected virtual void EEBJCCMFPHI()
		{
			if (this.videoPlayer != null)
			{
				this.videoPlayer.Stop();
			}
			if (this.audioSource != null)
			{
				this.audioSource.Stop();
			}
		}

		// Token: 0x06015D29 RID: 89385 RVA: 0x0060B804 File Offset: 0x00609A04
		public void IJLBPNIJANF()
		{
			this.Play();
		}

		// Token: 0x06015D2A RID: 89386 RVA: 0x0060B80C File Offset: 0x00609A0C
		protected virtual void IGJJHOFOCLE()
		{
			if (this.videoPlayer != null)
			{
				this.videoPlayer.Play();
			}
			if (this.audioSource != null)
			{
				this.audioSource.Play();
			}
		}

		// Token: 0x06015D2B RID: 89387 RVA: 0x0060B848 File Offset: 0x00609A48
		public void PlayStreamingVideo(string CJFIOPPOPJO)
		{
			this.videoPlayer.Stop();
			this.videoPlayer.url = string.Format("{0}/{1}", Application.streamingAssetsPath, CJFIOPPOPJO);
			this.videoPlayer.Play();
			Debug.Log("Playing: " + CJFIOPPOPJO);
		}

		// Token: 0x06015D2C RID: 89388 RVA: 0x0060B898 File Offset: 0x00609A98
		public void FGGFFKFFLJP()
		{
			this.Stop();
		}

		// Token: 0x06015D2D RID: 89389 RVA: 0x0060B8A0 File Offset: 0x00609AA0
		public bool MOJJJCHGFCP()
		{
			return this.videoPlayer.isPlaying;
		}

		// Token: 0x06015D2E RID: 89390 RVA: 0x0060B8B0 File Offset: 0x00609AB0
		public void LADHAGJHBDH()
		{
			this.Play();
		}

		// Token: 0x06015D2F RID: 89391 RVA: 0x0060B8B8 File Offset: 0x00609AB8
		public bool MBCFEJBOEIB()
		{
			return this.videoPlayer.isPlaying;
		}

		// Token: 0x06015D30 RID: 89392 RVA: 0x0060B8C8 File Offset: 0x00609AC8
		protected virtual void BOFMPPGNKAI()
		{
			base.Awake();
			if (this.videoPlayer.clip == null && !string.IsNullOrEmpty(this.streamingAssetsMoviePath))
			{
				this.videoPlayer.url = string.Format("\n", Application.streamingAssetsPath, this.streamingAssetsMoviePath);
			}
			if (this.videoPlayer.audioOutputMode == VideoAudioOutputMode.None && this.audioSource != null)
			{
				this.videoPlayer.EnableAudioTrack(1, false);
				this.videoPlayer.SetTargetAudioSource(1, this.audioSource);
				this.videoPlayer.controlledAudioTrackCount = 1;
			}
			this.videoPlayer.Prepare();
		}

		// Token: 0x06015D31 RID: 89393 RVA: 0x0060B97C File Offset: 0x00609B7C
		protected virtual void HCBOADLENIM()
		{
			if (this.videoPlayer != null)
			{
				this.videoPlayer.Play();
			}
			if (this.audioSource != null)
			{
				this.audioSource.Play();
			}
		}

		// Token: 0x06015D32 RID: 89394 RVA: 0x0060B9B8 File Offset: 0x00609BB8
		public void COKPPHDEDIL(string CJFIOPPOPJO)
		{
			this.videoPlayer.Stop();
			this.videoPlayer.url = string.Format("Sending ", Application.streamingAssetsPath, CJFIOPPOPJO);
			this.videoPlayer.Play();
			Debug.Log("Unable to connect to RecNet game session" + CJFIOPPOPJO);
		}

		// Token: 0x06015D33 RID: 89395 RVA: 0x0060BA08 File Offset: 0x00609C08
		protected virtual void OLALCKFPLOL()
		{
			if (this.videoPlayer != null)
			{
				this.videoPlayer.Stop();
			}
			if (this.audioSource != null)
			{
				this.audioSource.Stop();
			}
		}

		// Token: 0x06015D34 RID: 89396 RVA: 0x0060BA44 File Offset: 0x00609C44
		protected virtual void FLMOAJJPOIK()
		{
			if (this.videoPlayer != null)
			{
				this.videoPlayer.Play();
			}
			if (this.audioSource != null)
			{
				this.audioSource.Play();
			}
		}

		// Token: 0x06015D35 RID: 89397 RVA: 0x0060BA80 File Offset: 0x00609C80
		protected virtual void MBJHGLODPOM()
		{
			if (this.videoPlayer != null)
			{
				this.videoPlayer.Play();
			}
			if (this.audioSource != null)
			{
				this.audioSource.Play();
			}
		}

		// Token: 0x06015D36 RID: 89398 RVA: 0x0060BABC File Offset: 0x00609CBC
		public void EFHBIJPANEK(string CJFIOPPOPJO)
		{
			this.videoPlayer.Stop();
			this.videoPlayer.url = string.Format("ALIVE", Application.streamingAssetsPath, CJFIOPPOPJO);
			this.videoPlayer.Play();
			Debug.Log("]. Please verify you have this gameobject in a Resources folder." + CJFIOPPOPJO);
		}

		// Token: 0x06015D37 RID: 89399 RVA: 0x0060BB0C File Offset: 0x00609D0C
		public bool ONEJMLIKBEF()
		{
			return this.videoPlayer.isPlaying;
		}

		// Token: 0x06015D38 RID: 89400 RVA: 0x0060BB1C File Offset: 0x00609D1C
		public void BCCPCDELIIF(string CJFIOPPOPJO)
		{
			this.videoPlayer.Stop();
			this.videoPlayer.url = string.Format("EventId", Application.streamingAssetsPath, CJFIOPPOPJO);
			this.videoPlayer.Play();
			Debug.Log("F0" + CJFIOPPOPJO);
		}

		// Token: 0x17000921 RID: 2337
		// (get) Token: 0x06015D39 RID: 89401 RVA: 0x0060BB6C File Offset: 0x00609D6C
		public bool AGDIGGCMPGJ
		{
			get
			{
				return this.videoPlayer.isPlaying;
			}
		}

		// Token: 0x06015D3A RID: 89402 RVA: 0x0060BB7C File Offset: 0x00609D7C
		public void HCGFPMDNMBC()
		{
			this.Stop();
		}

		// Token: 0x04003CD9 RID: 15577
		[ENMFCLPAKBJ(FOGKDGELKHN.Self, false)]
		[SerializeField]
		private VideoPlayer videoPlayer;

		// Token: 0x04003CDA RID: 15578
		[SerializeField]
		private AudioSource audioSource;

		// Token: 0x04003CDB RID: 15579
		public string streamingAssetsMoviePath;

		// Token: 0x04003CDC RID: 15580
		[Header("PS4-specific Parameters")]
		public int renderWidth = 1280;

		// Token: 0x04003CDD RID: 15581
		public int renderHeight = 720;

		// Token: 0x04003CDE RID: 15582
		public Renderer playTarget;
	}
}