mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-09-10 04:16:02 -04:00
301 lines
11 KiB
HTML
301 lines
11 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!-- NewPage -->
|
|
<html lang="zh">
|
|
<head>
|
|
<!-- Generated by javadoc (version 1.7.0_15) on Wed Jan 01 21:27:24 CST 2014 -->
|
|
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
|
|
<title>IPlugin</title>
|
|
<meta name="date" content="2014-01-01">
|
|
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript"><!--
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="IPlugin";
|
|
}
|
|
//-->
|
|
</script>
|
|
<noscript>
|
|
<div>您的浏览器已禁用 JavaScript。</div>
|
|
</noscript>
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="topNav"><a name="navbar_top">
|
|
<!-- -->
|
|
</a><a href="#skip-navbar_top" title="跳过导航链接"></a><a name="navbar_top_firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="导航">
|
|
<li><a href="../../../../overview-summary.html">概览</a></li>
|
|
<li><a href="package-summary.html">程序包</a></li>
|
|
<li class="navBarCell1Rev">类</li>
|
|
<li><a href="class-use/IPlugin.html">使用</a></li>
|
|
<li><a href="package-tree.html">树</a></li>
|
|
<li><a href="../../../../deprecated-list.html">已过时</a></li>
|
|
<li><a href="../../../../index-files/index-1.html">索引</a></li>
|
|
<li><a href="../../../../help-doc.html">帮助</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li><a href="../../../../org/jackhuang/hellominecraftlauncher/apis/IMinecraftEnvironment.html" title="org.jackhuang.hellominecraftlauncher.apis中的接口"><span class="strong">上一个类</span></a></li>
|
|
<li><a href="../../../../org/jackhuang/hellominecraftlauncher/apis/IPluginHandler.html" title="org.jackhuang.hellominecraftlauncher.apis中的接口"><span class="strong">下一个类</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../../index.html?org/jackhuang/hellominecraftlauncher/apis/IPlugin.html" target="_top">框架</a></li>
|
|
<li><a href="IPlugin.html" target="_top">无框架</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_top">
|
|
<li><a href="../../../../allclasses-noframe.html">所有类</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_top");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>概要: </li>
|
|
<li>嵌套 | </li>
|
|
<li>字段 | </li>
|
|
<li><a href="#constructor_summary">构造器</a> | </li>
|
|
<li><a href="#method_summary">方法</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>详细资料: </li>
|
|
<li>字段 | </li>
|
|
<li><a href="#constructor_detail">构造器</a> | </li>
|
|
<li><a href="#method_detail">方法</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip-navbar_top">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<div class="header">
|
|
<div class="subTitle">org.jackhuang.hellominecraftlauncher.apis</div>
|
|
<h2 title="类 IPlugin" class="title">类 IPlugin</h2>
|
|
</div>
|
|
<div class="contentContainer">
|
|
<ul class="inheritance">
|
|
<li>java.lang.Object</li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>org.jackhuang.hellominecraftlauncher.apis.IPlugin</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<div class="description">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<hr>
|
|
<br>
|
|
<pre>public abstract class <span class="strong">IPlugin</span>
|
|
extends java.lang.Object</pre>
|
|
<div class="block">此类为插件主类必须实现的接口</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="summary">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor_summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>构造器概要</h3>
|
|
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="构造器概要表, 列表构造器和解释">
|
|
<caption><span>构造器</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colOne" scope="col">构造器和说明</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colOne"><code><strong><a href="../../../../org/jackhuang/hellominecraftlauncher/apis/IPlugin.html#IPlugin()">IPlugin</a></strong>()</code> </td>
|
|
</tr>
|
|
</table>
|
|
</li>
|
|
</ul>
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="method_summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>方法概要</h3>
|
|
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="方法概要表, 列表方法和解释">
|
|
<caption><span>方法</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">限定符和类型</th>
|
|
<th class="colLast" scope="col">方法和说明</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../org/jackhuang/hellominecraftlauncher/apis/IPlugin.html#load(org.jackhuang.hellominecraftlauncher.apis.events.HMCLPluginLoadEvent)">load</a></strong>(<a href="../../../../org/jackhuang/hellominecraftlauncher/apis/events/HMCLPluginLoadEvent.html" title="org.jackhuang.hellominecraftlauncher.apis.events中的类">HMCLPluginLoadEvent</a> event)</code>
|
|
<div class="block">插件加载事件<br />
|
|
可以用来注册Handlers、读取设置</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../org/jackhuang/hellominecraftlauncher/apis/IPlugin.html#unload(org.jackhuang.hellominecraftlauncher.apis.events.HMCLPluginUnloadEvent)">unload</a></strong>(<a href="../../../../org/jackhuang/hellominecraftlauncher/apis/events/HMCLPluginUnloadEvent.html" title="org.jackhuang.hellominecraftlauncher.apis.events中的类">HMCLPluginUnloadEvent</a> event)</code>
|
|
<div class="block">插件卸载事件<br />
|
|
可以用来保存设置</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../org/jackhuang/hellominecraftlauncher/apis/IPlugin.html#versionChanged(org.jackhuang.hellominecraftlauncher.apis.events.HMCLPluginVersionChangedEvent)">versionChanged</a></strong>(<a href="../../../../org/jackhuang/hellominecraftlauncher/apis/events/HMCLPluginVersionChangedEvent.html" title="org.jackhuang.hellominecraftlauncher.apis.events中的类">HMCLPluginVersionChangedEvent</a> event)</code>
|
|
<div class="block">当用户切换版本时会触发此事件</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
|
<!-- -->
|
|
</a>
|
|
<h3>从类继承的方法 java.lang.Object</h3>
|
|
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="details">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor_detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>构造器详细资料</h3>
|
|
<a name="IPlugin()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>IPlugin</h4>
|
|
<pre>public IPlugin()</pre>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="method_detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>方法详细资料</h3>
|
|
<a name="load(org.jackhuang.hellominecraftlauncher.apis.events.HMCLPluginLoadEvent)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>load</h4>
|
|
<pre>public void load(<a href="../../../../org/jackhuang/hellominecraftlauncher/apis/events/HMCLPluginLoadEvent.html" title="org.jackhuang.hellominecraftlauncher.apis.events中的类">HMCLPluginLoadEvent</a> event)</pre>
|
|
<div class="block">插件加载事件<br />
|
|
可以用来注册Handlers、读取设置</div>
|
|
<dl><dt><span class="strong">参数:</span></dt><dd><code>event</code> - </dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="unload(org.jackhuang.hellominecraftlauncher.apis.events.HMCLPluginUnloadEvent)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>unload</h4>
|
|
<pre>public void unload(<a href="../../../../org/jackhuang/hellominecraftlauncher/apis/events/HMCLPluginUnloadEvent.html" title="org.jackhuang.hellominecraftlauncher.apis.events中的类">HMCLPluginUnloadEvent</a> event)</pre>
|
|
<div class="block">插件卸载事件<br />
|
|
可以用来保存设置</div>
|
|
<dl><dt><span class="strong">参数:</span></dt><dd><code>event</code> - </dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="versionChanged(org.jackhuang.hellominecraftlauncher.apis.events.HMCLPluginVersionChangedEvent)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>versionChanged</h4>
|
|
<pre>public void versionChanged(<a href="../../../../org/jackhuang/hellominecraftlauncher/apis/events/HMCLPluginVersionChangedEvent.html" title="org.jackhuang.hellominecraftlauncher.apis.events中的类">HMCLPluginVersionChangedEvent</a> event)</pre>
|
|
<div class="block">当用户切换版本时会触发此事件</div>
|
|
<dl><dt><span class="strong">参数:</span></dt><dd><code>event</code> - </dd></dl>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<div class="bottomNav"><a name="navbar_bottom">
|
|
<!-- -->
|
|
</a><a href="#skip-navbar_bottom" title="跳过导航链接"></a><a name="navbar_bottom_firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="导航">
|
|
<li><a href="../../../../overview-summary.html">概览</a></li>
|
|
<li><a href="package-summary.html">程序包</a></li>
|
|
<li class="navBarCell1Rev">类</li>
|
|
<li><a href="class-use/IPlugin.html">使用</a></li>
|
|
<li><a href="package-tree.html">树</a></li>
|
|
<li><a href="../../../../deprecated-list.html">已过时</a></li>
|
|
<li><a href="../../../../index-files/index-1.html">索引</a></li>
|
|
<li><a href="../../../../help-doc.html">帮助</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li><a href="../../../../org/jackhuang/hellominecraftlauncher/apis/IMinecraftEnvironment.html" title="org.jackhuang.hellominecraftlauncher.apis中的接口"><span class="strong">上一个类</span></a></li>
|
|
<li><a href="../../../../org/jackhuang/hellominecraftlauncher/apis/IPluginHandler.html" title="org.jackhuang.hellominecraftlauncher.apis中的接口"><span class="strong">下一个类</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../../index.html?org/jackhuang/hellominecraftlauncher/apis/IPlugin.html" target="_top">框架</a></li>
|
|
<li><a href="IPlugin.html" target="_top">无框架</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_bottom">
|
|
<li><a href="../../../../allclasses-noframe.html">所有类</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>概要: </li>
|
|
<li>嵌套 | </li>
|
|
<li>字段 | </li>
|
|
<li><a href="#constructor_summary">构造器</a> | </li>
|
|
<li><a href="#method_summary">方法</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>详细资料: </li>
|
|
<li>字段 | </li>
|
|
<li><a href="#constructor_detail">构造器</a> | </li>
|
|
<li><a href="#method_detail">方法</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip-navbar_bottom">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
</body>
|
|
</html>
|