Example #1
0
 public void HandlerAskForChat(object o, AskForChatEventArgs e)
 {
     if (ChatAsked != null)
     {
         ChatAsked(this, e);
     }
 }
Example #2
0
        protected virtual void OnAskForChat(int roomId, string creator, List <string> users)
        {
            AskForChatEventArgs e = new AskForChatEventArgs();

            e.roomId   = roomId;
            e.creator  = creator;
            e.userList = users;

            if (ChatAsked != null)
            {
                ChatAsked(this, e);
            }
        }