From f1d7eeab0856a3fac0173f3382f1bc41068987a4 Mon Sep 17 00:00:00 2001 From: ChanyaKushima <63221603+ChanyaVRC@users.noreply.github.com> Date: Sun, 4 Dec 2022 13:09:18 +0900 Subject: [PATCH] Fixed the issue addresses for chatbox are changeable. --- src/VRCOscLib/VRCOscLib/Chatbox/OscChatbox.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/VRCOscLib/VRCOscLib/Chatbox/OscChatbox.cs b/src/VRCOscLib/VRCOscLib/Chatbox/OscChatbox.cs index 05db6e9..921885f 100644 --- a/src/VRCOscLib/VRCOscLib/Chatbox/OscChatbox.cs +++ b/src/VRCOscLib/VRCOscLib/Chatbox/OscChatbox.cs @@ -5,8 +5,9 @@ namespace BuildSoft.VRChat.Osc.Chatbox; public static class OscChatbox { - public static string InputAddress = "/chatbox/input"; - public static string TypingAddress = "/chatbox/typing"; + public static readonly string InputAddress = "/chatbox/input"; + public static readonly string TypingAddress = "/chatbox/typing"; + public static void SendMessage(string message, bool direct, bool complete = false) { OscClient client = OscUtility.Client;