Details

Last Updated
First Uploaded
Downloads
21
Likes
0
Size
149KB
Dependency string
jasonofthestorm-VideoOnTV2-0.0.1
Dependants

Categories

Download

jasonofthestorm-VideoOnTV/VideoOnTV.dll

Download (3.9 KB)
using System;using System.Diagnostics;using System.IO;using System.Reflection;using System.Runtime.CompilerServices;using System.Runtime.Versioning;using System.Security;using System.Security.Permissions;using BepInEx;using BepInEx.Configuration;using HarmonyLib;using Microsoft.CodeAnalysis;using Reptile;using UnityEngine;using UnityEngine.Video;[assembly: CompilationRelaxations(8)][assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)][assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)][assembly: TargetFramework(".NETFramework,Version=v4.6", FrameworkDisplayName = ".NET Framework 4.6")][assembly: AssemblyCompany("VideoOnTV")][assembly: AssemblyConfiguration("Debug")][assembly: AssemblyFileVersion("0.0.1.0")][assembly: AssemblyInformationalVersion("0.0.1")][assembly: AssemblyProduct("VideoOnTV")][assembly: AssemblyTitle("VideoOnTV")][assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)][assembly: AssemblyVersion("0.0.1.0")][module: UnverifiableCode][module: RefSafetyRules(11)]namespace Microsoft.CodeAnalysis{	[CompilerGenerated]	[Microsoft.CodeAnalysis.Embedded]	internal sealed class EmbeddedAttribute : Attribute	{	}}namespace System.Runtime.CompilerServices{	[CompilerGenerated]	[Microsoft.CodeAnalysis.Embedded]	[AttributeUsage(AttributeTargets.Module, AllowMultiple = false, Inherited = false)]	internal sealed class RefSafetyRulesAttribute : Attribute	{		public readonly int Version;		public RefSafetyRulesAttribute(int P_0)		{			Version = P_0;		}	}}namespace VideoOnTV{	public class VideoConfigFile	{		private readonly ConfigFile config;		public ConfigEntry<string> VideoURL;		public VideoConfigFile(ConfigFile config)		{			this.config = config;			VideoURL = this.config.Bind<string>("Video", "URL", "https://i.imgur.com/IsWDJWa.mp4", "The URL of the video to play on in-game TVs. Note that not all formats or links will work.");		}	}	[BepInPlugin("VideoOnTV", "VideoOnTV", "0.0.1")]	public class Plugin : BaseUnityPlugin	{		public static VideoConfigFile videoConfig;		public static GameObject videoPlayer;		private void Awake()		{			//IL_0016: Unknown result type (might be due to invalid IL or missing references)			//IL_001c: Expected O, but got Unknown			videoConfig = new VideoConfigFile(((BaseUnityPlugin)this).Config);
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.