diff --git a/ScoreboardTweaks/Main.cs b/ScoreboardTweaks/Main.cs index 03bd22f..15ec947 100644 --- a/ScoreboardTweaks/Main.cs +++ b/ScoreboardTweaks/Main.cs @@ -1,74 +1,125 @@ -using BepInEx; -using BepInEx.Bootstrap; -using HarmonyLib; -using Photon.Pun; -using System; -using System.Collections.Generic; -using System.IO; -using System.Reflection; -using UnityEngine; -using UnityEngine.UI; - -namespace ScoreboardTweaks -{ - [BepInPlugin(ModConstants.ModConstants.modGUID, ModConstants.ModConstants.modName, ModConstants.ModConstants.modVersion)] - public class Main : BaseUnityPlugin - { - internal static Main m_hInstance = null; - internal static List m_listScoreboardTexts = new List(); - internal static Sprite m_spriteGizmoMuted = null; - internal static Sprite m_spriteGizmoOriginal = null; - internal static Material m_materialReportButtons = null; - public static List m_listScoreboards = new List(); - internal static void Log(string msg) => m_hInstance.Logger.LogMessage(msg); - void Awake() - { - m_hInstance = this; - HarmonyPatcher.Patch.Apply(); - } - void Start() - { - foreach (var plugin in Chainloader.PluginInfos.Values) - { - try { AccessTools.Method(plugin.Instance.GetType(), "OnScoreboardTweakerStart")?.Invoke(plugin.Instance, new object[] { }); } catch { } - } - - Texture2D tex = new Texture2D(2, 2); - var file = new FileInfo(AssemblyDirectory + "/gizmo-speaker-muted.png"); - if (!file.Exists) { Log("MutedGizmo icon file doesn`t exists!"); return; } - tex.LoadImage(File.ReadAllBytes(file.FullName)); - - m_spriteGizmoMuted = Sprite.Create(tex, new Rect(0.0f, 0.0f, 512.0f, 512.0f), new Vector2(0.5f, 0.5f), 100.0f); - m_spriteGizmoMuted.name = "gizmo-speaker-muted"; - } - public static void UpdateScoreboardTopText(string roomCode = null) - { - if (PhotonNetwork.InRoom) foreach (var txt in m_listScoreboardTexts) - { - txt.text = "ROOM ID: " + (!PhotonNetwork.CurrentRoom.IsVisible ? "-PRIVATE-" : (roomCode == null ? PhotonNetwork.CurrentRoom.Name : roomCode)) + "\n PLAYER STATUS REPORT"; - } - } - - /* https://stackoverflow.com/questions/52797/how-do-i-get-the-path-of-the-assembly-the-code-is-in */ - public static string AssemblyDirectory - { - get - { - string codeBase = Assembly.GetExecutingAssembly().CodeBase; - UriBuilder uri = new UriBuilder(codeBase); - string path = Uri.UnescapeDataString(uri.Path); - return Path.GetDirectoryName(path); - } - } - } - - //[HarmonyPatch(typeof(GorillaNetworking.PhotonNetworkController))] - //[HarmonyPatch("AttemptDisconnect", MethodType.Normal)] - internal class OnRoomDisconnected - { - private static void Prefix() - { - try { Main.m_listScoreboardTexts.Clear(); } catch { } - } - } -} \ No newline at end of file +using BepInEx; +using BepInEx.Bootstrap; +using HarmonyLib; +using Photon.Pun; +using System; +using System.Collections.Generic; +using System.IO; +using System.Reflection; +using UnityEngine; +using UnityEngine.UI; + +namespace ScoreboardTweaks +{ + [BepInPlugin(ModConstants.ModConstants.modGUID, ModConstants.ModConstants.modName, ModConstants.ModConstants.modVersion)] + public class Main : BaseUnityPlugin + { + internal static Main Instance { get; private set; } + internal static List ScoreboardTexts { get; } = new List(); + internal static Sprite GizmoMutedSprite { get; private set; } + internal static Sprite GizmoOriginalSprite { get; set; } + internal static Material ReportButtonMaterial { get; private set; } + internal static List Scoreboards { get; } = new List(); + + void Awake() + { + Instance = this; + try + { + HarmonyPatcher.Patch.Apply(); + } + catch { } + } + + void Start() + { + InvokePluginsStartMethod(); + LoadMutedSpeakerSprite(); + } + + private void InvokePluginsStartMethod() + { + foreach (var plugin in Chainloader.PluginInfos.Values) + { + try + { + AccessTools.Method(plugin.Instance.GetType(), "OnScoreboardTweakerStart") + ?.Invoke(plugin.Instance, Array.Empty()); + } + catch { } + } + } + + private void LoadMutedSpeakerSprite() + { + try + { + var assembly = Assembly.GetExecutingAssembly(); + const string resourceName = "ScoreboardTweaks.Resources.gizmo-speaker-muted.png"; + + using Stream stream = assembly.GetManifestResourceStream(resourceName); + if (stream == null) + { + return; + } + + using MemoryStream ms = new MemoryStream(); + stream.CopyTo(ms); + byte[] imageData = ms.ToArray(); + + Texture2D texture = new Texture2D(512, 512); + if (!texture.LoadImage(imageData)) + { + return; + } + + texture.filterMode = FilterMode.Point; + texture.wrapMode = TextureWrapMode.Clamp; + texture.anisoLevel = 8; + texture.Apply(); + + GizmoMutedSprite = Sprite.Create(texture, new Rect(0, 0, 512, 512), new Vector2(0.5f, 0.5f), 100f); + GizmoMutedSprite.name = "gizmo-speaker-muted"; + + } + catch { } + } + + public static void UpdateScoreboardTopText(string roomCode = null) + { + if (!PhotonNetwork.InRoom) return; + + string roomName = roomCode ?? PhotonNetwork.CurrentRoom.Name; + string displayText = $"ROOM ID: {(PhotonNetwork.CurrentRoom.IsVisible ? roomName : "-PRIVATE-")}\nPLAYER REPORT"; + + foreach (var text in ScoreboardTexts) + { + if (text != null) + text.text = displayText; + } + } + + public static string AssemblyDirectory + { + get + { + string codeBase = Assembly.GetExecutingAssembly().Location; + return Path.GetDirectoryName(codeBase); + } + } + + [HarmonyPatch(typeof(PhotonNetwork))] + [HarmonyPatch("Disconnect", MethodType.Normal)] + internal class OnRoomDisconnected + { + private static void Prefix() + { + try + { + ScoreboardTexts.Clear(); + } + catch { } + } + } + } +} diff --git a/ScoreboardTweaks/Patches/Scoreboard.cs b/ScoreboardTweaks/Patches/Scoreboard.cs index f620b05..858f2d5 100644 --- a/ScoreboardTweaks/Patches/Scoreboard.cs +++ b/ScoreboardTweaks/Patches/Scoreboard.cs @@ -1,257 +1,311 @@ -using BepInEx.Bootstrap; -using HarmonyLib; -using Photon.Pun; -using System; -using System.Linq; -using UnityEngine; -using UnityEngine.UI; - -namespace ScoreboardTweaks.Patches -{ - /* Gorilla Tag v1.1.0 */ - - /* Rebuilding buttons */ - [HarmonyPatch(typeof(GorillaScoreBoard))] - [HarmonyPatch("RedrawPlayerLines", MethodType.Normal)] - internal class GorillaScoreBoardRedrawPlayerLines - { - private static bool Prefix(GorillaScoreBoard __instance) - { - __instance.boardText.text = "ROOM ID: " + ((PhotonNetwork.CurrentRoom == null || !PhotonNetwork.CurrentRoom.IsVisible) ? "-PRIVATE- GAME MODE: " : (PhotonNetwork.CurrentRoom.Name + " GAME MODE: ")) + __instance.RoomType() + "\n PLAYER STATUS REPORT"; - __instance.buttonText.text = ""; - for (int index = 0; index < __instance.lines.Count; ++index) - { - __instance.lines[index].gameObject.GetComponent().localPosition = new Vector3(0.0f, (float)(__instance.startingYValue - __instance.lineHeight * index), 0.0f); - } - return false; - } - } - /* Gorilla Tag v1.1.0 */ - - /* Rebuilding buttons */ - [HarmonyPatch(typeof(GorillaScoreBoard))] - [HarmonyPatch("Start", MethodType.Normal)] - internal class GorillaScoreBoardStart - { - //private static void Postfix(GorillaScoreBoard __instance) - //{ - // __instance.boardText.text = "ROOM ID: " + ((PhotonNetwork.CurrentRoom == null || !PhotonNetwork.CurrentRoom.IsVisible) ? "-PRIVATE-" : PhotonNetwork.CurrentRoom.Name) + "\n PLAYER STATUS REPORT"; - //} - private static void Prefix(GorillaScoreBoard __instance) - { - try - { - if (ScoreboardTweaks.Main.m_listScoreboards.Contains(__instance)) return; - ScoreboardTweaks.Main.m_listScoreboards.Add(__instance); - - Main.m_listScoreboardTexts.Add(__instance.boardText); - __instance.boardText.transform.localPosition = new Vector3 - ( - __instance.boardText.transform.localPosition.x, - __instance.boardText.transform.localPosition.y, - 0.25f * __instance.boardText.transform.localPosition.z - ); - - foreach (var plugin in Chainloader.PluginInfos.Values) - { - try { if (plugin.Instance != ScoreboardTweaks.Main.m_hInstance) AccessTools.Method(plugin.Instance.GetType(), "OnScoreboardTweakerProcessedPre")?.Invoke(plugin.Instance, new object[] { __instance }); } catch { } - } - - Text tmpText; - int linesCount = __instance.lines.Count(); - for (int i = 0; i < linesCount; ++i) - { - foreach (Transform t in __instance.lines[i].transform) - { - if (t.name == "Player Name") - { - t.localPosition = new Vector3(-48.0f, 0.0f, 0.0f); - t.gameObject.SetActive(true); - //t.localScale = new Vector3(0.8f, 0.8f, 1.0f); - continue; - } - if (t.name == "Color Swatch") - { - t.localPosition = new Vector3(-115.0f, 0.0f, 0.3f); - continue; - } - if (t.name == "Mute Button") - { - t.localRotation = Quaternion.identity; - t.localScale = new Vector3(t.localScale.x, t.localScale.y, 0.25f * t.localScale.z); - t.localPosition = new Vector3(-115.0f, 0.0f, 0.0f); - tmpText = t.GetChild(0).GetComponent(); - tmpText.gameObject.SetActive(true); // GT 1.1.0 - tmpText.color = Color.clear; - GameObject.Destroy(t.GetComponent()); - - t.GetChild(0).localScale = new Vector3(0.04f, 0.04f, 1.2f); - continue; - } - if (t.name == "ReportButton") - { - t.GetChild(0).localScale = new Vector3(0.028f, 0.028f, 1.0f); - t.localPosition = new Vector3(32.0f, 0.0f, 0.0f); - t.localScale = new Vector3(t.localScale.x, t.localScale.y, 0.4f * t.localScale.z); - - // GT 1.1.0 - tmpText = t.GetChild(0).GetComponent(); - tmpText.gameObject.SetActive(true); - // GT 1.1.0 - - continue; - } - if (t.name == "gizmo-speaker") - { - if (Main.m_spriteGizmoOriginal == null) Main.m_spriteGizmoOriginal = t.GetComponent().sprite; - t.localPosition = new Vector3(-115.0f, 0.0f, 0.0f); - t.localScale = new Vector3(1.8f, 1.8f, 1.8f); - continue; - } - if (t.name == "HateSpeech") - { - t.GetChild(0).localScale = new Vector3(0.03f, 0.03f, 1.0f); - - // GT 1.1.0 - tmpText = t.GetChild(0).GetComponent(); - tmpText.gameObject.SetActive(true); - tmpText.GetComponent().text = "HATE\nSPEECH"; - // GT 1.1.0 - //t.GetChild(0).GetComponent().text = "HATE\nSPEECH"; - t.localPosition = new Vector3(46.0f, 0.0f, 0.0f); - t.localScale = new Vector3(t.localScale.x, t.localScale.y, 0.4f * t.localScale.z); - GorillaPlayerLineButton controller = t.gameObject.GetComponent(); - if (controller != null) - { - controller.offMaterial = new Material(controller.offMaterial); - controller.offMaterial.color = new Color(0.85f, 0.85f, 0.85f); - t.GetComponent().material = controller.offMaterial; - } - continue; - } - if (t.name == "Toxicity") - { - t.GetChild(0).localScale = new Vector3(0.03f, 0.03f, 1.0f); - // GT 1.1.0 - tmpText = t.GetChild(0).GetComponent(); - tmpText.gameObject.SetActive(true); - tmpText.GetComponent().text = "TOXIC\nPERSON"; - // GT 1.1.0 - //t.GetChild(0).GetComponent().text = "TOXIC\nPERSON"; - t.localPosition = new Vector3(60.0f, 0.0f, 0.0f); - t.localScale = new Vector3(t.localScale.x, t.localScale.y, 0.4f * t.localScale.z); - GorillaPlayerLineButton controller = t.gameObject.GetComponent(); - if (controller != null) - { - controller.offMaterial = new Material(controller.offMaterial); - controller.offMaterial.color = new Color(0.85f, 0.85f, 0.85f); - t.GetComponent().material = controller.offMaterial; - } - continue; - } - if (t.name == "Cheating") - { - t.GetChild(0).localScale = new Vector3(0.028f, 0.028f, 1.0f); - // GT 1.1.0 - tmpText = t.GetChild(0).GetComponent(); - tmpText.gameObject.SetActive(true); - tmpText.GetComponent().text = "CHEATER"; - // GT 1.1.0 - //t.GetChild(0).GetComponent().text = "CHEATER"; - t.localPosition = new Vector3(74.0f, 0.0f, 0.0f); - t.localScale = new Vector3(t.localScale.x, t.localScale.y, 0.4f * t.localScale.z); - GorillaPlayerLineButton controller = t.gameObject.GetComponent(); - if (controller != null) - { - controller.offMaterial = new Material(controller.offMaterial); - controller.offMaterial.color = new Color(0.85f, 0.85f, 0.85f); - t.GetComponent().material = controller.offMaterial; - } - continue; - } - if (t.name == "Cancel") - { - // GT 1.1.0 - t.GetChild(0).GetComponent().gameObject.SetActive(true); - // GT 1.1.0 - - t.GetChild(0).localScale = new Vector3(0.03f, 0.03f, 1.0f); - t.localPosition = new Vector3(32.0f, 0.0f, 0.0f); - t.localScale = new Vector3(t.localScale.x, t.localScale.y, 0.4f * t.localScale.z); - GorillaPlayerLineButton controller = t.gameObject.GetComponent(); - if (controller != null) - { - controller.offMaterial = new Material(controller.offMaterial); - controller.offMaterial.color = new Color(0.85f, 0.85f, 0.85f); - t.GetComponent().material = controller.offMaterial; - } - continue; - } - } - } - __instance.RedrawPlayerLines(); - - foreach (var plugin in Chainloader.PluginInfos.Values) - { - try { if (plugin.Instance != ScoreboardTweaks.Main.m_hInstance) AccessTools.Method(plugin.Instance.GetType(), "OnScoreboardTweakerProcessed")?.Invoke(plugin.Instance, new object[] { __instance }); } catch { } - } - } - catch - { - - } - } - } - - /* Forcing a muted icon */ - [HarmonyPatch(typeof(GorillaPlayerScoreboardLine))] - [HarmonyPatch("UpdateLine", MethodType.Normal)] - internal class GorillaPlayerScoreboardLineUpdate - { - private static void Postfix(GorillaPlayerScoreboardLine __instance) - { - GorillaPlayerLineButton muteButton = __instance.muteButton; - if (muteButton.isOn) - { - muteButton.parentLine.speakerIcon.GetComponent().sprite = Main.m_spriteGizmoMuted; - muteButton.parentLine.speakerIcon.enabled = true; - } - else - { - muteButton.parentLine.speakerIcon.GetComponent().sprite = Main.m_spriteGizmoOriginal; - } - } - } - - /* UpdateColor log spamming after MeshRenderer delete */ - [HarmonyPatch(typeof(GorillaPlayerLineButton))] - [HarmonyPatch("UpdateColor", MethodType.Normal)] - internal class GorillaPlayerLineButtonUpdateColor - { - private static bool Prefix(GorillaPlayerLineButton __instance) - { - - if (__instance.parentLine.muteButton == __instance) - { - // This button has no mesh to update color! - return false; - } - return true; - } - } - - /* Fixing "Cancel" pressed after "Report" pressing */ - [HarmonyPatch(typeof(GorillaPlayerLineButton))] - [HarmonyPatch("OnTriggerEnter", MethodType.Normal)] - internal class GorillaPlayerLineButtonTriggerEnter - { - internal static float m_flNextPress = 0.0f; - private static bool Prefix(GorillaPlayerLineButton __instance, Collider collider) - { - if (!__instance.enabled || m_flNextPress > Time.time || __instance.touchTime + __instance.debounceTime >= Time.time) return false; - m_flNextPress = Time.time + 0.05f; - - return true; - } - } -} \ No newline at end of file +using BepInEx.Bootstrap; +using HarmonyLib; +using Photon.Pun; +using UnityEngine; +using UnityEngine.UI; + +namespace ScoreboardTweaks.Patches +{ + [HarmonyPatch(typeof(GorillaScoreBoard))] + internal class GorillaScoreBoardPatches + { + [HarmonyPatch("RedrawPlayerLines")] + [HarmonyPrefix] + private static bool RedrawPlayerLinesPrefix(GorillaScoreBoard __instance) + { + try + { + string roomStatus = (PhotonNetwork.CurrentRoom == null || !PhotonNetwork.CurrentRoom.IsVisible) + ? "-PRIVATE- MODE: " + : $"{PhotonNetwork.CurrentRoom.Name} MODE: "; + + __instance.boardText.text = $"ROOM ID: {roomStatus}{__instance.RoomType()}\nPLAYER REPORT"; + __instance.buttonText.text = ""; + + for (int i = 0; i < __instance.lines.Count; i++) + { + __instance.lines[i].gameObject.GetComponent().localPosition = + new Vector3(0.0f, __instance.startingYValue - __instance.lineHeight * i, 0.0f); + } + + return false; + } + catch + { + return true; + } + } + + [HarmonyPatch("Start")] + [HarmonyPrefix] + private static void StartPrefix(GorillaScoreBoard __instance) + { + try + { + if (Main.Scoreboards.Contains(__instance)) return; + Main.Scoreboards.Add(__instance); + + ProcessScoreboardText(__instance); + ProcessScoreboardLines(__instance); + + __instance.RedrawPlayerLines(); + + NotifyPlugins(__instance); + } + catch { } + } + + private static void ProcessScoreboardText(GorillaScoreBoard scoreboard) + { + Vector3 localPosition = scoreboard.boardText.transform.localPosition; + scoreboard.boardText.transform.localPosition = new Vector3( + localPosition.x, + localPosition.y, + 0.25f * localPosition.z + ); + } + + private static void ProcessScoreboardLines(GorillaScoreBoard scoreboard) + { + foreach (var plugin in Chainloader.PluginInfos.Values) + { + try + { + if (plugin.Instance != Main.Instance) + AccessTools.Method(plugin.Instance.GetType(), "OnScoreboardTweakerProcessedPre") + ?.Invoke(plugin.Instance, new object[] { scoreboard }); + } + catch { } + } + + foreach (GorillaPlayerScoreboardLine line in scoreboard.lines) + { + if (line != null && line.gameObject != null) + { + ProcessLineTransform(line.gameObject.transform); + } + } + } + + private static void ProcessLineTransform(Transform lineTransform) + { + foreach (Transform child in lineTransform) + { + switch (child.name) + { + case "Player Name": + ProcessPlayerName(child); + break; + case "Color Swatch": + ProcessColorSwatch(child); + break; + case "Mute Button": + ProcessMuteButton(child); + break; + case "ReportButton": + ProcessReportButton(child); + break; + case "gizmo-speaker": + ProcessGizmoSpeaker(child); + break; + case "HateSpeech": + case "Toxicity": + case "Cheating": + case "Cancel": + ProcessReportOptionButton(child); + break; + } + } + } + + private static void ProcessPlayerName(Transform transform) + { + transform.localPosition = new Vector3(-60.0f, 0.0f, 0.0f); + transform.gameObject.SetActive(true); + transform.localScale = new Vector3(0.8f, 0.8f, 1.0f); + } + + private static void ProcessColorSwatch(Transform transform) + { + transform.localPosition = new Vector3(-115.0f, 0.0f, 0.3f); + } + + private static void ProcessMuteButton(Transform transform) + { + transform.localRotation = Quaternion.identity; + transform.localScale = new Vector3( + transform.localScale.x, + transform.localScale.y, + 0.25f * transform.localScale.z + ); + transform.localPosition = new Vector3(-115.0f, 0.0f, 0.0f); + + Text textComponent = transform.GetChild(0).GetComponent(); + textComponent.gameObject.SetActive(true); + textComponent.color = Color.clear; + + GameObject.Destroy(transform.GetComponent()); + transform.GetChild(0).localScale = new Vector3(0.04f, 0.04f, 1.2f); + } + + private static void ProcessReportButton(Transform transform) + { + transform.GetChild(0).localScale = new Vector3(0.028f, 0.028f, 1.0f); + transform.localPosition = new Vector3(32.0f, 0.0f, 0.0f); + transform.localScale = new Vector3( + transform.localScale.x, + transform.localScale.y, + 0.4f * transform.localScale.z + ); + + Text textComponent = transform.GetChild(0).GetComponent(); + textComponent.gameObject.SetActive(true); + } + + private static void ProcessGizmoSpeaker(Transform transform) + { + if (Main.GizmoOriginalSprite == null) + { + Main.GizmoOriginalSprite = transform.GetComponent().sprite; + } + + transform.localPosition = new Vector3(-115.0f, 0.0f, 0.0f); + transform.localScale = new Vector3(1.8f, 1.8f, 1.8f); + } + + private static void ProcessReportOptionButton(Transform transform) + { + transform.GetChild(0).localScale = new Vector3(0.03f, 0.03f, 1.0f); + + Text textComponent = transform.GetChild(0).GetComponent(); + textComponent.gameObject.SetActive(true); + + switch (transform.name) + { + case "HateSpeech": + textComponent.text = "HATE\nSPEECH"; + transform.localPosition = new Vector3(46.0f, 0.0f, 0.0f); + break; + case "Toxicity": + textComponent.text = "TOXIC\nPERSON"; + transform.localPosition = new Vector3(60.0f, 0.0f, 0.0f); + break; + case "Cheating": + textComponent.text = "CHEATER"; + transform.GetChild(0).localScale = new Vector3(0.028f, 0.028f, 1.0f); + transform.localPosition = new Vector3(74.0f, 0.0f, 0.0f); + break; + case "Cancel": + textComponent.text = "CANCEL"; + transform.localPosition = new Vector3(32.0f, 0.0f, 0.0f); + break; + } + + transform.localScale = new Vector3( + transform.localScale.x, + transform.localScale.y, + 0.4f * transform.localScale.z + ); + + GorillaPlayerLineButton controller = transform.GetComponent(); + if (controller != null) + { + controller.offMaterial = new Material(controller.offMaterial) + { + color = new Color(0.85f, 0.85f, 0.85f) + }; + transform.GetComponent().material = controller.offMaterial; + } + } + + private static void NotifyPlugins(GorillaScoreBoard scoreboard) + { + foreach (var plugin in Chainloader.PluginInfos.Values) + { + try + { + if (plugin.Instance != Main.Instance) + AccessTools.Method(plugin.Instance.GetType(), "OnScoreboardTweakerProcessed") + ?.Invoke(plugin.Instance, new object[] { scoreboard }); + } + catch { } + } + } + } + + [HarmonyPatch(typeof(GorillaPlayerScoreboardLine))] + [HarmonyPatch("UpdateLine")] + internal class GorillaPlayerScoreboardLineUpdate + { + [HarmonyPostfix] + private static void UpdateLinePostfix(GorillaPlayerScoreboardLine __instance) + { + try + { + if (__instance.muteButton.isOn) + { + __instance.speakerIcon.GetComponent().sprite = Main.GizmoMutedSprite; + __instance.speakerIcon.enabled = true; + } + else + { + __instance.speakerIcon.GetComponent().sprite = Main.GizmoOriginalSprite; + } + } + catch { } + } + } + + [HarmonyPatch(typeof(GorillaPlayerLineButton))] + [HarmonyPatch("UpdateColor")] + internal class GorillaPlayerLineButtonUpdateColor + { + [HarmonyPrefix] + private static bool UpdateColorPrefix(GorillaPlayerLineButton __instance) + { + return __instance.parentLine?.muteButton != __instance; + } + } + + [HarmonyPatch(typeof(GorillaPlayerLineButton))] + [HarmonyPatch("OnTriggerEnter")] + internal class GorillaPlayerLineButtonTriggerEnter + { + private static float nextPressTime = 0.0f; + + [HarmonyPrefix] + private static bool OnTriggerEnterPrefix(GorillaPlayerLineButton __instance, Collider collider) + { + try + { + if (!__instance.enabled || nextPressTime > Time.time || __instance.touchTime + __instance.debounceTime >= Time.time) + return false; + + nextPressTime = Time.time + 0.05f; + return true; + } + catch + { + return false; + } + } + } + + internal static class ScoreboardUpdater + { + internal static void UpdateAllScoreboards() + { + try + { + foreach (var scoreboard in Main.Scoreboards) + { + if (scoreboard != null && scoreboard.gameObject.activeInHierarchy) + { + scoreboard.RedrawPlayerLines(); + } + } + } + catch { } + } + } +} diff --git a/Assets/gizmo-speaker-muted.png b/ScoreboardTweaks/Resources/gizmo-speaker-muted.png similarity index 100% rename from Assets/gizmo-speaker-muted.png rename to ScoreboardTweaks/Resources/gizmo-speaker-muted.png diff --git a/ScoreboardTweaks/ScoreboardTweaks.csproj b/ScoreboardTweaks/ScoreboardTweaks.csproj index 12d2442..d4eceb6 100644 --- a/ScoreboardTweaks/ScoreboardTweaks.csproj +++ b/ScoreboardTweaks/ScoreboardTweaks.csproj @@ -7,41 +7,52 @@ https://github.com/RusJJ/ScoreboardTweaks - - - ..\Libs\0Harmony.dll - - - ..\Libs\Assembly-CSharp.dll - - - ..\Libs\BepInEx.dll - - - ..\Libs\PhotonRealtime.dll - - - ..\Libs\PhotonUnityNetworking.dll - - - ..\Libs\UnityEngine.dll - - - ..\Libs\UnityEngine.CoreModule.dll - - - ..\Libs\UnityEngine.ImageConversionModule.dll - - - ..\Libs\UnityEngine.PhysicsModule.dll - - - ..\Libs\UnityEngine.UI.dll - - - + + + + + + + + + + + ..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Gorilla Tag\BepInEx\core\0Harmony.dll + + + ..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Gorilla Tag\Gorilla Tag_Data\Managed\Assembly-CSharp.dll + + + ..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Gorilla Tag\BepInEx\core\BepInEx.dll + + + ..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Gorilla Tag\Gorilla Tag_Data\Managed\PhotonRealtime.dll + + + ..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Gorilla Tag\Gorilla Tag_Data\Managed\PhotonUnityNetworking.dll + + + ..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Gorilla Tag\Gorilla Tag_Data\Managed\Unity.TextMeshPro.dll + + + ..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Gorilla Tag\Gorilla Tag_Data\Managed\UnityEngine.dll + + + ..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Gorilla Tag\Gorilla Tag_Data\Managed\UnityEngine.CoreModule.dll + + + ..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Gorilla Tag\Gorilla Tag_Data\Managed\UnityEngine.ImageConversionModule.dll + + + ..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Gorilla Tag\Gorilla Tag_Data\Managed\UnityEngine.PhysicsModule.dll + + + ..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Gorilla Tag\Gorilla Tag_Data\Managed\UnityEngine.UI.dll + + + diff --git a/ScoreboardTweaks/obj/Debug/netstandard2.1/Scoreboa.0905397B.Up2Date b/ScoreboardTweaks/obj/Debug/netstandard2.1/Scoreboa.0905397B.Up2Date new file mode 100644 index 0000000..e69de29 diff --git a/ScoreboardTweaks/obj/Debug/netstandard2.1/ScoreboardTweaks.AssemblyInfo.cs b/ScoreboardTweaks/obj/Debug/netstandard2.1/ScoreboardTweaks.AssemblyInfo.cs new file mode 100644 index 0000000..8f41e0c --- /dev/null +++ b/ScoreboardTweaks/obj/Debug/netstandard2.1/ScoreboardTweaks.AssemblyInfo.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("ScoreboardTweaks")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.2.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.2.0")] +[assembly: System.Reflection.AssemblyProductAttribute("ScoreboardTweaks")] +[assembly: System.Reflection.AssemblyTitleAttribute("ScoreboardTweaks")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.2.0.0")] +[assembly: System.Reflection.AssemblyMetadataAttribute("RepositoryUrl", "https://github.com/RusJJ/ScoreboardTweaks")] + +// Generated by the MSBuild WriteCodeFragment class. + diff --git a/ScoreboardTweaks/obj/Debug/netstandard2.1/ScoreboardTweaks.AssemblyInfoInputs.cache b/ScoreboardTweaks/obj/Debug/netstandard2.1/ScoreboardTweaks.AssemblyInfoInputs.cache new file mode 100644 index 0000000..bb698e7 --- /dev/null +++ b/ScoreboardTweaks/obj/Debug/netstandard2.1/ScoreboardTweaks.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +df6558cd399510458e20ad71f21b69425e3549b4877e4135da40c90be507b399 diff --git a/ScoreboardTweaks/obj/Debug/netstandard2.1/ScoreboardTweaks.GeneratedMSBuildEditorConfig.editorconfig b/ScoreboardTweaks/obj/Debug/netstandard2.1/ScoreboardTweaks.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..33b4f62 --- /dev/null +++ b/ScoreboardTweaks/obj/Debug/netstandard2.1/ScoreboardTweaks.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,8 @@ +is_global = true +build_property.RootNamespace = ScoreboardTweaks +build_property.ProjectDir = C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = +build_property.CsWinRTUseWindowsUIXamlProjections = false +build_property.EffectiveAnalysisLevelStyle = +build_property.EnableCodeStyleSeverity = diff --git a/ScoreboardTweaks/obj/Debug/netstandard2.1/ScoreboardTweaks.assets.cache b/ScoreboardTweaks/obj/Debug/netstandard2.1/ScoreboardTweaks.assets.cache new file mode 100644 index 0000000..086b0b2 Binary files /dev/null and b/ScoreboardTweaks/obj/Debug/netstandard2.1/ScoreboardTweaks.assets.cache differ diff --git a/ScoreboardTweaks/obj/Debug/netstandard2.1/ScoreboardTweaks.csproj.AssemblyReference.cache b/ScoreboardTweaks/obj/Debug/netstandard2.1/ScoreboardTweaks.csproj.AssemblyReference.cache new file mode 100644 index 0000000..191f4a6 Binary files /dev/null and b/ScoreboardTweaks/obj/Debug/netstandard2.1/ScoreboardTweaks.csproj.AssemblyReference.cache differ diff --git a/ScoreboardTweaks/obj/Debug/netstandard2.1/ScoreboardTweaks.csproj.CoreCompileInputs.cache b/ScoreboardTweaks/obj/Debug/netstandard2.1/ScoreboardTweaks.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..1aca56d --- /dev/null +++ b/ScoreboardTweaks/obj/Debug/netstandard2.1/ScoreboardTweaks.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +a20297aedb453b4807637c2a980afee895c5ff122760dd098c562f45c8d6572e diff --git a/ScoreboardTweaks/obj/Debug/netstandard2.1/ScoreboardTweaks.csproj.FileListAbsolute.txt b/ScoreboardTweaks/obj/Debug/netstandard2.1/ScoreboardTweaks.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..d0c9eb1 --- /dev/null +++ b/ScoreboardTweaks/obj/Debug/netstandard2.1/ScoreboardTweaks.csproj.FileListAbsolute.txt @@ -0,0 +1,160 @@ +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\obj\Debug\netstandard2.1\ScoreboardTweaks.csproj.AssemblyReference.cache +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\obj\Debug\netstandard2.1\ScoreboardTweaks.GeneratedMSBuildEditorConfig.editorconfig +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\obj\Debug\netstandard2.1\ScoreboardTweaks.AssemblyInfoInputs.cache +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\obj\Debug\netstandard2.1\ScoreboardTweaks.AssemblyInfo.cs +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\obj\Debug\netstandard2.1\ScoreboardTweaks.csproj.CoreCompileInputs.cache +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\ScoreboardTweaks.deps.json +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\ScoreboardTweaks.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\ScoreboardTweaks.pdb +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\0Harmony.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Assembly-CSharp.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\BepInEx.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\PhotonRealtime.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\PhotonUnityNetworking.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Unity.TextMeshPro.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.CoreModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.ImageConversionModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.PhysicsModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.UI.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Mono.Cecil.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\MonoMod.Utils.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\MonoMod.RuntimeDetour.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.XRModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.AudioModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Fusion.Common.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\PlayFab.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Sirenix.OdinInspector.Attributes.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Fusion.Runtime.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\ZString.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Unity.Mathematics.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.AnimationModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.ParticleSystemModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\AstarPathfindingProject.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.DirectorModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.AIModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Photon3Unity3D.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Oculus.Platform.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.UnityWebRequestModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Newtonsoft.Json.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Unity.ResourceManager.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Unity.RenderPipelines.Core.Runtime.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.TextRenderingModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\ALINE.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Unity.Splines.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Fusion.Sockets.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Oculus.VR.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\PhotonVoice.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\PhotonVoice.API.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Unity.XR.Interaction.Toolkit.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Unity.Burst.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\LIV.LCK_GorillaTag.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\LIV.LCK.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Fusion.Unity.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Fusion.Realtime.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\PhotonVoice.Fusion.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\com.rlabrecque.steamworks.net.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\PhotonVoice.PUN.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.AndroidJNIModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.VideoModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.UIModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\AA.Mothership.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\KID.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\nexus.nexussdk.Runtime.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\modio.UnityPlugin.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Cinemachine.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Unity.Collections.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Unity.XR.CoreUtils.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\GT_CustomMapSupportRuntime.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.AssetBundleModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Unity.AI.Navigation.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Unity.XR.OpenVR.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Backtrace.Unity.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Assembly-CSharp-firstpass.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.Physics2DModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.TilemapModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Unity.Addressables.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Unity.InputSystem.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.InputLegacyModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\SteamVR_Actions.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\SteamVR.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Unity.Animation.Rigging.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.JSONSerializeModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\VoiceSDK.Runtime.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.VRModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.SubsystemsModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\System.Runtime.CompilerServices.Unsafe.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Unity.RenderPipelines.Universal.Runtime.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Unity.ProBuilder.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\BakeryRuntimeAssembly.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.TerrainModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.IMGUIModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.UnityWebRequestTextureModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.TextCoreFontEngineModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.DSPGraphModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.UnityCurlModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.ContentLoadModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.PropertiesModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.TLSModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.AccessibilityModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.UnityConnectModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.UnityAnalyticsModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.UnityAnalyticsCommonModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.PerformanceReportingModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.SharedInternalsModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.ClothModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.ClusterInputModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.ClusterRendererModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.CrashReportingModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.VFXModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.GridModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.LocalizationModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.UnityWebRequestAssetBundleModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.UnityWebRequestAudioModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.UnityWebRequestWWWModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.NVIDIAModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.VirtualTexturingModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.ScreenCaptureModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.GameCenterModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.SpriteMaskModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.StreamingModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.TerrainPhysicsModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.TextCoreTextEngineModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.SpriteShapeModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.UIElementsModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.VehiclesModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.WindModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.ARModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.InputModule.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Fusion.Log.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Pathfinding.Ionic.Zip.Reduced.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Pathfinding.ClipperLib.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Pathfinding.Poly2Tri.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Unity.Profiling.Core.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\NanoSockets.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\UnityEngine.SpatialTracking.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Unity.Burst.Unsafe.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\LIV.NativeAudioBridge.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\NativeGallery.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\endel.nativewebsocket.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Unity.Timeline.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Unity.Collections.LowLevel.ILSupport.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Unity.XR.Management.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Valve.Newtonsoft.Json.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Meta.WitAi.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\AssistantCoreSDKRuntime.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Meta.WitAi.Lib.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Meta.WitAi.TTS.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Unity.RenderPipeline.Universal.ShaderLibrary.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Unity.ProBuilder.Poly2Tri.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Unity.ProBuilder.KdTree.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Meta.VoiceSDK.Mic.Common.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Meta.WitAi.Conduit.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\Meta.VoiceSDK.Mic.Other.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\0Harmony.xml +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\BepInEx.xml +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\MonoMod.Utils.xml +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\bin\Debug\netstandard2.1\MonoMod.RuntimeDetour.xml +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\obj\Debug\netstandard2.1\Scoreboa.0905397B.Up2Date +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\obj\Debug\netstandard2.1\ScoreboardTweaks.dll +C:\Users\gayfe\Downloads\ScoreboardTweaks-main\ScoreboardTweaks\obj\Debug\netstandard2.1\ScoreboardTweaks.pdb diff --git a/ScoreboardTweaks/obj/Debug/netstandard2.1/ScoreboardTweaks.dll b/ScoreboardTweaks/obj/Debug/netstandard2.1/ScoreboardTweaks.dll new file mode 100644 index 0000000..c0fb44b Binary files /dev/null and b/ScoreboardTweaks/obj/Debug/netstandard2.1/ScoreboardTweaks.dll differ diff --git a/ScoreboardTweaks/obj/Debug/netstandard2.1/ScoreboardTweaks.pdb b/ScoreboardTweaks/obj/Debug/netstandard2.1/ScoreboardTweaks.pdb new file mode 100644 index 0000000..c5dd395 Binary files /dev/null and b/ScoreboardTweaks/obj/Debug/netstandard2.1/ScoreboardTweaks.pdb differ diff --git a/ScoreboardTweaks/obj/ScoreboardTweaks.csproj.nuget.dgspec.json b/ScoreboardTweaks/obj/ScoreboardTweaks.csproj.nuget.dgspec.json new file mode 100644 index 0000000..820445c --- /dev/null +++ b/ScoreboardTweaks/obj/ScoreboardTweaks.csproj.nuget.dgspec.json @@ -0,0 +1,73 @@ +{ + "format": 1, + "restore": { + "C:\\Users\\gayfe\\Downloads\\ScoreboardTweaks-main\\ScoreboardTweaks\\ScoreboardTweaks.csproj": {} + }, + "projects": { + "C:\\Users\\gayfe\\Downloads\\ScoreboardTweaks-main\\ScoreboardTweaks\\ScoreboardTweaks.csproj": { + "version": "1.2.0", + "restore": { + "projectUniqueName": "C:\\Users\\gayfe\\Downloads\\ScoreboardTweaks-main\\ScoreboardTweaks\\ScoreboardTweaks.csproj", + "projectName": "ScoreboardTweaks", + "projectPath": "C:\\Users\\gayfe\\Downloads\\ScoreboardTweaks-main\\ScoreboardTweaks\\ScoreboardTweaks.csproj", + "packagesPath": "C:\\Users\\gayfe\\.nuget\\packages\\", + "outputPath": "C:\\Users\\gayfe\\Downloads\\ScoreboardTweaks-main\\ScoreboardTweaks\\obj\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" + ], + "configFilePaths": [ + "C:\\Users\\gayfe\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "netstandard2.1" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "netstandard2.1": { + "targetAlias": "netstandard2.1", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + }, + "restoreAuditProperties": { + "enableAudit": "true", + "auditLevel": "low", + "auditMode": "direct" + }, + "SdkAnalysisLevel": "9.0.200" + }, + "frameworks": { + "netstandard2.1": { + "targetAlias": "netstandard2.1", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "NETStandard.Library": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.200\\RuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/ScoreboardTweaks/obj/ScoreboardTweaks.csproj.nuget.g.props b/ScoreboardTweaks/obj/ScoreboardTweaks.csproj.nuget.g.props new file mode 100644 index 0000000..8623577 --- /dev/null +++ b/ScoreboardTweaks/obj/ScoreboardTweaks.csproj.nuget.g.props @@ -0,0 +1,16 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + $(UserProfile)\.nuget\packages\ + C:\Users\gayfe\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages + PackageReference + 6.13.2 + + + + + + \ No newline at end of file diff --git a/ScoreboardTweaks/obj/ScoreboardTweaks.csproj.nuget.g.targets b/ScoreboardTweaks/obj/ScoreboardTweaks.csproj.nuget.g.targets new file mode 100644 index 0000000..35a7576 --- /dev/null +++ b/ScoreboardTweaks/obj/ScoreboardTweaks.csproj.nuget.g.targets @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/ScoreboardTweaks/obj/project.assets.json b/ScoreboardTweaks/obj/project.assets.json new file mode 100644 index 0000000..94160ab --- /dev/null +++ b/ScoreboardTweaks/obj/project.assets.json @@ -0,0 +1,79 @@ +{ + "version": 3, + "targets": { + ".NETStandard,Version=v2.1": {} + }, + "libraries": {}, + "projectFileDependencyGroups": { + ".NETStandard,Version=v2.1": [] + }, + "packageFolders": { + "C:\\Users\\gayfe\\.nuget\\packages\\": {}, + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {} + }, + "project": { + "version": "1.2.0", + "restore": { + "projectUniqueName": "C:\\Users\\gayfe\\Downloads\\ScoreboardTweaks-main\\ScoreboardTweaks\\ScoreboardTweaks.csproj", + "projectName": "ScoreboardTweaks", + "projectPath": "C:\\Users\\gayfe\\Downloads\\ScoreboardTweaks-main\\ScoreboardTweaks\\ScoreboardTweaks.csproj", + "packagesPath": "C:\\Users\\gayfe\\.nuget\\packages\\", + "outputPath": "C:\\Users\\gayfe\\Downloads\\ScoreboardTweaks-main\\ScoreboardTweaks\\obj\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" + ], + "configFilePaths": [ + "C:\\Users\\gayfe\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "netstandard2.1" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "netstandard2.1": { + "targetAlias": "netstandard2.1", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + }, + "restoreAuditProperties": { + "enableAudit": "true", + "auditLevel": "low", + "auditMode": "direct" + }, + "SdkAnalysisLevel": "9.0.200" + }, + "frameworks": { + "netstandard2.1": { + "targetAlias": "netstandard2.1", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "NETStandard.Library": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.200\\RuntimeIdentifierGraph.json" + } + } + } +} \ No newline at end of file diff --git a/ScoreboardTweaks/obj/project.nuget.cache b/ScoreboardTweaks/obj/project.nuget.cache new file mode 100644 index 0000000..cc54193 --- /dev/null +++ b/ScoreboardTweaks/obj/project.nuget.cache @@ -0,0 +1,8 @@ +{ + "version": 2, + "dgSpecHash": "bmC117UBP4c=", + "success": true, + "projectFilePath": "C:\\Users\\gayfe\\Downloads\\ScoreboardTweaks-main\\ScoreboardTweaks\\ScoreboardTweaks.csproj", + "expectedPackageFiles": [], + "logs": [] +} \ No newline at end of file