mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-07 16:40:43 +08:00
Move package ...network.data
to ...data
This commit is contained in:
parent
6640292663
commit
361b842aa1
@ -5,6 +5,9 @@ import net.mamoe.mirai.Bot
|
||||
import net.mamoe.mirai.BotAccount
|
||||
import net.mamoe.mirai.BotImpl
|
||||
import net.mamoe.mirai.contact.*
|
||||
import net.mamoe.mirai.data.AddFriendResult
|
||||
import net.mamoe.mirai.data.ImageLink
|
||||
import net.mamoe.mirai.data.Packet
|
||||
import net.mamoe.mirai.message.data.Image
|
||||
import net.mamoe.mirai.message.data.ImageId0x03
|
||||
import net.mamoe.mirai.message.data.ImageId0x06
|
||||
|
@ -1,7 +1,7 @@
|
||||
package net.mamoe.mirai.timpc.internal
|
||||
|
||||
import net.mamoe.mirai.contact.*
|
||||
import net.mamoe.mirai.network.data.GroupInfo
|
||||
import net.mamoe.mirai.data.GroupInfo
|
||||
import net.mamoe.mirai.timpc.TIMPCBot
|
||||
import net.mamoe.mirai.timpc.network.packet.action.GroupPacket
|
||||
import net.mamoe.mirai.utils.LockFreeLinkedList
|
||||
|
@ -9,10 +9,10 @@ import net.mamoe.mirai.contact.*
|
||||
import net.mamoe.mirai.event.subscribeAlways
|
||||
import net.mamoe.mirai.message.data.ImageId
|
||||
import net.mamoe.mirai.message.data.MessageChain
|
||||
import net.mamoe.mirai.network.data.FriendNameRemark
|
||||
import net.mamoe.mirai.network.data.GroupInfo
|
||||
import net.mamoe.mirai.network.data.PreviousNameList
|
||||
import net.mamoe.mirai.network.data.Profile
|
||||
import net.mamoe.mirai.data.FriendNameRemark
|
||||
import net.mamoe.mirai.data.GroupInfo
|
||||
import net.mamoe.mirai.data.PreviousNameList
|
||||
import net.mamoe.mirai.data.Profile
|
||||
import net.mamoe.mirai.qqAccount
|
||||
import net.mamoe.mirai.timpc.TIMPCBot
|
||||
import net.mamoe.mirai.timpc.internal.RawGroupInfo
|
||||
|
@ -12,8 +12,8 @@ import net.mamoe.mirai.event.Subscribable
|
||||
import net.mamoe.mirai.event.broadcast
|
||||
import net.mamoe.mirai.event.events.BotLoginSucceedEvent
|
||||
import net.mamoe.mirai.network.BotNetworkHandler
|
||||
import net.mamoe.mirai.network.data.LoginResult
|
||||
import net.mamoe.mirai.network.data.Packet
|
||||
import net.mamoe.mirai.data.LoginResult
|
||||
import net.mamoe.mirai.data.Packet
|
||||
import net.mamoe.mirai.qqAccount
|
||||
import net.mamoe.mirai.timpc.TIMPCBot
|
||||
import net.mamoe.mirai.timpc.network.handler.DataPacketSocketAdapter
|
||||
|
@ -4,7 +4,7 @@ package net.mamoe.mirai.timpc.network.handler
|
||||
|
||||
import kotlinx.coroutines.CompletableDeferred
|
||||
import kotlinx.coroutines.withContext
|
||||
import net.mamoe.mirai.network.data.Packet
|
||||
import net.mamoe.mirai.data.Packet
|
||||
import kotlin.coroutines.CoroutineContext
|
||||
import kotlin.reflect.KClass
|
||||
|
||||
|
@ -6,7 +6,7 @@ import kotlinx.io.core.*
|
||||
import kotlinx.serialization.SerializationStrategy
|
||||
import kotlinx.serialization.protobuf.ProtoBuf
|
||||
import net.mamoe.mirai.network.BotNetworkHandler
|
||||
import net.mamoe.mirai.network.data.Packet
|
||||
import net.mamoe.mirai.data.Packet
|
||||
import net.mamoe.mirai.timpc.network.TIMProtocol
|
||||
import net.mamoe.mirai.utils.io.hexToBytes
|
||||
import net.mamoe.mirai.utils.io.writeQQ
|
||||
|
@ -2,7 +2,7 @@ package net.mamoe.mirai.timpc.network.packet
|
||||
|
||||
import kotlinx.io.core.ByteReadPacket
|
||||
import kotlinx.io.core.readBytes
|
||||
import net.mamoe.mirai.network.data.Packet
|
||||
import net.mamoe.mirai.data.Packet
|
||||
import net.mamoe.mirai.utils.io.toUHexString
|
||||
|
||||
/**
|
||||
|
@ -10,7 +10,7 @@ import kotlinx.io.pool.useInstance
|
||||
import kotlinx.serialization.DeserializationStrategy
|
||||
import kotlinx.serialization.protobuf.ProtoBuf
|
||||
import net.mamoe.mirai.network.BotNetworkHandler
|
||||
import net.mamoe.mirai.network.data.Packet
|
||||
import net.mamoe.mirai.data.Packet
|
||||
import net.mamoe.mirai.utils.io.ByteArrayPool
|
||||
import net.mamoe.mirai.utils.io.debugPrint
|
||||
import net.mamoe.mirai.utils.io.read
|
||||
|
@ -5,9 +5,9 @@ package net.mamoe.mirai.timpc.network.packet.action
|
||||
import kotlinx.io.core.*
|
||||
import net.mamoe.mirai.contact.QQ
|
||||
import net.mamoe.mirai.network.BotNetworkHandler
|
||||
import net.mamoe.mirai.network.data.EventPacket
|
||||
import net.mamoe.mirai.network.data.Packet
|
||||
import net.mamoe.mirai.network.data.PreviousNameList
|
||||
import net.mamoe.mirai.data.EventPacket
|
||||
import net.mamoe.mirai.data.Packet
|
||||
import net.mamoe.mirai.data.PreviousNameList
|
||||
import net.mamoe.mirai.timpc.network.TIMProtocol
|
||||
import net.mamoe.mirai.timpc.network.packet.*
|
||||
import net.mamoe.mirai.utils.io.*
|
||||
|
@ -8,8 +8,8 @@ import net.mamoe.mirai.message.data.ImageId
|
||||
import net.mamoe.mirai.message.data.ImageId0x06
|
||||
import net.mamoe.mirai.message.data.requireLength
|
||||
import net.mamoe.mirai.network.BotNetworkHandler
|
||||
import net.mamoe.mirai.network.data.EventPacket
|
||||
import net.mamoe.mirai.network.data.ImageLink
|
||||
import net.mamoe.mirai.data.EventPacket
|
||||
import net.mamoe.mirai.data.ImageLink
|
||||
import net.mamoe.mirai.timpc.network.TIMProtocol
|
||||
import net.mamoe.mirai.timpc.network.packet.*
|
||||
import net.mamoe.mirai.utils.ExternalImage
|
||||
|
@ -4,7 +4,7 @@ package net.mamoe.mirai.timpc.network.packet.action
|
||||
|
||||
import kotlinx.io.core.ByteReadPacket
|
||||
import net.mamoe.mirai.network.BotNetworkHandler
|
||||
import net.mamoe.mirai.network.data.Packet
|
||||
import net.mamoe.mirai.data.Packet
|
||||
import net.mamoe.mirai.timpc.network.packet.PacketId
|
||||
import net.mamoe.mirai.timpc.network.packet.SessionPacketFactory
|
||||
|
||||
|
@ -6,7 +6,7 @@ import kotlinx.io.core.ByteReadPacket
|
||||
import kotlinx.io.core.writeFully
|
||||
import kotlinx.io.core.writeUByte
|
||||
import net.mamoe.mirai.network.BotNetworkHandler
|
||||
import net.mamoe.mirai.network.data.Packet
|
||||
import net.mamoe.mirai.data.Packet
|
||||
import net.mamoe.mirai.timpc.network.TIMProtocol
|
||||
import net.mamoe.mirai.timpc.network.packet.*
|
||||
import net.mamoe.mirai.utils.io.writeQQ
|
||||
|
@ -9,8 +9,8 @@ import net.mamoe.mirai.contact.GroupInternalId
|
||||
import net.mamoe.mirai.message.data.ImageId0x03
|
||||
import net.mamoe.mirai.message.data.requireLength
|
||||
import net.mamoe.mirai.network.BotNetworkHandler
|
||||
import net.mamoe.mirai.network.data.EventPacket
|
||||
import net.mamoe.mirai.network.data.ImageLink
|
||||
import net.mamoe.mirai.data.EventPacket
|
||||
import net.mamoe.mirai.data.ImageLink
|
||||
import net.mamoe.mirai.timpc.network.packet.*
|
||||
import net.mamoe.mirai.timpc.utils.assertUnreachable
|
||||
import net.mamoe.mirai.utils.ExternalImage
|
||||
|
@ -9,7 +9,7 @@ import net.mamoe.mirai.contact.groupInternalId
|
||||
import net.mamoe.mirai.message.data.MessageChain
|
||||
import net.mamoe.mirai.message.internal.toPacket
|
||||
import net.mamoe.mirai.network.BotNetworkHandler
|
||||
import net.mamoe.mirai.network.data.Packet
|
||||
import net.mamoe.mirai.data.Packet
|
||||
import net.mamoe.mirai.timpc.internal.RawGroupInfo
|
||||
import net.mamoe.mirai.timpc.network.TIMProtocol
|
||||
import net.mamoe.mirai.timpc.network.packet.*
|
||||
|
@ -4,10 +4,10 @@ package net.mamoe.mirai.timpc.network.packet.action
|
||||
|
||||
import io.ktor.util.date.GMTDate
|
||||
import kotlinx.io.core.*
|
||||
import net.mamoe.mirai.network.data.Gender
|
||||
import net.mamoe.mirai.network.data.Profile
|
||||
import net.mamoe.mirai.data.Gender
|
||||
import net.mamoe.mirai.data.Profile
|
||||
import net.mamoe.mirai.network.BotNetworkHandler
|
||||
import net.mamoe.mirai.network.data.Packet
|
||||
import net.mamoe.mirai.data.Packet
|
||||
import net.mamoe.mirai.timpc.network.packet.*
|
||||
import net.mamoe.mirai.utils.io.*
|
||||
|
||||
|
@ -5,7 +5,7 @@ package net.mamoe.mirai.timpc.network.packet.action
|
||||
import kotlinx.io.core.ByteReadPacket
|
||||
import kotlinx.io.core.discardExact
|
||||
import net.mamoe.mirai.network.BotNetworkHandler
|
||||
import net.mamoe.mirai.network.data.FriendNameRemark
|
||||
import net.mamoe.mirai.data.FriendNameRemark
|
||||
import net.mamoe.mirai.timpc.network.packet.*
|
||||
import net.mamoe.mirai.utils.io.readUShortLVString
|
||||
import net.mamoe.mirai.utils.io.writeQQ
|
||||
|
@ -4,7 +4,7 @@ package net.mamoe.mirai.timpc.network.packet.action
|
||||
|
||||
import kotlinx.io.core.ByteReadPacket
|
||||
import net.mamoe.mirai.network.BotNetworkHandler
|
||||
import net.mamoe.mirai.network.data.Packet
|
||||
import net.mamoe.mirai.data.Packet
|
||||
import net.mamoe.mirai.timpc.network.TIMProtocol
|
||||
import net.mamoe.mirai.timpc.network.packet.*
|
||||
import net.mamoe.mirai.utils.io.writeZero
|
||||
|
@ -6,7 +6,7 @@ import kotlinx.io.core.*
|
||||
import net.mamoe.mirai.message.data.MessageChain
|
||||
import net.mamoe.mirai.message.internal.toPacket
|
||||
import net.mamoe.mirai.network.BotNetworkHandler
|
||||
import net.mamoe.mirai.network.data.Packet
|
||||
import net.mamoe.mirai.data.Packet
|
||||
import net.mamoe.mirai.timpc.network.TIMProtocol
|
||||
import net.mamoe.mirai.timpc.network.packet.*
|
||||
import net.mamoe.mirai.utils.io.*
|
||||
|
@ -5,7 +5,7 @@ package net.mamoe.mirai.timpc.network.packet.event
|
||||
import kotlinx.io.core.ByteReadPacket
|
||||
import kotlinx.io.core.discardExact
|
||||
import net.mamoe.mirai.Bot
|
||||
import net.mamoe.mirai.network.data.Packet
|
||||
import net.mamoe.mirai.data.Packet
|
||||
import net.mamoe.mirai.timpc.network.packet.PacketVersion
|
||||
import net.mamoe.mirai.utils.io.readBoolean
|
||||
|
||||
|
@ -5,7 +5,7 @@ package net.mamoe.mirai.timpc.network.packet.event
|
||||
import kotlinx.io.core.*
|
||||
import net.mamoe.mirai.Bot
|
||||
import net.mamoe.mirai.network.BotNetworkHandler
|
||||
import net.mamoe.mirai.network.data.Packet
|
||||
import net.mamoe.mirai.data.Packet
|
||||
import net.mamoe.mirai.timpc.network.TIMBotNetworkHandler
|
||||
import net.mamoe.mirai.timpc.network.packet.*
|
||||
import net.mamoe.mirai.qqAccount
|
||||
|
@ -6,7 +6,7 @@ import kotlinx.io.core.ByteReadPacket
|
||||
import kotlinx.io.core.discardExact
|
||||
import kotlinx.io.core.readUInt
|
||||
import net.mamoe.mirai.Bot
|
||||
import net.mamoe.mirai.network.data.EventPacket
|
||||
import net.mamoe.mirai.data.EventPacket
|
||||
import net.mamoe.mirai.timpc.network.packet.PacketVersion
|
||||
import net.mamoe.mirai.utils.io.readQQ
|
||||
|
||||
|
@ -4,7 +4,7 @@ package net.mamoe.mirai.timpc.network.packet.event
|
||||
|
||||
import kotlinx.io.core.ByteReadPacket
|
||||
import net.mamoe.mirai.Bot
|
||||
import net.mamoe.mirai.network.data.EventPacket
|
||||
import net.mamoe.mirai.data.EventPacket
|
||||
import net.mamoe.mirai.timpc.network.packet.PacketVersion
|
||||
import net.mamoe.mirai.utils.io.debugPrint
|
||||
|
||||
|
@ -4,7 +4,7 @@ package net.mamoe.mirai.timpc.network.packet.event
|
||||
|
||||
import kotlinx.io.core.ByteReadPacket
|
||||
import net.mamoe.mirai.Bot
|
||||
import net.mamoe.mirai.network.data.EventPacket
|
||||
import net.mamoe.mirai.data.EventPacket
|
||||
import net.mamoe.mirai.utils.io.toUHexString
|
||||
|
||||
internal inline class IgnoredEventPacket(val id: UShort) : EventPacket {
|
||||
|
@ -7,7 +7,7 @@ import kotlinx.io.core.readUByte
|
||||
import net.mamoe.mirai.Bot
|
||||
import net.mamoe.mirai.contact.Group
|
||||
import net.mamoe.mirai.contact.Member
|
||||
import net.mamoe.mirai.network.data.EventPacket
|
||||
import net.mamoe.mirai.data.EventPacket
|
||||
import net.mamoe.mirai.qqAccount
|
||||
import net.mamoe.mirai.utils.io.*
|
||||
|
||||
|
@ -5,7 +5,7 @@ package net.mamoe.mirai.timpc.network.packet.event
|
||||
import kotlinx.io.core.ByteReadPacket
|
||||
import kotlinx.io.core.discardExact
|
||||
import net.mamoe.mirai.Bot
|
||||
import net.mamoe.mirai.network.data.EventPacket
|
||||
import net.mamoe.mirai.data.EventPacket
|
||||
import net.mamoe.mirai.timpc.network.packet.PacketVersion
|
||||
import net.mamoe.mirai.utils.io.readQQ
|
||||
import net.mamoe.mirai.contact.Member
|
||||
|
@ -7,7 +7,7 @@ import kotlinx.io.core.readBytes
|
||||
import kotlinx.io.pool.useInstance
|
||||
import net.mamoe.mirai.Bot
|
||||
import net.mamoe.mirai.network.BotNetworkHandler
|
||||
import net.mamoe.mirai.network.data.EventPacket
|
||||
import net.mamoe.mirai.data.EventPacket
|
||||
import net.mamoe.mirai.utils.io.ByteArrayPool
|
||||
import net.mamoe.mirai.utils.io.toUHexString
|
||||
|
||||
|
@ -4,7 +4,7 @@ package net.mamoe.mirai.timpc.network.packet.login
|
||||
|
||||
import kotlinx.io.core.*
|
||||
import net.mamoe.mirai.network.BotNetworkHandler
|
||||
import net.mamoe.mirai.network.data.Packet
|
||||
import net.mamoe.mirai.data.Packet
|
||||
import net.mamoe.mirai.timpc.network.TIMProtocol
|
||||
import net.mamoe.mirai.timpc.network.packet.*
|
||||
import net.mamoe.mirai.utils.io.*
|
||||
|
@ -6,7 +6,7 @@ import kotlinx.io.core.ByteReadPacket
|
||||
import kotlinx.io.core.writeFully
|
||||
import kotlinx.io.core.writeUByte
|
||||
import net.mamoe.mirai.network.BotNetworkHandler
|
||||
import net.mamoe.mirai.network.data.Packet
|
||||
import net.mamoe.mirai.data.Packet
|
||||
import net.mamoe.mirai.timpc.network.TIMProtocol
|
||||
import net.mamoe.mirai.timpc.network.packet.*
|
||||
import net.mamoe.mirai.utils.OnlineStatus
|
||||
|
@ -6,7 +6,7 @@ import kotlinx.io.core.ByteReadPacket
|
||||
import kotlinx.io.core.writeFully
|
||||
import net.mamoe.mirai.event.Subscribable
|
||||
import net.mamoe.mirai.network.BotNetworkHandler
|
||||
import net.mamoe.mirai.network.data.Packet
|
||||
import net.mamoe.mirai.data.Packet
|
||||
import net.mamoe.mirai.timpc.network.TIMProtocol
|
||||
import net.mamoe.mirai.timpc.network.packet.*
|
||||
import net.mamoe.mirai.utils.io.writeHex
|
||||
|
@ -3,10 +3,10 @@
|
||||
package net.mamoe.mirai.timpc.network.packet.login
|
||||
|
||||
import kotlinx.io.core.*
|
||||
import net.mamoe.mirai.network.data.Gender
|
||||
import net.mamoe.mirai.data.Gender
|
||||
import net.mamoe.mirai.network.BotNetworkHandler
|
||||
import net.mamoe.mirai.network.data.LoginResult
|
||||
import net.mamoe.mirai.network.data.Packet
|
||||
import net.mamoe.mirai.data.LoginResult
|
||||
import net.mamoe.mirai.data.Packet
|
||||
import net.mamoe.mirai.timpc.network.TIMProtocol
|
||||
import net.mamoe.mirai.timpc.network.packet.*
|
||||
import net.mamoe.mirai.utils.*
|
||||
|
@ -6,7 +6,7 @@ import kotlinx.io.core.ByteReadPacket
|
||||
import kotlinx.io.core.discardExact
|
||||
import kotlinx.io.core.writeFully
|
||||
import net.mamoe.mirai.network.BotNetworkHandler
|
||||
import net.mamoe.mirai.network.data.Packet
|
||||
import net.mamoe.mirai.data.Packet
|
||||
import net.mamoe.mirai.timpc.network.TIMProtocol
|
||||
import net.mamoe.mirai.timpc.network.packet.*
|
||||
import net.mamoe.mirai.utils.io.*
|
||||
|
@ -4,7 +4,7 @@ package net.mamoe.mirai.timpc.network.packet.login
|
||||
|
||||
import kotlinx.io.core.*
|
||||
import net.mamoe.mirai.network.BotNetworkHandler
|
||||
import net.mamoe.mirai.network.data.Packet
|
||||
import net.mamoe.mirai.data.Packet
|
||||
import net.mamoe.mirai.timpc.network.TIMProtocol
|
||||
import net.mamoe.mirai.timpc.network.packet.*
|
||||
import net.mamoe.mirai.utils.io.*
|
||||
|
@ -7,7 +7,7 @@ import kotlinx.io.core.discardExact
|
||||
import kotlinx.io.core.readBytes
|
||||
import kotlinx.io.core.writeFully
|
||||
import net.mamoe.mirai.network.BotNetworkHandler
|
||||
import net.mamoe.mirai.network.data.Packet
|
||||
import net.mamoe.mirai.data.Packet
|
||||
import net.mamoe.mirai.timpc.network.TIMProtocol
|
||||
import net.mamoe.mirai.timpc.network.packet.*
|
||||
import net.mamoe.mirai.utils.io.*
|
||||
|
@ -8,10 +8,10 @@ import kotlinx.io.OutputStream
|
||||
import kotlinx.io.core.ByteReadPacket
|
||||
import kotlinx.io.core.use
|
||||
import net.mamoe.mirai.contact.*
|
||||
import net.mamoe.mirai.data.AddFriendResult
|
||||
import net.mamoe.mirai.data.ImageLink
|
||||
import net.mamoe.mirai.message.data.Image
|
||||
import net.mamoe.mirai.network.BotNetworkHandler
|
||||
import net.mamoe.mirai.network.data.AddFriendResult
|
||||
import net.mamoe.mirai.network.data.ImageLink
|
||||
import net.mamoe.mirai.utils.BotConfiguration
|
||||
import net.mamoe.mirai.utils.GroupNotFoundException
|
||||
import net.mamoe.mirai.utils.MiraiInternalAPI
|
||||
|
@ -1,3 +1,5 @@
|
||||
@file:Suppress("FunctionName")
|
||||
|
||||
package net.mamoe.mirai
|
||||
|
||||
import kotlinx.coroutines.CoroutineScope
|
||||
@ -10,7 +12,6 @@ import net.mamoe.mirai.utils.MiraiLogger
|
||||
* - `mirai-core-timpc`: `TIMPC`
|
||||
* - `mirai-core-qqandroid`: `QQAndroid`
|
||||
*/
|
||||
@Suppress("FunctionName")
|
||||
interface BotFactory {
|
||||
/**
|
||||
* 在当前 CoroutineScope 下构造 Bot 实例
|
||||
|
@ -3,7 +3,7 @@
|
||||
package net.mamoe.mirai.contact
|
||||
|
||||
import kotlinx.coroutines.CoroutineScope
|
||||
import net.mamoe.mirai.network.data.GroupInfo
|
||||
import net.mamoe.mirai.data.GroupInfo
|
||||
import net.mamoe.mirai.utils.internal.coerceAtLeastOrFail
|
||||
|
||||
|
||||
|
@ -4,9 +4,9 @@ package net.mamoe.mirai.contact
|
||||
|
||||
import kotlinx.coroutines.CoroutineScope
|
||||
import net.mamoe.mirai.Bot
|
||||
import net.mamoe.mirai.network.data.FriendNameRemark
|
||||
import net.mamoe.mirai.network.data.PreviousNameList
|
||||
import net.mamoe.mirai.network.data.Profile
|
||||
import net.mamoe.mirai.data.FriendNameRemark
|
||||
import net.mamoe.mirai.data.PreviousNameList
|
||||
import net.mamoe.mirai.data.Profile
|
||||
|
||||
/**
|
||||
* QQ 对象.
|
||||
|
@ -2,7 +2,7 @@
|
||||
@file:JvmName("BotHelperKt")
|
||||
@file:Suppress("EXPERIMENTAL_API_USAGE")
|
||||
|
||||
package net.mamoe.mirai.network.data
|
||||
package net.mamoe.mirai.data
|
||||
|
||||
import kotlin.jvm.JvmMultifileClass
|
||||
import kotlin.jvm.JvmName
|
@ -1,4 +1,4 @@
|
||||
package net.mamoe.mirai.network.data
|
||||
package net.mamoe.mirai.data
|
||||
|
||||
import net.mamoe.mirai.event.Subscribable
|
||||
|
@ -1,4 +1,4 @@
|
||||
package net.mamoe.mirai.network.data
|
||||
package net.mamoe.mirai.data
|
||||
|
||||
/**
|
||||
* 给好友设置的备注
|
@ -1,4 +1,4 @@
|
||||
package net.mamoe.mirai.network.data
|
||||
package net.mamoe.mirai.data
|
||||
|
||||
import net.mamoe.mirai.contact.ContactList
|
||||
import net.mamoe.mirai.contact.Group
|
@ -1,4 +1,4 @@
|
||||
package net.mamoe.mirai.network.data
|
||||
package net.mamoe.mirai.data
|
||||
|
||||
import io.ktor.client.request.get
|
||||
import io.ktor.util.KtorExperimentalAPI
|
@ -1,6 +1,6 @@
|
||||
@file:Suppress("unused")
|
||||
|
||||
package net.mamoe.mirai.network.data
|
||||
package net.mamoe.mirai.data
|
||||
|
||||
import net.mamoe.mirai.utils.BotConfiguration
|
||||
|
@ -1,4 +1,4 @@
|
||||
package net.mamoe.mirai.network.data
|
||||
package net.mamoe.mirai.data
|
||||
|
||||
/**
|
||||
* 一个包的数据 (body)
|
@ -1,4 +1,4 @@
|
||||
package net.mamoe.mirai.network.data
|
||||
package net.mamoe.mirai.data
|
||||
|
||||
/**
|
||||
* 曾用名列表
|
@ -1,6 +1,6 @@
|
||||
@file:Suppress("EXPERIMENTAL_API_USAGE")
|
||||
|
||||
package net.mamoe.mirai.network.data
|
||||
package net.mamoe.mirai.data
|
||||
|
||||
import io.ktor.util.date.GMTDate
|
||||
|
@ -1,6 +1,6 @@
|
||||
package net.mamoe.mirai.event.events
|
||||
|
||||
import net.mamoe.mirai.network.data.EventPacket
|
||||
import net.mamoe.mirai.data.EventPacket
|
||||
|
||||
/**
|
||||
* 被挤下线. 只能获取到中文的消息
|
||||
|
@ -1,7 +1,7 @@
|
||||
package net.mamoe.mirai.event.events
|
||||
|
||||
import net.mamoe.mirai.contact.QQ
|
||||
import net.mamoe.mirai.network.data.EventPacket
|
||||
import net.mamoe.mirai.data.EventPacket
|
||||
import net.mamoe.mirai.utils.OnlineStatus
|
||||
|
||||
data class FriendStatusChanged(
|
||||
|
@ -2,7 +2,7 @@ package net.mamoe.mirai.event.events
|
||||
|
||||
import net.mamoe.mirai.contact.Group
|
||||
import net.mamoe.mirai.contact.Member
|
||||
import net.mamoe.mirai.network.data.EventPacket
|
||||
import net.mamoe.mirai.data.EventPacket
|
||||
|
||||
|
||||
// region mute
|
||||
|
@ -1,7 +1,7 @@
|
||||
package net.mamoe.mirai.event.events
|
||||
|
||||
import net.mamoe.mirai.contact.QQ
|
||||
import net.mamoe.mirai.network.data.EventPacket
|
||||
import net.mamoe.mirai.data.EventPacket
|
||||
import net.mamoe.mirai.utils.unsafeWeakRef
|
||||
import kotlin.jvm.JvmOverloads
|
||||
|
||||
|
@ -5,10 +5,10 @@ package net.mamoe.mirai.message
|
||||
import kotlinx.io.core.ByteReadPacket
|
||||
import net.mamoe.mirai.Bot
|
||||
import net.mamoe.mirai.contact.*
|
||||
import net.mamoe.mirai.data.EventPacket
|
||||
import net.mamoe.mirai.data.ImageLink
|
||||
import net.mamoe.mirai.event.events.BotEvent
|
||||
import net.mamoe.mirai.message.data.*
|
||||
import net.mamoe.mirai.network.data.EventPacket
|
||||
import net.mamoe.mirai.network.data.ImageLink
|
||||
import net.mamoe.mirai.utils.*
|
||||
import net.mamoe.mirai.utils.internal.coerceAtLeastOrFail
|
||||
import kotlin.jvm.JvmName
|
||||
|
@ -1,6 +1,6 @@
|
||||
package net.mamoe.mirai.utils
|
||||
|
||||
import net.mamoe.mirai.network.data.LoginResult
|
||||
import net.mamoe.mirai.data.LoginResult
|
||||
|
||||
class LoginFailedException(
|
||||
val result: LoginResult,
|
||||
|
Loading…
Reference in New Issue
Block a user