feat: 初始化XMBOX项目

This commit is contained in:
Tosencen
2025-07-03 06:16:21 +08:00
commit 0a10f73143
914 changed files with 71817 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest />
@@ -0,0 +1,31 @@
package com.p2p;
import com.github.catvod.utils.Path;
public class P2PClass {
public int port;
public P2PClass() {
System.loadLibrary("jpa");
this.port = P2Pdoxstarthttpd("TEST3E63BAAECDAA79BEAA91853490A69F08".getBytes(), Path.jpa().getAbsolutePath().getBytes());
}
public int P2Pdoxstarthttpd(byte[] bArr, byte[] bArr2) {
return doxstarthttpd(bArr, bArr2);
}
public void P2Pdoxstart(byte[] bArr) {
doxstart(bArr);
}
public void P2Pdoxpause(byte[] bArr) {
doxpause(bArr);
}
private native int doxstarthttpd(byte[] bArr, byte[] bArr2);
private native int doxstart(byte[] bArr);
private native int doxpause(byte[] bArr);
}
Binary file not shown.
Binary file not shown.