📄 chatusernameargs.cs
字号:
using System;
using System.Collections.Generic;
using System.Text;
namespace GPCore.Args
{
/// <summary>
/// An EventArgs that is used for chatroom entered/leave events that contains the chatroomID
/// and the username of the person who just left/joined.
/// </summary>
public class ChatUsernameArgs : UsernameEventArgs
{
private int chatid;
/// <summary>
/// The Unique ID of the chatroom where this happened.
/// </summary>
public int ChatID
{
get { return chatid; }
}
/// <summary>
/// Creates a new ChatUsernameArgs
/// </summary>
/// <param name="chatID">The Unique of the chatroom.</param>
/// <param name="username">The username of the account that changed.</param>
public ChatUsernameArgs(int chatID, string username)
: base(username)
{
this.chatid = chatID;
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -