// Hides the overlay using the auto-hide feature.
 public static void SendHideShowMessage(Boolean hide)
 {
     MessageManager.AddPendingEvent(
         1,
         new object[] { hide }
         );
 }
 // Pushes a setting to the overlay DLL.
 public static void SendSetting(String name, object value)
 {
     MessageManager.AddPendingEvent(
         2,
         new object[] { name, value }
         );
 }
        // Appends a message to the in-game overlay.
        public static void SendMessage(String sender, String message)
        {
            MessageManager.AddPendingEvent(
                0,
                new object[] { sender, message }
                );

            //Console.WriteLine(DotaDXInject.EventHandler.PendingEvents.Count);
        }