diff --git a/Editor/Tools/Weaver/com.unity.multiplayer-weaver.Editor.asmdef b/Editor/Tools/Weaver/com.unity.multiplayer-weaver.Editor.asmdef index 1088cc3..18d97fd 100644 --- a/Editor/Tools/Weaver/com.unity.multiplayer-weaver.Editor.asmdef +++ b/Editor/Tools/Weaver/com.unity.multiplayer-weaver.Editor.asmdef @@ -1,16 +1,29 @@ { "name": "com.unity.multiplayer-weaver.Editor", + "rootNamespace": "", "references": [], "includePlatforms": [ "Editor" ], "excludePlatforms": [], - "allowUnsafeCode" : true, + "allowUnsafeCode": true, "overrideReferences": true, "precompiledReferences": [ "Mono.Cecil.dll", "Mono.Cecil.Mdb.dll", "Mono.Cecil.Pdb.dll", "Mono.Cecil.Rocks.dll" - ] -} + ], + "autoReferenced": true, + "defineConstraints": [ + "HLAPI_BEPINEXPACK_INSTALLED" + ], + "versionDefines": [ + { + "name": "bbepis-bepinexpack", + "expression": "5.0.0", + "define": "HLAPI_BEPINEXPACK_INSTALLED" + } + ], + "noEngineReferences": false +} \ No newline at end of file diff --git a/Editor/com.unity.multiplayer-hlapi.Editor.asmdef b/Editor/com.unity.multiplayer-hlapi.Editor.asmdef index 68237cf..389fea5 100644 --- a/Editor/com.unity.multiplayer-hlapi.Editor.asmdef +++ b/Editor/com.unity.multiplayer-hlapi.Editor.asmdef @@ -14,8 +14,14 @@ "precompiledReferences": [], "autoReferenced": true, "defineConstraints": [ - "BBEPIS_BEPINEXPACK" + "HLAPI_BEPINEXPACK_INSTALLED" + ], + "versionDefines": [ + { + "name": "bbepis-bepinexpack", + "expression": "5.0.0", + "define": "HLAPI_BEPINEXPACK_INSTALLED" + } ], - "versionDefines": [], "noEngineReferences": false } \ No newline at end of file diff --git a/MonoDetector/MonoDetector.asmdef b/MonoDetector/MonoDetector.asmdef index cd1aaa6..e17700f 100644 --- a/MonoDetector/MonoDetector.asmdef +++ b/MonoDetector/MonoDetector.asmdef @@ -11,8 +11,14 @@ "precompiledReferences": [], "autoReferenced": true, "defineConstraints": [ - "!BBEPIS_BEPINEXPACK" + "!HLAPI_MONO_INSTALLED" + ], + "versionDefines": [ + { + "name": "bbepis-bepinexpack", + "expression": "5.0.0", + "define": "HLAPI_MONO_INSTALLED" + } ], - "versionDefines": [], "noEngineReferences": false } \ No newline at end of file diff --git a/Runtime/com.unity.multiplayer-hlapi.Runtime.asmdef b/Runtime/com.unity.multiplayer-hlapi.Runtime.asmdef index aafd07c..da10335 100644 --- a/Runtime/com.unity.multiplayer-hlapi.Runtime.asmdef +++ b/Runtime/com.unity.multiplayer-hlapi.Runtime.asmdef @@ -8,9 +8,7 @@ "overrideReferences": false, "precompiledReferences": [], "autoReferenced": true, - "defineConstraints": [ - "BBEPIS_BEPINEXPACK" - ], + "defineConstraints": [], "versionDefines": [], "noEngineReferences": false } \ No newline at end of file