📄 ipresence.cs
字号:
using System;
using System.Collections.Generic;
using System.Text;
namespace GPCore.Protocols
{
/// <summary>
/// An interface to extent IProtocol to allow for Presence information.
/// </summary>
public interface IPresence : IProtocol
{
/// <summary>
/// The user's presence information.
/// </summary>
string Status { get;set;}
/// <summary>
/// Returns the type of Presence Types for this protocol
/// </summary>
/// <example>
/// <code>
/// string[] PresenceTypes
/// {
/// get { return new string[] { "Available", "Away", "Offline" }; }
/// }
/// </code>
/// </example>
string[] PresenceTypes { get;}
/// <summary>
/// Requests the presence information of the given account.
/// </summary>
void GetStatus(String Username);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -