Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
Mirai
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
Mirai
Commits
39d84060
Commit
39d84060
authored
Oct 02, 2019
by
Him188
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved debuggers from mirai-core to mirai-debug
parent
8e33e07c
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
106 additions
and
14 deletions
+106
-14
.gitignore
.gitignore
+1
-1
mirai-core/pom.xml
mirai-core/pom.xml
+1
-1
mirai-core/src/test/java/TestKt.kt
mirai-core/src/test/java/TestKt.kt
+0
-8
mirai-debug/lib/jpcap.jar
mirai-debug/lib/jpcap.jar
+0
-0
mirai-debug/pom.xml
mirai-debug/pom.xml
+101
-0
mirai-debug/src/main/kotlin/HexComparator.java
mirai-debug/src/main/kotlin/HexComparator.java
+0
-0
mirai-debug/src/main/kotlin/PacketDebuger.kt
mirai-debug/src/main/kotlin/PacketDebuger.kt
+1
-4
mirai-debug/src/main/resources/packets.txt
mirai-debug/src/main/resources/packets.txt
+0
-0
pom.xml
pom.xml
+2
-0
No files found.
.gitignore
View file @
39d84060
...
...
@@ -13,7 +13,7 @@
# Package Files #
*.war
*.jar
!/mirai-
core
/lib/jpcap.jar
!/mirai-
debug
/lib/jpcap.jar
*.nar
*.ear
*.zip
...
...
mirai-core/pom.xml
View file @
39d84060
...
...
@@ -23,7 +23,7 @@
<artifactId>
jpcap
</artifactId>
<version>
0.1.18-002
</version>
<scope>
system
</scope>
<systemPath>
${project.basedir}
/lib/jpcap.jar
</systemPath>
<systemPath>
../mirai-debug
/lib/jpcap.jar
</systemPath>
</dependency>
<dependency>
...
...
mirai-core/src/test/java/TestKt.kt
deleted
100644 → 0
View file @
8e33e07c
import
net.mamoe.mirai.utils.toUHexString
/**
* @author Him188moe
*/
fun
main
()
{
println
(
"牛逼"
.
toByteArray
().
toUHexString
())
}
\ No newline at end of file
mirai-
core
/lib/jpcap.jar
→
mirai-
debug
/lib/jpcap.jar
View file @
39d84060
File moved
mirai-debug/pom.xml
0 → 100644
View file @
39d84060
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<modelVersion>
4.0.0
</modelVersion>
<artifactId>
mirai-debug
</artifactId>
<version>
1.0
</version>
<packaging>
jar
</packaging>
<parent>
<groupId>
net.mamoe
</groupId>
<artifactId>
mirai
</artifactId>
<version>
1.0
</version>
<relativePath>
../pom.xml
</relativePath>
</parent>
<dependencies>
<dependency>
<groupId>
net.mamoe
</groupId>
<artifactId>
mirai-core
</artifactId>
<version>
1.0
</version>
</dependency>
<!-- https://mvnrepository.com/artifact/jpcap/jpcap -->
<dependency>
<groupId>
jpcap
</groupId>
<artifactId>
jpcap
</artifactId>
<version>
0.1.18-002
</version>
<scope>
system
</scope>
<systemPath>
${project.basedir}/lib/jpcap.jar
</systemPath>
</dependency>
<dependency>
<groupId>
com.google.protobuf
</groupId>
<artifactId>
protobuf-java
</artifactId>
</dependency>
<dependency>
<groupId>
org.jetbrains.kotlinx
</groupId>
<artifactId>
kotlinx-coroutines-core
</artifactId>
</dependency>
<dependency>
<groupId>
org.jetbrains.kotlin
</groupId>
<artifactId>
kotlin-stdlib
</artifactId>
</dependency>
<dependency>
<groupId>
org.jetbrains.kotlin
</groupId>
<artifactId>
kotlin-reflect
</artifactId>
<scope>
compile
</scope>
</dependency>
</dependencies>
<build>
<sourceDirectory>
src/main/kotlin
</sourceDirectory>
<resources>
<resource>
<directory>
/src/main/resources
</directory>
<includes>
<include>
**/*.*
</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-shade-plugin
</artifactId>
</plugin>
<plugin>
<groupId>
org.projectlombok
</groupId>
<artifactId>
lombok-maven-plugin
</artifactId>
</plugin>
<plugin>
<groupId>
org.jetbrains.kotlin
</groupId>
<artifactId>
kotlin-maven-plugin
</artifactId>
<executions>
<execution>
<id>
compile
</id>
<phase>
compile
</phase>
<goals>
<goal>
compile
</goal>
</goals>
</execution>
</executions>
<configuration>
<args>
<arg>
-XXLanguage:+InlineClasses
</arg>
</args>
</configuration>
</plugin>
</plugins>
</build>
</project>
\ No newline at end of file
mirai-
core/src/test/java
/HexComparator.java
→
mirai-
debug/src/main/kotlin
/HexComparator.java
View file @
39d84060
File moved
mirai-
core/src/test/java
/PacketDebuger.kt
→
mirai-
debug/src/main/kotlin
/PacketDebuger.kt
View file @
39d84060
...
...
@@ -5,10 +5,7 @@ import jpcap.packet.IPPacket
import
jpcap.packet.UDPPacket
import
net.mamoe.mirai.network.protocol.tim.TIMProtocol
import
net.mamoe.mirai.network.protocol.tim.packet.*
import
net.mamoe.mirai.network.protocol.tim.packet.login.ServerLoginResponseFailedPacket
import
net.mamoe.mirai.network.protocol.tim.packet.login.ServerLoginResponseKeyExchangePacket
import
net.mamoe.mirai.network.protocol.tim.packet.login.ServerLoginResponseSuccessPacket
import
net.mamoe.mirai.network.protocol.tim.packet.login.ServerLoginResponseVerificationCodeInitPacket
import
net.mamoe.mirai.network.protocol.tim.packet.login.*
import
net.mamoe.mirai.utils.*
import
java.io.DataInputStream
...
...
mirai-
core/src/test/java
/packets.txt
→
mirai-
debug/src/main/resources
/packets.txt
View file @
39d84060
File moved
pom.xml
View file @
39d84060
...
...
@@ -15,6 +15,8 @@
<module>
mirai-console
</module>
<module>
mirai-api
</module>
<module>
mirai-demos
</module>
<module>
mirai-debug
</module>
</modules>
<repositories>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment