public static Vector2 DrawColorCodedStringWithShadow(SpriteBatch spriteBatch, DynamicSpriteFont font,
                                                      TextSnippet[] snippets, Vector2 position, float rotation, Vector2 origin, Vector2 baseScale,
                                                      out int hoveredSnippet, float maxWidth = -1f, float spread = 2f)
 {
     ChatManager.DrawColorCodedStringShadow(spriteBatch, font, snippets, position, Color.Black, rotation, origin,
                                            baseScale, maxWidth, spread);
     return(ChatManager.DrawColorCodedString(spriteBatch, font, snippets, position, Color.White, rotation,
                                             origin, baseScale, out hoveredSnippet, maxWidth, false));
 }
        public static Vector2 DrawColorCodedStringWithShadow(SpriteBatch spriteBatch, DynamicSpriteFont font, string text, Vector2 position, Color baseColor, float rotation, Vector2 origin, Vector2 baseScale, float maxWidth = -1f, float spread = 2f)
        {
            TextSnippet[] array = ChatManager.ParseMessage(text, baseColor).ToArray();
            ChatManager.ConvertNormalSnippets(array);
            ChatManager.DrawColorCodedStringShadow(spriteBatch, font, array, position, Color.Black, rotation, origin, baseScale, maxWidth, spread);
            int hoveredSnippet;

            return(ChatManager.DrawColorCodedString(spriteBatch, font, array, position, Color.White, rotation, origin, baseScale, out hoveredSnippet, maxWidth, false));
        }