mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-31 19:40:24 +08:00
change robot structure
This commit is contained in:
parent
f7541c1934
commit
f257f610fc
@ -137,7 +137,7 @@ class ServerFriendMessageEventPacket(input: DataInputStream, packetId: ByteArray
|
|||||||
@ExperimentalUnsignedTypes
|
@ExperimentalUnsignedTypes
|
||||||
override fun decode() {
|
override fun decode() {
|
||||||
//start at Sep1.0:27
|
//start at Sep1.0:27
|
||||||
qq = input.readInt()
|
qq = input.readInt(0)
|
||||||
val msgLength = input.readShort(22)
|
val msgLength = input.readShort(22)
|
||||||
val fontLength = input.readShort(93+msgLength)
|
val fontLength = input.readShort(93+msgLength)
|
||||||
val offset = msgLength+fontLength
|
val offset = msgLength+fontLength
|
||||||
|
Loading…
Reference in New Issue
Block a user