This repository has been archived by the owner on Dec 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v1.0.0-Beta
- Loading branch information
Showing
30 changed files
with
2,151 additions
and
431 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -340,4 +340,5 @@ ASALocalRun/ | |
healthchecksdb | ||
DevIcon.* | ||
Test | ||
nuget.config | ||
nuget.config | ||
*.cd |
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
AuroraNative/EventArgs/Basic/Device.cs → AuroraNative/Abstract/Device.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace AuroraNative | ||
{ | ||
/// <summary> | ||
/// 精华消息 抽象类 | ||
/// </summary> | ||
public sealed class Essences | ||
{ | ||
#region --属性-- | ||
|
||
/// <summary> | ||
/// 发送者QQ 号 | ||
/// </summary> | ||
[JsonProperty(PropertyName = "sender_id")] | ||
public long SenderID { get; private set; } | ||
|
||
/// <summary> | ||
/// 发送者昵称 | ||
/// </summary> | ||
[JsonProperty(PropertyName = "sender_nick")] | ||
public string SenderNickName { get; private set; } | ||
|
||
/// <summary> | ||
/// 消息发送时间 | ||
/// </summary> | ||
[JsonProperty(PropertyName = "sender_time")] | ||
public string SenderTime { get; private set; } | ||
|
||
/// <summary> | ||
/// 操作者QQ 号 | ||
/// </summary> | ||
[JsonProperty(PropertyName = "operator_id")] | ||
public string OperatorID { get; private set; } | ||
|
||
/// <summary> | ||
/// 操作者昵称 | ||
/// </summary> | ||
[JsonProperty(PropertyName = "operator_nick")] | ||
public string OperatorNickName { get; private set; } | ||
|
||
/// <summary> | ||
/// 精华设置时间 | ||
/// </summary> | ||
[JsonProperty(PropertyName = "operator_time")] | ||
public string OperatorTime { get; private set; } | ||
|
||
/// <summary> | ||
/// 消息ID | ||
/// </summary> | ||
[JsonProperty(PropertyName = "message_id")] | ||
public string MessageID { get; private set; } | ||
|
||
#endregion | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace AuroraNative | ||
{ | ||
/// <summary> | ||
/// 群文件 抽象类 | ||
/// </summary> | ||
public sealed class File | ||
{ | ||
#region --属性-- | ||
|
||
/// <summary> | ||
/// 文件ID | ||
/// </summary> | ||
[JsonProperty(PropertyName = "file_id")] | ||
public string FileID; | ||
|
||
/// <summary> | ||
/// 文件名称 | ||
/// </summary> | ||
[JsonProperty(PropertyName = "file_name")] | ||
public string FileName; | ||
|
||
/// <summary> | ||
/// 文件类型 | ||
/// </summary> | ||
[JsonProperty(PropertyName = "busid")] | ||
public long BusID; | ||
|
||
/// <summary> | ||
/// 文件大小 | ||
/// </summary> | ||
[JsonProperty(PropertyName = "file_size")] | ||
public long FileSize; | ||
|
||
/// <summary> | ||
/// 上传时间 | ||
/// </summary> | ||
[JsonProperty(PropertyName = "upload_time")] | ||
public string UploadTime; | ||
|
||
/// <summary> | ||
/// 过期时间,永久为零 | ||
/// </summary> | ||
[JsonProperty(PropertyName = "dead_time")] | ||
public int DeadTime; | ||
|
||
/// <summary> | ||
/// 最后修改时间 | ||
/// </summary> | ||
[JsonProperty(PropertyName = "modify_time")] | ||
public int ModifyTime; | ||
|
||
/// <summary> | ||
/// 下载次数 | ||
/// </summary> | ||
[JsonProperty(PropertyName = "download_times")] | ||
public int DownloadsCount; | ||
|
||
/// <summary> | ||
/// 上传者ID | ||
/// </summary> | ||
[JsonProperty(PropertyName = "uploader")] | ||
public int Uploader; | ||
|
||
/// <summary> | ||
/// 上传者名字 | ||
/// </summary> | ||
[JsonProperty(PropertyName = "uploader_name")] | ||
public int UploaderName; | ||
|
||
#endregion | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace AuroraNative | ||
{ | ||
/// <summary> | ||
/// 群文件夹 抽象类 | ||
/// </summary> | ||
public sealed class Folder | ||
{ | ||
#region --属性-- | ||
|
||
/// <summary> | ||
/// 文件夹ID | ||
/// </summary> | ||
[JsonProperty(PropertyName = "folder_id")] | ||
public string FolderID; | ||
|
||
/// <summary> | ||
/// 文件夹名称 | ||
/// </summary> | ||
[JsonProperty(PropertyName = "folder_name")] | ||
public string FolderName; | ||
|
||
/// <summary> | ||
/// 创建时间 | ||
/// </summary> | ||
[JsonProperty(PropertyName = "create_time")] | ||
public long CreateTime; | ||
|
||
/// <summary> | ||
/// 创建者 | ||
/// </summary> | ||
[JsonProperty(PropertyName = "creator")] | ||
public long Creator; | ||
|
||
/// <summary> | ||
/// 创建者名称 | ||
/// </summary> | ||
[JsonProperty(PropertyName = "creator_name")] | ||
public string CreatoName; | ||
|
||
/// <summary> | ||
/// 子文件数量 | ||
/// </summary> | ||
[JsonProperty(PropertyName = "total_file_count")] | ||
public int TotalFilesCount; | ||
|
||
#endregion | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace AuroraNative | ||
{ | ||
/// <summary> | ||
/// 群成员信息 抽象类 | ||
/// </summary> | ||
public sealed class GroupMember | ||
{ | ||
#region --属性-- | ||
|
||
/// <summary> | ||
/// 群号 | ||
/// </summary> | ||
[JsonProperty(PropertyName = "group_id", NullValueHandling = NullValueHandling.Include)] | ||
public long GroupID; | ||
|
||
/// <summary> | ||
/// QQ号 | ||
/// </summary> | ||
[JsonProperty(PropertyName = "user_id", NullValueHandling = NullValueHandling.Include)] | ||
public long UserID; | ||
|
||
/// <summary> | ||
/// 昵称 | ||
/// </summary> | ||
[JsonProperty(PropertyName = "nickname", NullValueHandling = NullValueHandling.Include)] | ||
public string NickName; | ||
|
||
/// <summary> | ||
/// 群名片 | ||
/// </summary> | ||
[JsonProperty(PropertyName = "card", NullValueHandling = NullValueHandling.Include)] | ||
public string Card; | ||
|
||
/// <summary> | ||
/// 现在人数 | ||
/// </summary> | ||
[JsonProperty(PropertyName = "sex", NullValueHandling = NullValueHandling.Include)] | ||
public string Sex; | ||
|
||
/// <summary> | ||
/// 最大人数 | ||
/// </summary> | ||
[JsonProperty(PropertyName = "age", NullValueHandling = NullValueHandling.Include)] | ||
public int MaxMemberCount; | ||
|
||
/// <summary> | ||
/// 地区 | ||
/// </summary> | ||
[JsonProperty(PropertyName = "area", NullValueHandling = NullValueHandling.Include)] | ||
public string Area; | ||
|
||
/// <summary> | ||
/// 加群时间戳 | ||
/// </summary> | ||
[JsonProperty(PropertyName = "join_time", NullValueHandling = NullValueHandling.Include)] | ||
public int JoinTime; | ||
|
||
/// <summary> | ||
/// 最后发言时间戳 | ||
/// </summary> | ||
[JsonProperty(PropertyName = "last_sent_time", NullValueHandling = NullValueHandling.Include)] | ||
public int LastSentTime; | ||
|
||
/// <summary> | ||
/// 成员等级 | ||
/// </summary> | ||
[JsonProperty(PropertyName = "level", NullValueHandling = NullValueHandling.Include)] | ||
public int Level; | ||
|
||
/// <summary> | ||
/// 角色 | ||
/// </summary> | ||
[JsonProperty(PropertyName = "role", NullValueHandling = NullValueHandling.Include)] | ||
public int Role; | ||
|
||
/// <summary> | ||
/// 是否不良记录成员 | ||
/// </summary> | ||
[JsonProperty(PropertyName = "unfriendly", NullValueHandling = NullValueHandling.Include)] | ||
public bool UnFriendly; | ||
|
||
/// <summary> | ||
/// 专属头衔 | ||
/// </summary> | ||
[JsonProperty(PropertyName = "title", NullValueHandling = NullValueHandling.Include)] | ||
public string ExclusiveTitle; | ||
|
||
/// <summary> | ||
/// 专属头衔过期时间戳 | ||
/// </summary> | ||
[JsonProperty(PropertyName = "title_expire_time", NullValueHandling = NullValueHandling.Include)] | ||
public long ExclusiveTitleTime; | ||
|
||
/// <summary> | ||
/// 是否允许修改群名片 | ||
/// </summary> | ||
[JsonProperty(PropertyName = "card_changeable", NullValueHandling = NullValueHandling.Include)] | ||
public bool IsChangeCard; | ||
|
||
#endregion | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace AuroraNative | ||
{ | ||
/// <summary> | ||
/// 群组 抽象类 | ||
/// </summary> | ||
public sealed class Groups | ||
{ | ||
#region --属性-- | ||
|
||
/// <summary> | ||
/// 群号 | ||
/// </summary> | ||
[JsonProperty(PropertyName = "group_id")] | ||
public long GroupID; | ||
|
||
/// <summary> | ||
/// 群名称 | ||
/// </summary> | ||
[JsonProperty(PropertyName = "group_name")] | ||
public string GroupName; | ||
|
||
/// <summary> | ||
/// 现在人数 | ||
/// </summary> | ||
[JsonProperty(PropertyName = "member_count")] | ||
public int MemberCount; | ||
|
||
/// <summary> | ||
/// 最大人数 | ||
/// </summary> | ||
[JsonProperty(PropertyName = "max_member_count")] | ||
public int MaxMemberCount; | ||
|
||
#endregion | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace AuroraNative | ||
{ | ||
/// <summary> | ||
/// 群荣誉详细信息 抽象类 | ||
/// </summary> | ||
public sealed class HonorListInfo | ||
{ | ||
#region --属性-- | ||
|
||
/// <summary> | ||
/// QQ号 | ||
/// </summary> | ||
[JsonProperty(PropertyName = "user_id")] | ||
public long UserID; | ||
|
||
/// <summary> | ||
/// 昵称 | ||
/// </summary> | ||
[JsonProperty(PropertyName = "nickname")] | ||
public string NickName; | ||
|
||
/// <summary> | ||
/// 头像URL | ||
/// </summary> | ||
[JsonProperty(PropertyName = "avatar")] | ||
public string Avater; | ||
|
||
/// <summary> | ||
/// 荣誉描述 | ||
/// </summary> | ||
[JsonProperty(PropertyName = "description", NullValueHandling = NullValueHandling.Ignore)] | ||
public string Description; | ||
|
||
/// <summary> | ||
/// 持续天数 | ||
/// </summary> | ||
[JsonProperty(PropertyName = "day_count", NullValueHandling = NullValueHandling.Ignore)] | ||
public string DayCount; | ||
|
||
#endregion | ||
} | ||
} |
Oops, something went wrong.