This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (c) 2018-2020 Karlatemp. All rights reserved. | |
* @author Karlatemp <karlatemp@vip.qq.com> <https://github.com/Karlatemp> | |
* @create 2020/06/17 21:34:56 | |
* | |
* code/code.main/Startup.kt | |
*/ | |
import cn.mcres.karlatemp.mxlib.network.PipelineUtils | |
import cn.mcres.karlatemp.mxlib.network.minecraft.MinecraftProtocolHelper |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (c) 2018-2020 Karlatemp. All rights reserved. | |
* @author Karlatemp <karlatemp@vip.qq.com> <https://github.com/Karlatemp> | |
* @create 2020/07/06 17:15:01 | |
* | |
* gradient/gradient/pom.gradle | |
*/ | |
/* | |
How to use: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import kotlin.Lazy; | |
import kotlin.LazyKt; | |
import net.mamoe.mirai.console.permission.*; | |
import net.mamoe.mirai.console.plugin.jvm.JavaPlugin; | |
import net.mamoe.mirai.console.plugin.jvm.JvmPluginDescriptionBuilder; | |
import net.mamoe.mirai.contact.Member; | |
import net.mamoe.mirai.contact.User; | |
class JPlugin extends JavaPlugin { | |
public static final JPlugin INSTANCE = new JPlugin(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package io.github.karlatemp.jmse.tests; | |
import com.sun.jna.*; | |
import io.github.karlatemp.jmse.kit.SuperConsumer; | |
import io.github.karlatemp.unsafeaccessor.Unsafe; | |
import java.util.HashMap; | |
public class JNIfromJNA { |