mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-19 21:09:40 +00:00
680 lines
29 KiB
HTML
680 lines
29 KiB
HTML
<!DOCTYPE HTML>
|
|
<!-- NewPage -->
|
|
<html lang="en">
|
|
<head>
|
|
<!-- Generated by javadoc -->
|
|
<title>ICustomAbility (CustomNPC-Plus 1.11 API)</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<link rel="stylesheet" type="text/css" href="../../../../javadoc-theme.css" title="Style">
|
|
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.min.css" title="Style">
|
|
<link rel="stylesheet" type="text/css" href="../../../../jquery-ui.overrides.css" title="Style">
|
|
<script type="text/javascript" src="../../../../script.js"></script>
|
|
<script type="text/javascript" src="../../../../jquery/jszip/dist/jszip.min.js"></script>
|
|
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
|
<!--[if IE]>
|
|
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
|
<![endif]-->
|
|
<script type="text/javascript" src="../../../../jquery/jquery-3.7.1.min.js"></script>
|
|
<script type="text/javascript" src="../../../../jquery/jquery-ui.min.js"></script>
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript"><!--
|
|
try {
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="ICustomAbility (CustomNPC-Plus 1.11 API)";
|
|
}
|
|
}
|
|
catch(err) {
|
|
}
|
|
//-->
|
|
var data = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6};
|
|
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
|
|
var altColor = "altColor";
|
|
var rowColor = "rowColor";
|
|
var tableTab = "tableTab";
|
|
var activeTableTab = "activeTableTab";
|
|
var pathtoroot = "../../../../";
|
|
var useModuleDirectories = true;
|
|
loadScripts(document, 'script');</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
<header role="banner">
|
|
<nav role="navigation">
|
|
<div class="fixedNav">
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="topNav"><a id="navbar.top">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a id="navbar.top.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../../index.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../index-all.html">Index</a></li>
|
|
<li><a href="../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
<div class="aboutLanguage"><div id="javadoc-header"> <a href="/CustomNPC-Plus/" class="header-brand"> <div class="header-title"> CustomNPC+ <span>Javadoc Reference</span> </div> </a> <a href="/CustomNPC-Plus/" class="header-back"> Back to Index </a> </div></div>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList" id="allclasses_navbar_top">
|
|
<li><a href="../../../../allclasses.html">All Classes</a></li>
|
|
</ul>
|
|
<ul class="navListSearch">
|
|
<li><label for="search">SEARCH:</label>
|
|
<input type="text" id="search" value="search" disabled="disabled">
|
|
<input type="reset" id="reset" value="reset" disabled="disabled">
|
|
</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>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li>Field | </li>
|
|
<li>Constr | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li>Field | </li>
|
|
<li>Constr | </li>
|
|
<li><a href="#method.detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a id="skip.navbar.top">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
</div>
|
|
<div class="navPadding"> </div>
|
|
<script type="text/javascript"><!--
|
|
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
|
//-->
|
|
</script>
|
|
</nav>
|
|
</header>
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<main role="main">
|
|
<div class="header">
|
|
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">noppes.npcs.api.ability</a></div>
|
|
<h2 title="Interface ICustomAbility" class="title">Interface ICustomAbility</h2>
|
|
</div>
|
|
<div class="contentContainer">
|
|
<div class="description">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<dl>
|
|
<dt>All Superinterfaces:</dt>
|
|
<dd><code><a href="IAbility.html" title="interface in noppes.npcs.api.ability">IAbility</a></code>, <code><a href="IAbilityAction.html" title="interface in noppes.npcs.api.ability">IAbilityAction</a></code></dd>
|
|
</dl>
|
|
<hr>
|
|
<pre>public interface <span class="typeNameLabel">ICustomAbility</span>
|
|
extends <a href="IAbility.html" title="interface in noppes.npcs.api.ability">IAbility</a></pre>
|
|
<div class="block">A custom (script-driven) ability whose behavior is entirely defined by script event hooks.
|
|
Supports both instant execution mode and toggle mode.</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="summary">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
<section>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="method.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Summary</h3>
|
|
<table class="memberSummary">
|
|
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colSecond" scope="col">Method</th>
|
|
<th class="colLast" scope="col">Description</th>
|
|
</tr>
|
|
<tr id="i0" class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDurationTicks()">getDurationTicks</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Get the duration in ticks for instant mode (non-toggle).</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i1" class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTargetingModeType()">getTargetingModeType</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Get the targeting mode ordinal.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i2" class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTelegraphActiveTicks()">getTelegraphActiveTicks</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Get how many ticks the telegraph persists during the active phase.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i3" class="rowColor">
|
|
<td class="colFirst"><code>float</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTelegraphAngle()">getTelegraphAngle</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Get the telegraph angle in degrees (used by CONE shape).</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i4" class="altColor">
|
|
<td class="colFirst"><code>float</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTelegraphInnerRadius()">getTelegraphInnerRadius</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Get the telegraph inner radius (used by RING, CONE shapes).</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i5" class="rowColor">
|
|
<td class="colFirst"><code>float</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTelegraphLength()">getTelegraphLength</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Get the telegraph length (used by LINE, CONE shapes).</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i6" class="altColor">
|
|
<td class="colFirst"><code>float</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTelegraphRadius()">getTelegraphRadius</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Get the telegraph radius (used by CIRCLE, RING, SQUARE shapes).</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i7" class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTelegraphShapeType()">getTelegraphShapeType</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Get the telegraph shape type ordinal.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i8" class="altColor">
|
|
<td class="colFirst"><code>float</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTelegraphWidth()">getTelegraphWidth</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Get the telegraph width (used by LINE shape).</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i9" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isSyncTelegraphWithDuration()">isSyncTelegraphWithDuration</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Whether telegraph active ticks are synced to the ability duration.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i10" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setDurationTicks(int)">setDurationTicks</a></span>​(int ticks)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Set the duration in ticks for instant mode.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i11" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setSyncTelegraphWithDuration(boolean)">setSyncTelegraphWithDuration</a></span>​(boolean sync)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Set whether telegraph active ticks should sync to the ability duration.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i12" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setTargetingModeType(int)">setTargetingModeType</a></span>​(int type)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Set the targeting mode by ordinal.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i13" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setTelegraphActiveTicks(int)">setTelegraphActiveTicks</a></span>​(int ticks)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Set how many ticks the telegraph persists during the active phase.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i14" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setTelegraphAngle(float)">setTelegraphAngle</a></span>​(float angle)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Set the telegraph angle in degrees.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i15" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setTelegraphInnerRadius(float)">setTelegraphInnerRadius</a></span>​(float innerRadius)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Set the telegraph inner radius.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i16" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setTelegraphLength(float)">setTelegraphLength</a></span>​(float length)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Set the telegraph length.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i17" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setTelegraphRadius(float)">setTelegraphRadius</a></span>​(float radius)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Set the telegraph radius.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i18" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setTelegraphShapeType(int)">setTelegraphShapeType</a></span>​(int type)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Set the telegraph shape type by ordinal.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i19" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setTelegraphWidth(float)">setTelegraphWidth</a></span>​(float width)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Set the telegraph width.</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="methods.inherited.from.class.noppes.npcs.api.ability.IAbility">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from interface noppes.npcs.api.ability.<a href="IAbility.html" title="interface in noppes.npcs.api.ability">IAbility</a></h3>
|
|
<code><a href="IAbility.html#getAllowedByType()">getAllowedByType</a>, <a href="IAbility.html#getBurstAmount()">getBurstAmount</a>, <a href="IAbility.html#getBurstDelay()">getBurstDelay</a>, <a href="IAbility.html#getCooldownTicks()">getCooldownTicks</a>, <a href="IAbility.html#getCurrentTick()">getCurrentTick</a>, <a href="IAbility.html#getDazedTicks()">getDazedTicks</a>, <a href="IAbility.html#getDisplayName()">getDisplayName</a>, <a href="IAbility.html#getId()">getId</a>, <a href="IAbility.html#getLockMovementType()">getLockMovementType</a>, <a href="IAbility.html#getMagicData()">getMagicData</a>, <a href="IAbility.html#getMaxRange()">getMaxRange</a>, <a href="IAbility.html#getMinRange()">getMinRange</a>, <a href="IAbility.html#getName()">getName</a>, <a href="IAbility.html#getNbt()">getNbt</a>, <a href="IAbility.html#getPhaseInt()">getPhaseInt</a>, <a href="IAbility.html#getRotationModeType()">getRotationModeType</a>, <a href="IAbility.html#getRotationPhaseType()">getRotationPhaseType</a>, <a href="IAbility.html#getToggleStateLabel(int)">getToggleStateLabel</a>, <a href="IAbility.html#getToggleStates()">getToggleStates</a>, <a href="IAbility.html#getTrackSpeedValue()">getTrackSpeedValue</a>, <a href="IAbility.html#getTypeId()">getTypeId</a>, <a href="IAbility.html#getWeight()">getWeight</a>, <a href="IAbility.html#getWindUpTicks()">getWindUpTicks</a>, <a href="IAbility.html#isBurstEnabled()">isBurstEnabled</a>, <a href="IAbility.html#isBurstOverlap()">isBurstOverlap</a>, <a href="IAbility.html#isBurstReplayAnimations()">isBurstReplayAnimations</a>, <a href="IAbility.html#isEnabled()">isEnabled</a>, <a href="IAbility.html#isExecuting()">isExecuting</a>, <a href="IAbility.html#isIgnoreCooldown()">isIgnoreCooldown</a>, <a href="IAbility.html#isIgnoreIFrames()">isIgnoreIFrames</a>, <a href="IAbility.html#isInterruptible()">isInterruptible</a>, <a href="IAbility.html#isMovementLockedDuringActive()">isMovementLockedDuringActive</a>, <a href="IAbility.html#isMovementLockedDuringWindup()">isMovementLockedDuringWindup</a>, <a href="IAbility.html#isPerAbilityCooldown()">isPerAbilityCooldown</a>, <a href="IAbility.html#isRotationLockedDuringActive()">isRotationLockedDuringActive</a>, <a href="IAbility.html#isRotationLockedDuringWindup()">isRotationLockedDuringWindup</a>, <a href="IAbility.html#isToggleable()">isToggleable</a>, <a href="IAbility.html#setAllowedByType(int)">setAllowedByType</a>, <a href="IAbility.html#setBurstAmount(int)">setBurstAmount</a>, <a href="IAbility.html#setBurstDelay(int)">setBurstDelay</a>, <a href="IAbility.html#setBurstEnabled(boolean)">setBurstEnabled</a>, <a href="IAbility.html#setBurstOverlap(boolean)">setBurstOverlap</a>, <a href="IAbility.html#setBurstReplayAnimations(boolean)">setBurstReplayAnimations</a>, <a href="IAbility.html#setCooldownTicks(int)">setCooldownTicks</a>, <a href="IAbility.html#setDazedTicks(int)">setDazedTicks</a>, <a href="IAbility.html#setDisplayName(java.lang.String)">setDisplayName</a>, <a href="IAbility.html#setEnabled(boolean)">setEnabled</a>, <a href="IAbility.html#setId(java.lang.String)">setId</a>, <a href="IAbility.html#setIgnoreCooldown(boolean)">setIgnoreCooldown</a>, <a href="IAbility.html#setIgnoreIFrames(boolean)">setIgnoreIFrames</a>, <a href="IAbility.html#setInterruptible(boolean)">setInterruptible</a>, <a href="IAbility.html#setLockMovementType(int)">setLockMovementType</a>, <a href="IAbility.html#setMaxRange(float)">setMaxRange</a>, <a href="IAbility.html#setMinRange(float)">setMinRange</a>, <a href="IAbility.html#setName(java.lang.String)">setName</a>, <a href="IAbility.html#setNbt(noppes.npcs.api.INbt)">setNbt</a>, <a href="IAbility.html#setPerAbilityCooldown(boolean)">setPerAbilityCooldown</a>, <a href="IAbility.html#setRotationModeType(int)">setRotationModeType</a>, <a href="IAbility.html#setRotationPhaseType(int)">setRotationPhaseType</a>, <a href="IAbility.html#setToggleStates(int)">setToggleStates</a>, <a href="IAbility.html#setTrackSpeedValue(float)">setTrackSpeedValue</a>, <a href="IAbility.html#setWeight(int)">setWeight</a>, <a href="IAbility.html#setWindUpTicks(int)">setWindUpTicks</a></code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="methods.inherited.from.class.noppes.npcs.api.ability.IAbilityAction">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from interface noppes.npcs.api.ability.<a href="IAbilityAction.html" title="interface in noppes.npcs.api.ability">IAbilityAction</a></h3>
|
|
<code><a href="IAbilityAction.html#isChain()">isChain</a></code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="details">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
<section>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="method.detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Detail</h3>
|
|
<a id="getDurationTicks()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getDurationTicks</h4>
|
|
<pre class="methodSignature">int getDurationTicks()</pre>
|
|
<div class="block">Get the duration in ticks for instant mode (non-toggle).</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>duration in ticks</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setDurationTicks(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setDurationTicks</h4>
|
|
<pre class="methodSignature">void setDurationTicks​(int ticks)</pre>
|
|
<div class="block">Set the duration in ticks for instant mode.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>ticks</code> - duration in ticks</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getTelegraphShapeType()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getTelegraphShapeType</h4>
|
|
<pre class="methodSignature">int getTelegraphShapeType()</pre>
|
|
<div class="block">Get the telegraph shape type ordinal.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>ordinal of TelegraphType: 0=CIRCLE, 1=RING, 2=LINE, 3=CONE, 4=POINT, 5=SQUARE, 6=NONE</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setTelegraphShapeType(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setTelegraphShapeType</h4>
|
|
<pre class="methodSignature">void setTelegraphShapeType​(int type)</pre>
|
|
<div class="block">Set the telegraph shape type by ordinal.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>type</code> - ordinal of TelegraphType</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getTargetingModeType()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getTargetingModeType</h4>
|
|
<pre class="methodSignature">int getTargetingModeType()</pre>
|
|
<div class="block">Get the targeting mode ordinal.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>ordinal of TargetingMode: 0=AGGRO_TARGET, 1=SELF, 2=AOE_SELF, 3=AOE_TARGET</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setTargetingModeType(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setTargetingModeType</h4>
|
|
<pre class="methodSignature">void setTargetingModeType​(int type)</pre>
|
|
<div class="block">Set the targeting mode by ordinal.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>type</code> - ordinal of TargetingMode</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getTelegraphActiveTicks()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getTelegraphActiveTicks</h4>
|
|
<pre class="methodSignature">int getTelegraphActiveTicks()</pre>
|
|
<div class="block">Get how many ticks the telegraph persists during the active phase.
|
|
When syncTelegraphWithDuration is true, this returns the duration ticks.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>telegraph active ticks</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setTelegraphActiveTicks(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setTelegraphActiveTicks</h4>
|
|
<pre class="methodSignature">void setTelegraphActiveTicks​(int ticks)</pre>
|
|
<div class="block">Set how many ticks the telegraph persists during the active phase.
|
|
Only used when syncTelegraphWithDuration is false.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>ticks</code> - telegraph active ticks</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="isSyncTelegraphWithDuration()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isSyncTelegraphWithDuration</h4>
|
|
<pre class="methodSignature">boolean isSyncTelegraphWithDuration()</pre>
|
|
<div class="block">Whether telegraph active ticks are synced to the ability duration.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>true if synced</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setSyncTelegraphWithDuration(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setSyncTelegraphWithDuration</h4>
|
|
<pre class="methodSignature">void setSyncTelegraphWithDuration​(boolean sync)</pre>
|
|
<div class="block">Set whether telegraph active ticks should sync to the ability duration.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>sync</code> - whether to sync</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getTelegraphRadius()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getTelegraphRadius</h4>
|
|
<pre class="methodSignature">float getTelegraphRadius()</pre>
|
|
<div class="block">Get the telegraph radius (used by CIRCLE, RING, SQUARE shapes).</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the telegraph radius</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setTelegraphRadius(float)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setTelegraphRadius</h4>
|
|
<pre class="methodSignature">void setTelegraphRadius​(float radius)</pre>
|
|
<div class="block">Set the telegraph radius.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>radius</code> - the telegraph radius</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getTelegraphInnerRadius()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getTelegraphInnerRadius</h4>
|
|
<pre class="methodSignature">float getTelegraphInnerRadius()</pre>
|
|
<div class="block">Get the telegraph inner radius (used by RING, CONE shapes).</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the inner radius</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setTelegraphInnerRadius(float)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setTelegraphInnerRadius</h4>
|
|
<pre class="methodSignature">void setTelegraphInnerRadius​(float innerRadius)</pre>
|
|
<div class="block">Set the telegraph inner radius.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>innerRadius</code> - the inner radius</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getTelegraphLength()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getTelegraphLength</h4>
|
|
<pre class="methodSignature">float getTelegraphLength()</pre>
|
|
<div class="block">Get the telegraph length (used by LINE, CONE shapes).</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the telegraph length</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setTelegraphLength(float)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setTelegraphLength</h4>
|
|
<pre class="methodSignature">void setTelegraphLength​(float length)</pre>
|
|
<div class="block">Set the telegraph length.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>length</code> - the telegraph length</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getTelegraphWidth()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getTelegraphWidth</h4>
|
|
<pre class="methodSignature">float getTelegraphWidth()</pre>
|
|
<div class="block">Get the telegraph width (used by LINE shape).</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the telegraph width</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setTelegraphWidth(float)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setTelegraphWidth</h4>
|
|
<pre class="methodSignature">void setTelegraphWidth​(float width)</pre>
|
|
<div class="block">Set the telegraph width.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>width</code> - the telegraph width</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getTelegraphAngle()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getTelegraphAngle</h4>
|
|
<pre class="methodSignature">float getTelegraphAngle()</pre>
|
|
<div class="block">Get the telegraph angle in degrees (used by CONE shape).</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the telegraph angle in degrees</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setTelegraphAngle(float)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>setTelegraphAngle</h4>
|
|
<pre class="methodSignature">void setTelegraphAngle​(float angle)</pre>
|
|
<div class="block">Set the telegraph angle in degrees.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>angle</code> - the angle in degrees</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<footer role="contentinfo">
|
|
<nav role="navigation">
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<div class="bottomNav"><a id="navbar.bottom">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a id="navbar.bottom.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../../index.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../index-all.html">Index</a></li>
|
|
<li><a href="../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
<div class="aboutLanguage"><script> (function() { // Fix uppercase text in table cells // Javadoc 11: method names are in th[scope="row"] a, not td a function fixCase() { document.querySelectorAll("th[scope='row'] a, td a, .memberNameLink a").forEach(function(el) { var t = el.textContent.trim(); if (t.length > 2 && t === t.toUpperCase() && t.indexOf(" ") === -1) { el.textContent = t.toLowerCase(); } }); } // Correct navPadding = topNav height + subNav height // Uses !important to override jQuery's inline style function fixPadding() { var topNav = document.querySelector(".topNav"); var subNav = document.querySelector(".subNav"); var pad = document.querySelector(".navPadding"); if (!pad) return; var h = (topNav ? topNav.offsetHeight : 0) + (subNav ? subNav.offsetHeight : 0); if (h > 0) { pad.style.setProperty("padding-top", h + "px", "important"); } } document.addEventListener("DOMContentLoaded", function() { fixCase(); // Run fixPadding after jQuery has had its chance setTimeout(fixPadding, 0); setTimeout(fixPadding, 50); setTimeout(fixPadding, 200); // Use MutationObserver to permanently override any further jQuery writes var pad = document.querySelector(".navPadding"); if (pad) { var observer = new MutationObserver(function() { fixPadding(); }); observer.observe(pad, { attributes: true, attributeFilter: ["style"] }); } }); })(); </script></div>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList" id="allclasses_navbar_bottom">
|
|
<li><a href="../../../../allclasses.html">All Classes</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>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li>Field | </li>
|
|
<li>Constr | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li>Field | </li>
|
|
<li>Constr | </li>
|
|
<li><a href="#method.detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a id="skip.navbar.bottom">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
</nav>
|
|
</footer>
|
|
</body>
|
|
</html>
|