• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<div class='api-docs-breadcrumbs'><a href="index.html">test</a> / <a href="./magic.html">magic</a></div>
2<h1>magic</h1>
3<div class="overload-group"><a name="$magic(kotlin.String)"></a>
4<div class="signature"><code><span class="keyword">fun </span><span class="identifier">magic</span><span class="symbol">(</span><span class="parameterName" id="$magic(kotlin.String)/spell">spell</span><span class="symbol">:</span>&nbsp;<span class="identifier">String</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Int</span></code></div>
5<h3>Parameters</h3>
6<p><a name="spell"></a>
7<code>spell</code> - The text of spell, often distributed on scrolls</p>
8<p><strong>Return</strong> Spell ID for future casts</p>
9</div>
10<div class="overload-group"><a name="$magic(kotlin.Int)"></a>
11<div class="signature"><code><span class="keyword">fun </span><span class="identifier">magic</span><span class="symbol">(</span><span class="parameterName" id="$magic(kotlin.Int)/spell">spell</span><span class="symbol">:</span>&nbsp;<span class="identifier">Int</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Int</span></code></div>
12<h3>Parameters</h3>
13<p><a name="spell"></a>
14<code>spell</code> - Spell ID of previously casted spell</p>
15<p><strong>Return</strong> Spell ID for future casts</p>
16</div>
17