コード例 #1
0
        /// <summary>
        /// Sends a picture notification to the current player without player name.
        /// </summary>
        /// <param name="msg"></param>
        public static void SendPicNotification(string title, string sender, string msg, NotifyChar notifyChar, int icon = 0, bool flash = false, int textCol = -1, int bgCol = -1, int[]
                                               flashCol = null)
        {
            var pic = notifyChar.ToString();

            SendPicNotification(title, sender, msg, pic, icon, flash, textCol, bgCol, flashCol);
        }
コード例 #2
0
 /// <summary>
 /// Quick way to send pic notification
 /// </summary>
 /// <param name="message"></param>
 /// <param name="title"></param>
 /// <param name="notifyChar"></param>
 protected virtual void NotifyPic(string message, string title = "Title", NotifyChar notifyChar = NotifyChar.CHAR_BRYONY)
 {
     UiHelper.SendPicNotification(title, Name, message, notifyChar: notifyChar);
 }