Compare commits

..

1 commit

Author SHA1 Message Date
bd9c6bd89b Convert to Cardlife assembly refs 2020-10-01 09:34:41 -04:00
4 changed files with 10 additions and 19 deletions

View file

@ -20,6 +20,7 @@ namespace IllusionInjector
public void OnApplicationStart()
{
Debug.LogWarning($"OnApplicationStart Test Warning");
Invoke(plugin => plugin.OnApplicationStart(), "OnApplicationStart");
}
@ -36,10 +37,8 @@ namespace IllusionInjector
try
{
callback(plugin);
#if DEBUG
if (!string.IsNullOrEmpty(name))
Debug.LogWarning($"Executed {name} for plugin {plugin.Name}");
#endif
}
catch (Exception ex)
{

View file

@ -35,23 +35,19 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="UnityEngine">
<HintPath>..\..\ref\TechbloxPreview_Data\Managed\UnityEngine.dll</HintPath>
<!--<HintPath>..\..\ref\GamecraftPreview_Data\Managed\UnityEngine.dll</HintPath>-->
<HintPath>..\..\cl\Cardlife_Data\Managed\UnityEngine.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine">
<HintPath>..\..\ref\TechbloxPreview_Data\Managed\UnityEngine.CoreModule.dll</HintPath>
<!--<HintPath>..\..\ref\GamecraftPreview_Data\Managed\UnityEngine.CoreModule.dll</HintPath>-->
<HintPath>..\..\cl\Cardlife_Data\Managed\UnityEngine.CoreModule.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine">
<HintPath>..\..\ref\TechbloxPreview_Data\Managed\UnityEngine.PhysicsModule.dll</HintPath>
<!--<HintPath>..\..\ref\GamecraftPreview_Data\Managed\UnityEngine.PhysicsModule.dll</HintPath>-->
<HintPath>..\..\cl\Cardlife_Data\Managed\UnityEngine.PhysicsModule.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine">
<HintPath>..\..\ref\TechbloxPreview_Data\Managed\UnityEngine.Physics2DModule.dll</HintPath>
<!--<HintPath>..\..\ref\GamecraftPreview_Data\Managed\UnityEngine.Physics2DModule.dll</HintPath>-->
<HintPath>..\..\cl\Cardlife_Data\Managed\UnityEngine.Physics2DModule.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>

View file

@ -11,7 +11,7 @@ namespace IllusionPlugin
/// Gets a list of executables this plugin should be excuted on (without the file ending)
/// </summary>
/// <example>{ "PlayClub", "PlayClubStudio" }</example>
public string[] Filter { get; } = new[] {"Techblox", "TechbloxPreview"};
public string[] Filter { get; } = new[] {"Cardlife", "CardlifeGameServer"};
public virtual void OnLateUpdate()
{

View file

@ -36,23 +36,19 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="UnityEngine">
<HintPath>..\..\ref\TechbloxPreview_Data\Managed\UnityEngine.dll</HintPath>
<!--<HintPath>..\..\ref\GamecraftPreview_Data\Managed\UnityEngine.dll</HintPath>-->
<HintPath>..\..\cl\Cardlife_Data\Managed\UnityEngine.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine">
<HintPath>..\..\ref\TechbloxPreview_Data\Managed\UnityEngine.CoreModule.dll</HintPath>
<!--<HintPath>..\..\ref\GamecraftPreview_Data\Managed\UnityEngine.CoreModule.dll</HintPath>-->
<HintPath>..\..\cl\Cardlife_Data\Managed\UnityEngine.CoreModule.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine">
<HintPath>..\..\ref\TechbloxPreview_Data\Managed\UnityEngine.PhysicsModule.dll</HintPath>
<!--<HintPath>..\..\ref\GamecraftPreview_Data\Managed\UnityEngine.PhysicsModule.dll</HintPath>-->
<HintPath>..\..\cl\Cardlife_Data\Managed\UnityEngine.PhysicsModule.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine">
<HintPath>..\..\ref\TechbloxPreview_Data\Managed\UnityEngine.Physics2DModule.dll</HintPath>
<!--<HintPath>..\..\ref\GamecraftPreview_Data\Managed\UnityEngine.Physics2DModule.dll</HintPath>-->
<HintPath>..\..\cl\Cardlife_Data\Managed\UnityEngine.Physics2DModule.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>