stolen code :D
This commit is contained in:
commit
cd9ea221d2
16 changed files with 2364 additions and 0 deletions
30
red.sim.LightVolumesUdon/Main.cs
Normal file
30
red.sim.LightVolumesUdon/Main.cs
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
using ABI_RC.Core.Util.AssetFiltering;
|
||||
using MelonLoader;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using VRCLightVolumes;
|
||||
|
||||
namespace red.sim.LightVolumesUdon
|
||||
{
|
||||
public class Main : MelonMod
|
||||
{
|
||||
public Main()
|
||||
{
|
||||
}
|
||||
|
||||
public override void OnInitializeMelon()
|
||||
{
|
||||
WorldFilter._Base.Add(typeof(LightVolume));
|
||||
WorldFilter._Base.Add(typeof(LightVolumeData));
|
||||
WorldFilter._Base.Add(typeof(LightVolumeDataSorter));
|
||||
WorldFilter._Base.Add(typeof(LightVolumeInstance));
|
||||
WorldFilter._Base.Add(typeof(LightVolumeManager));
|
||||
WorldFilter._Base.Add(typeof(LightVolumeSetup));
|
||||
WorldFilter._Base.Add(typeof(PointLightVolume));
|
||||
WorldFilter._Base.Add(typeof(PointLightVolumeInstance));
|
||||
SharedFilter.get_SpawnableWhitelist().Add(typeof(PointLightVolumeInstance));
|
||||
SharedFilter.get_SpawnableWhitelist().Add(typeof(PointLightVolume));
|
||||
MelonLogger.Msg("Initialized, now whitelisting modded components!");
|
||||
}
|
||||
}
|
||||
}
|
||||
11
red.sim.LightVolumesUdon/Properties/AssemblyInfoParams.cs
Normal file
11
red.sim.LightVolumesUdon/Properties/AssemblyInfoParams.cs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
using System;
|
||||
|
||||
namespace red.sim.LightVolumesUdon.Properties
|
||||
{
|
||||
internal static class AssemblyInfoParams
|
||||
{
|
||||
public const string Version = "1.0.0";
|
||||
|
||||
public const string Author = "REDSIM , SketchFoxsky";
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue