Class Eve
Inheritance
object
Eve
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Plugin
Assembly: Plugin.dll
Syntax
public static class Eve
Methods
AddOrUpdateGroupMember(GroupArgs, GroupMemberCollection)
添加或更新群成员
Declaration
public static void AddOrUpdateGroupMember(GroupArgs group, GroupMemberCollection members)
Parameters
Type | Name | Description |
---|---|---|
GroupArgs | group | |
GroupMemberCollection | members |
GetTime(uint)
获取时间
Declaration
public static DateTime GetTime(this uint timespan)
Parameters
Type | Name | Description |
---|---|---|
uint | timespan |
Returns
Type | Description |
---|---|
DateTime |
InitPluginEve()
初始化
Declaration
public static void InitPluginEve()
OnLog(object, string)
触发日志事件
Declaration
public static void OnLog(object t1, string msg)
Parameters
Type | Name | Description |
---|---|---|
object | t1 | |
string | msg |
Events
Log
创建一个静态事件,用于记录日志
Declaration
public static event Action<object, string> Log
Event Type
Type | Description |
---|---|
Action<object, string> |
ReceiveFriendMessage
收到好友信息
Declaration
public static event EventHandler<ReceiveFriendMessageArgs> ReceiveFriendMessage
Event Type
Type | Description |
---|---|
EventHandler<ReceiveFriendMessageArgs> |
ReceiveFriendRevokeMsg
收到好友撤回信息
Declaration
public static event EventHandler<ReceiveFriendMessageArgs> ReceiveFriendRevokeMsg
Event Type
Type | Description |
---|---|
EventHandler<ReceiveFriendMessageArgs> |
ReceiveGroupMemberEnter
收到新人入群
Declaration
public static event EventHandler<ReceiveGroupMemberEnterArgs> ReceiveGroupMemberEnter
Event Type
Type | Description |
---|---|
EventHandler<ReceiveGroupMemberEnterArgs> |
ReceiveGroupMemberQuit
收到成员退群
Declaration
public static event EventHandler<ReceiveGroupMemberQuitArgs> ReceiveGroupMemberQuit
Event Type
Type | Description |
---|---|
EventHandler<ReceiveGroupMemberQuitArgs> |
ReceiveGroupMessage
收到群信息
Declaration
public static event EventHandler<ReceiveGroupMessageArgs> ReceiveGroupMessage
Event Type
Type | Description |
---|---|
EventHandler<ReceiveGroupMessageArgs> |
ReceiveGroupNameChange
收到群名称变化
Declaration
public static event EventHandler<ReceiveGroupNameChangeArgs> ReceiveGroupNameChange
Event Type
Type | Description |
---|---|
EventHandler<ReceiveGroupNameChangeArgs> |
ReceiveGroupRevokeMsg
收到群撤回信息
Declaration
public static event EventHandler<ReceiveGroupMessageArgs> ReceiveGroupRevokeMsg
Event Type
Type | Description |
---|---|
EventHandler<ReceiveGroupMessageArgs> |
ReceiveNewFriend
收到加好友请求
Declaration
public static event EventHandler<ReceiveNewFriendArgs> ReceiveNewFriend
Event Type
Type | Description |
---|---|
EventHandler<ReceiveNewFriendArgs> |
ReceiveOtherDeviceMessage
收入其它设备输入的信息
Declaration
public static event EventHandler<ReceiveOtherDeviceMessageArgs> ReceiveOtherDeviceMessage
Event Type
Type | Description |
---|---|
EventHandler<ReceiveOtherDeviceMessageArgs> |
ReceiveQRCodePay
收到二维码付款信息
Declaration
public static event EventHandler<ReceiveQRCodePayArgs> ReceiveQRCodePay
Event Type
Type | Description |
---|---|
EventHandler<ReceiveQRCodePayArgs> |
ReceiveSystemMessage
收到系统消息
Declaration
public static event EventHandler<ReceiveSystemMessageArgs> ReceiveSystemMessage
Event Type
Type | Description |
---|---|
EventHandler<ReceiveSystemMessageArgs> |