wdvxdr
96d46f63d2
client: remove payload parameter in decoder function
...
replace with (*network.Packet).Payload
2023-02-11 20:49:33 +08:00
wdvxdr
733944693c
client/internal/network: unify IncomingPacket&IncomingPacketInfo
2023-02-11 17:03:35 +08:00
wdvxdr
e9f4d33002
client: don't use math/rand.Read
...
This function has been deprecated.
2023-02-10 21:03:21 +08:00
wdvxdr
5b616d65f7
all: adapt new proto2 api
2022-05-24 09:59:58 +08:00
Mrs4s
4164d656d8
fix: temporary fix qidian protocol panic
2022-05-10 18:20:23 +08:00
Mrs4s
27c591e3cb
fix: update qidian protocol version
2022-05-10 04:03:08 +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
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
ec4cd4a6f3
style: internal/proto
...
use this package for conveniently replacing proto package
in the future.
2021-11-22 22:05:19 +08:00
wdvxdr
7b125259d6
style: sort imports
2021-11-12 23:43:22 +08:00
github-actions[bot]
89b2d4e2ba
ci(chore): Fix stylings
2021-11-01 18:45:12 +00:00
Mrs4s
2350d04f0f
style: rename package protocol to internal
2021-11-02 02:44:20 +08:00
Mrs4s
d6a47cb6c0
feat: customize the device by client.
2021-07-17 22:24:53 +08:00
wdvxdr
7fe0b873c3
fix some issue with golangci-lint.
2021-07-15 21:33:30 +08:00
wdvxdr
4aa87a8ab8
dep: remove github.com/golang/protobuf
2021-06-11 14:23:46 +08:00
github-actions[bot]
56a3a9a9df
ci(chore): Fix stylings
2021-05-03 06:44:50 +00:00
Mrs4s
f2530cc66b
feat: qidian protocol support.
2021-05-03 14:43:39 +08:00