1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-04 11:07:40 +08:00

60 Commits

Author SHA1 Message Date
wdvxdr
841fef387a internal/proto: re-use map[uint64]any
use slice will cause some panic.
2023-02-11 18:01:19 +08:00
wdvxdr
733944693c client/internal/network: unify IncomingPacket&IncomingPacketInfo 2023-02-11 17:03:35 +08:00
wdvxdr
727686e453 client: fix DynamicMessage usage 2023-02-08 21:23:16 +08:00
wdvxdr
d3b8c5f700 internal/proto: add SInt[32|64]
also simplify some code.
2022-09-25 16:26:53 +08:00
wdvxdr
5b616d65f7
all: adapt new proto2 api 2022-05-24 09:59:58 +08:00
wdvxdr
4a007cfcf9
all: rewrite interface{} to any
generated by `gofmt -w -r 'interface{} -> any' .`
2022-03-17 10:52:03 +08:00
wdvxdr
abb3709a18
client: replace LogEvent with Logger 2022-03-01 22:52:22 +08:00
wdvxdr
d53bf8503e
client/pb: re-generate proto files 2022-02-14 00:51:36 +08:00
wdvxdr
28637c41be
internal/proto: move binary.DynamicProtoMessage to proto.DynamicMessage 2022-02-10 21:56:40 +08:00
wdvxdr
254eef3a5a
internal/oicq: reduce lambda 2021-12-24 14:22:10 +08:00
wdvxdr
d2dc2e472d
client: pack packet by transport 2021-12-22 22:47:00 +08:00
wdvxdr
3e2b57eab5
internal/network: first version of transport send 2021-12-22 20:13:23 +08:00
wdvxdr
6b5ba9f9c4
refactor: move c.nextSeq to c.uniPacket 2021-12-17 23:50:30 +08:00
wdvxdr
1c29ac7d96
refactor: packets.BuildUniPacket -> c.uniPacket
mostly auto-generated by

```
rf '
ex {
    var c QQClient
    var seq uint16
    var payload []byte
    var command string
    BuildUniPacket(c.Uin, seq, command, 1, c.OutGoingPacketSessionId, EmptyBytes, c.sigInfo.d2Key, payload) -> c.uniPacket(seq, command, payload)
}
'
```
2021-12-17 22:58:41 +08:00
wdvxdr
b398cec6a5
refactor: move highway.go to client/internal/highway 2021-12-15 19:13:52 +08:00
Mrs4s
a206b0077c
feat: update FetchGuildMemberProfileInfo api 2021-12-11 02:34:32 +08:00
Mrs4s
8cd25e02fc
feat: FetchGuildMemberListWithRole api 2021-12-08 21:25:33 +08:00
Mrs4s
a2e7548a2b
ref: remove guild FindMember func & remove guild members cache 2021-12-04 18:08:20 +08:00
Mrs4s
5c5e61d279
fix build 2021-11-27 02:04:57 +08:00
Mrs4s
14bb70f1f0
Merge branch 'master' of github.com:/Mrs4s/MiraiGo 2021-11-27 02:02:32 +08:00
Mrs4s
67bf336f22
feat: PostTopicChannelFeed 2021-11-27 02:02:13 +08:00
github-actions[bot]
88279a654a ci(chore): Fix stylings 2021-11-26 17:21:51 +00:00
Mrs4s
8b4b8269f3
feat: GetTopicChannelFeeds 2021-11-27 01:21:04 +08:00
github-actions[bot]
e8e50b5062 ci(chore): Fix stylings 2021-11-26 02:22:51 +00:00
Mrs4s
6514cd144e
protocol: update protobuf files 2021-11-26 10:19:08 +08:00
Mrs4s
797a912b6d
protocol: update protobuf files & save work progress 2021-11-26 09:54:46 +08:00
Mrs4s
4c60c8ee47
Merge branch 'master' of github.com:/Mrs4s/MiraiGo 2021-11-24 00:04:12 +08:00
Mrs4s
9c5515ca9f
fix typo 2021-11-24 00:03:56 +08:00
wdvxdr
ec4cd4a6f3
style: internal/proto
use this package for conveniently replacing proto package
in the future.
2021-11-22 22:05:19 +08:00
Kengxxiao
56d2280cde feat: GetUserRoles 2021-11-21 17:10:44 +08:00
Mrs4s
a807e8ea7e
feat: new channel type 2021-11-21 01:13:01 +08:00
Mrs4s
0329290276
feat: GetGuildMembers page up 2021-11-20 22:42:54 +08:00
Kengxxiao
13d2fd51da fix 2021-11-16 23:48:04 +08:00
Kengxxiao
273dac82f8 remove unused struct 2021-11-16 23:21:41 +08:00
Kengxxiao
870922b5b6 feat: ModifyRoleInGuild 2021-11-16 23:19:05 +08:00
Kengxxiao
5181282bc5 feat: support roles management 2021-11-16 23:03:10 +08:00
Kengxxiao
5ba00392ba add create role packet 2021-11-16 22:10:18 +08:00
Kengxxiao
96489d00f6 add role packet 2021-11-16 20:21:18 +08:00
Mrs4s
c0ade34f1d
fix: panic on get non admin-role-group guild members 2021-11-14 04:53:13 +08:00
Mrs4s
849be61d5a
feat: GuildChannelDestroyedEvent 2021-11-14 04:46:57 +08:00
wdvxdr
7b125259d6
style: sort imports 2021-11-12 23:43:22 +08:00
Mrs4s
e3411adb3d
feat: GuildChannelUpdatedEvent 2021-11-11 19:25:59 +08:00
Mrs4s
e02a9ece6e
fix: missing args 2021-11-11 19:02:04 +08:00
Mrs4s
551a865d9e
protocol: use FetchChannelList to fill channel list field 2021-11-11 18:59:52 +08:00
github-actions[bot]
8de7862072 ci(chore): Fix stylings 2021-11-11 10:52:40 +00:00
Mrs4s
6a525b2f8d
feat: FetchChannelList 2021-11-11 18:51:58 +08:00
Mrs4s
261edb101e
style: use unpackOIDBPackage decode oidb response 2021-11-11 17:57:06 +08:00
github-actions[bot]
68956c83bc ci(chore): Fix stylings 2021-11-11 09:52:54 +00:00
Mrs4s
d7c66bf26a
feat: FetchChannelInfo 2021-11-11 17:51:59 +08:00
Mrs4s
cc17020dab
feat: FindChannel method 2021-11-10 00:59:59 +08:00