mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-09-09 11:55:52 -04:00
297 lines
10 KiB
HTML
297 lines
10 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:25 CST 2014 -->
|
|
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
|
|
<title>Plugin</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="Plugin";
|
|
}
|
|
//-->
|
|
</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/Plugin.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/Pair.html" title="org.jackhuang.hellominecraftlauncher.apis中的类"><span class="strong">上一个类</span></a></li>
|
|
<li><a href="../../../../org/jackhuang/hellominecraftlauncher/apis/PluginHandlerType.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/Plugin.html" target="_top">框架</a></li>
|
|
<li><a href="Plugin.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><a href="#annotation_type_required_element_summary">必需</a> | </li>
|
|
<li><a href="#annotation_type_optional_element_summary">可选</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>详细资料: </li>
|
|
<li><a href="#annotation_type_element_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="注释类型 Plugin" class="title">注释类型 Plugin</h2>
|
|
</div>
|
|
<div class="contentContainer">
|
|
<div class="description">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<hr>
|
|
<br>
|
|
<pre>@Retention(value=RUNTIME)
|
|
@Target(value=TYPE)
|
|
public @interface <span class="strong">Plugin</span></pre>
|
|
<div class="block">插件主类必须标明此注解</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="summary">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- =========== ANNOTATION TYPE REQUIRED MEMBER SUMMARY =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="annotation_type_required_element_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>int</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../org/jackhuang/hellominecraftlauncher/apis/Plugin.html#apiVer()">apiVer</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>java.lang.String</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../org/jackhuang/hellominecraftlauncher/apis/Plugin.html#pluginId()">pluginId</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>java.lang.String</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../org/jackhuang/hellominecraftlauncher/apis/Plugin.html#pluginName()">pluginName</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>java.lang.String</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../org/jackhuang/hellominecraftlauncher/apis/Plugin.html#pluginVer()">pluginVer</a></strong></code> </td>
|
|
</tr>
|
|
</table>
|
|
</li>
|
|
</ul>
|
|
<!-- =========== ANNOTATION TYPE OPTIONAL MEMBER SUMMARY =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="annotation_type_optional_element_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>java.lang.String</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../org/jackhuang/hellominecraftlauncher/apis/Plugin.html#authors()">authors</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>java.lang.String</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../org/jackhuang/hellominecraftlauncher/apis/Plugin.html#description()">description</a></strong></code> </td>
|
|
</tr>
|
|
</table>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="details">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ============ ANNOTATION TYPE MEMBER DETAIL =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="annotation_type_element_detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>元素详细资料</h3>
|
|
<a name="apiVer()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>apiVer</h4>
|
|
<pre>public abstract int apiVer</pre>
|
|
<dl><dt><span class="strong">返回:</span></dt><dd>HMCL API版本</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="pluginVer()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>pluginVer</h4>
|
|
<pre>public abstract java.lang.String pluginVer</pre>
|
|
<dl><dt><span class="strong">返回:</span></dt><dd>本插件版本</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="pluginId()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>pluginId</h4>
|
|
<pre>public abstract java.lang.String pluginId</pre>
|
|
<dl><dt><span class="strong">返回:</span></dt><dd>插件ID</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="pluginName()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>pluginName</h4>
|
|
<pre>public abstract java.lang.String pluginName</pre>
|
|
<dl><dt><span class="strong">返回:</span></dt><dd>插件名称</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="description()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>description</h4>
|
|
<pre>public abstract java.lang.String description</pre>
|
|
<dl><dt><span class="strong">返回:</span></dt><dd>插件描述</dd></dl>
|
|
<dl>
|
|
<dt>默认值:</dt>
|
|
<dd>""</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="authors()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>authors</h4>
|
|
<pre>public abstract java.lang.String authors</pre>
|
|
<dl><dt><span class="strong">返回:</span></dt><dd>插件作者</dd></dl>
|
|
<dl>
|
|
<dt>默认值:</dt>
|
|
<dd>""</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/Plugin.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/Pair.html" title="org.jackhuang.hellominecraftlauncher.apis中的类"><span class="strong">上一个类</span></a></li>
|
|
<li><a href="../../../../org/jackhuang/hellominecraftlauncher/apis/PluginHandlerType.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/Plugin.html" target="_top">框架</a></li>
|
|
<li><a href="Plugin.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><a href="#annotation_type_required_element_summary">必需</a> | </li>
|
|
<li><a href="#annotation_type_optional_element_summary">可选</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>详细资料: </li>
|
|
<li><a href="#annotation_type_element_detail">元素</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip-navbar_bottom">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
</body>
|
|
</html>
|