Пример #1
0
 /// <summary>
 /// コメント受信時に呼ばれる
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 void _host_ReceiveChat(object sender, ankoPlugin2.ReceiveChatEventArgs e)
 {
     if (form.getCheckBox() == true || e.Chat.IsCaster == true)
     {
         giftChecker(e.Chat.IsCaster, e.Chat.Message);
     }
     else
     {
         form.addCommentArray(e.Chat.userinfo.CharaName, e.Chat.Message);
     }
 }
Пример #2
0
 /// <summary>
 /// コメント受信時に呼ばれる
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 void _host_ReceiveChat(object sender, ankoPlugin2.ReceiveChatEventArgs e)
 {
     giftChecker(e.Chat.Name, e.Chat.Message);
 }