Skip to content

Commit 3238590

Browse files
committed
一部分NativeAPI和一部分Milky
1 parent 8f742c6 commit 3238590

File tree

14 files changed

+237
-3
lines changed

14 files changed

+237
-3
lines changed

docs/v2/.vitepress/catalogue.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,15 @@ export const milkySidebar = {
2727
{
2828
text: "Lagrange.Milky",
2929
link: "/Lagrange.Milky/",
30+
},
31+
{
32+
text: "快速开始",
33+
items: [
34+
{
35+
text: "快速开始 & 配置",
36+
link: "/Lagrange.Milky/Config/",
37+
}
38+
]
3039
}
3140
],
3241
}

docs/v2/.vitepress/nav.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ export const milkyNav = {
2626
{
2727
text: "Lagrange.Milky",
2828
link: "/Lagrange.Milky/",
29-
}
29+
},
30+
{
31+
text: "快速开始",
32+
link: "/Lagrange.Milky/Config/",
33+
},
3034
],
3135
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# BotConfigStruct
2+
3+
| 字段名 | 类型 | 默认值 | 说明 |
4+
|-------------------|------|-------------|-----------------|
5+
| Protocol | byte | 0b00000100 | 协议标识位,默认为Linux |
6+
| AutoReconnect | bool | true | 是否自动重连 |
7+
| UseIPv6Network | bool | false | 是否使用 IPv6 网络 |
8+
| GetOptimumServer | bool | true | 是否获取最优服务器 |
9+
| HighwayChunkSize | uint | 1024 * 1024 | Highway的块大小(字节) |
10+
| HighwayConcurrent | uint | 4 | Highway并发数量 |
11+
| AutoReLogin | bool | true | 是否自动重新登录 |
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# BotFriendCategoryStruct
2+
3+
| 字段名 | 类型 | 默认值 | 说明 |
4+
|--------|-----------------|-----|------------|
5+
| Id | int | 0 | 分组 ID |
6+
| Name | ByteArrayNative || 分组名称(字节表示) |
7+
| Count | int | 0 | 分组内好友数量 |
8+
| SortId | int | 0 | 分组排序 ID |
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# BotKeystoreStruct
2+
3+
| 字段名 | 类型 | 默认值 | 说明 |
4+
|--------------------|---------------------|----------|--------------|
5+
| Uin | long | 0 | 用户 UIN(QQ号) |
6+
| Uid | ByteArrayNative | new() | 用户唯一标识符 |
7+
| Guid | ByteArrayNative | new() | 设备 GUID |
8+
| AndroidId | ByteArrayNative | new() | Android ID |
9+
| Qimei | ByteArrayNative | new() | 设备 QIMEI 号 |
10+
| DeviceName | ByteArrayNative | new() | 设备名称 |
11+
| A2 | ByteArrayNative | new() | 登录凭证 A2 |
12+
| A2Key | ByteArrayNative | byte[16] | A2 的密钥 |
13+
| D2 | ByteArrayNative | new() | 登录凭证 D2 |
14+
| D2Key | ByteArrayNative | byte[16] | D2 的密钥 |
15+
| A1 | ByteArrayNative | new() | 登录凭证 A1 |
16+
| A1Key | ByteArrayNative | byte[16] | A1 的密钥 |
17+
| NoPicSig | ByteArrayNative | new() | 无图验证码签名 |
18+
| TgtgtKey | ByteArrayNative | new() | TGTGT 加密密钥 |
19+
| Ksid | ByteArrayNative | new() | 会话 ID |
20+
| SuperKey | ByteArrayNative | new() | 超级登录密钥 |
21+
| StKey | ByteArrayNative | new() | ST 密钥 |
22+
| StWeb | ByteArrayNative | new() | Web ST 密钥 |
23+
| St | ByteArrayNative | new() | ST 凭证 |
24+
| WtSessionTicket | ByteArrayNative | new() | WtSession 凭证 |
25+
| WtSessionTicketKey | ByteArrayNative | new() | WtSession 密钥 |
26+
| RandomKey | ByteArrayNative | byte[16] | 会话随机密钥 |
27+
| SKey | ByteArrayNative | new() | SKey 密钥 |
28+
| PsKey | ByteArrayDictNative | new() | PsKey 表 |
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# ByteArrayDictNative
2+
3+
| 字段名 | 类型 | 说明 |
4+
|--------|--------|--------------|
5+
| Length | int | 字典中键值对的数量 |
6+
| Data | IntPtr | 指向实际键值对数组的指针 |
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# ByteArrayKVPNative
2+
3+
| 字段名 | 类型 | 说明 |
4+
|-------|-----------------|----------|
5+
| Key | ByteArrayNative | 字节数组形式的键 |
6+
| Value | ByteArrayNative | 字节数组形式的值 |
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# NativeByteArray
2+
3+
Byte[]的封送类型,指针需要送回给NativeAPI释放
4+
5+
| 字段名 | 类型 | 说明 |
6+
|--------|--------|-----------|
7+
| Length | int | 字节数组的长度 |
8+
| Data | IntPtr | 指向字节数据的指针 |
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# 基本类型
2+
3+
这里包含了消息与事件以外的Core类型,以及为了封送必要的类型
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# BotCaptchaEventStruct
2+
3+
| 字段名 | 类型 | 默认值 | 说明 |
4+
|------------|-----------------|-------|----------|
5+
| CaptchaUrl | ByteArrayNative | new() | 验证码图片URL |

0 commit comments

Comments
 (0)