Commit 6c6f0a48 authored by Him188's avatar Him188

update docs

parent 550b4e86
...@@ -6,7 +6,9 @@ kotlin { ...@@ -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 { ...@@ -82,6 +84,8 @@ kotlin {
}*/ }*/
jvmTest { jvmTest {
apply plugin: 'java'
} }
all { all {
...@@ -92,4 +96,8 @@ kotlin { ...@@ -92,4 +96,8 @@ kotlin {
compileKotlinJvm { compileKotlinJvm {
}
compileTestJava{
} }
\ No newline at end of file
...@@ -11,6 +11,8 @@ import kotlin.properties.Delegates ...@@ -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) {
......
...@@ -12,4 +12,4 @@ import net.mamoe.mirai.network.protocol.tim.packet.ServerPacket ...@@ -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 的返回包
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment