using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using MelonLoader;
using SceneLogger;
[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)]
[assembly: MelonInfo(typeof(SceneInfoLog), "Scene Logger", "1.0.1", "ArpaRec", null)]
[assembly: AssemblyTitle("MyFirstMelonMod")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("MyFirstMelonMod")]
[assembly: AssemblyCopyright("Copyright © 2024")]
[assembly: AssemblyTrademark("")]
[assembly: ComVisible(false)]
[assembly: Guid("e8eacbdf-2a75-420d-89ca-e28ac933cf0d")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: TargetFramework(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
[assembly: AssemblyVersion("1.0.0.0")]
namespace SceneLogger;
public class SceneInfoLog : MelonMod
{
public override void OnInitializeMelon()
{
((MelonBase)this).LoggerInstance.Msg("===== SceneLogger Active =====");
}
public override void OnSceneWasLoaded(int buildIndex, string sceneName)
{
((MelonBase)this).LoggerInstance.Msg("vvvv Scene Loaded vvvv");
((MelonBase)this).LoggerInstance.Msg(sceneName + " was loaded");
}
}