update docs

This commit is contained in:
Him188 2019-10-24 22:25:12 +08:00
parent 550b4e86de
commit 6c6f0a48c7
3 changed files with 12 additions and 2 deletions

View File

@ -6,7 +6,9 @@ kotlin {
fromPreset(presets.jvm, "jvm") fromPreset(presets.jvm, "jvm")
//fromPreset(presets.mingwX64, "mingwX64") //fromPreset(presets.mingwX64, "mingwX64")
} }
jvm() jvm{
withJava()
}
/* /*
mingwX64("mingwX64") { mingwX64("mingwX64") {
@ -82,6 +84,8 @@ kotlin {
}*/ }*/
jvmTest { jvmTest {
apply plugin: 'java'
} }
all { all {
@ -92,4 +96,8 @@ kotlin {
compileKotlinJvm { compileKotlinJvm {
}
compileTestJava{
} }

View File

@ -11,6 +11,8 @@ import kotlin.properties.Delegates
/** /**
* 好友在线状态改变 * 好友在线状态改变
*
* TODO 真的是在线状态改变么
*/ */
@PacketId(0x00_81u) @PacketId(0x00_81u)
class ServerFriendOnlineStatusChangedPacket(input: ByteReadPacket) : ServerPacket(input) { class ServerFriendOnlineStatusChangedPacket(input: ByteReadPacket) : ServerPacket(input) {

View File

@ -12,4 +12,4 @@ import net.mamoe.mirai.network.protocol.tim.packet.ServerPacket
* @author Him188moe * @author Him188moe
*/ */
@PacketId(0x00_ECu) @PacketId(0x00_ECu)
class ServerLoginSuccessPacket(input: ByteReadPacket) : ServerPacket(input) class ServerLoginSuccessPacket(input: ByteReadPacket) : ServerPacket(input)//TODO 可能只是 login status change 的返回包