mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
77 lines
3.1 KiB
HTML
77 lines
3.1 KiB
HTML
{% extends '_base.html' %}
|
|
|
|
|
|
{% block document_title -%}
|
|
Eluna API Documentation
|
|
{%- endblock %}
|
|
|
|
|
|
{% block content %}
|
|
<div class='docblock'>
|
|
<h1 id="the-eluna-engine-api" class='section-header'>
|
|
<a href="#the-eluna-engine-api">The Eluna Lua Engine© API</a>
|
|
</h1>
|
|
<p>
|
|
The Eluna Lua Engine© API allows you to add your own Lua code to be executed when certain events (called "hooks") occur.
|
|
</p>
|
|
<p>
|
|
Add a new in-game command, give life to creatures with new AI, or even light players who try to duel on fire!
|
|
If the hook exists, you can script it.
|
|
</p>
|
|
|
|
<h2 id="about-eluna" class='section-header'>
|
|
<a href="#about-eluna">About Eluna</a>
|
|
</h2>
|
|
<p>
|
|
Eluna is a <a href="http://www.lua.org/">Lua</a> engine for World of Warcraft emulators.
|
|
Eluna supports <a href="http://cmangos.net/">CMaNGOS</a>/<a href="https://www.getmangos.eu/home.php">MaNGOS</a>
|
|
and <a href="http://www.trinitycore.org/">TrinityCore</a>.
|
|
</p>
|
|
<p>
|
|
To get Eluna, simply clone your favorite version of MaNGOS or Trinity from
|
|
<a href="https://github.com/ElunaLuaEngine">our Github account</a>.
|
|
Each fork there has Eluna already integrated, so you just need to compile and go!
|
|
</p>
|
|
<p>
|
|
Follow us on <a href="https://twitter.com/EmuDevs">our Twitter page</a> to view the latest news about what's going on with Eluna.
|
|
</p>
|
|
|
|
<h2 id="tutorials-and-guides" class='section-header'>
|
|
<a href="#tutorials-and-guides">Tutorials & Guides</a>
|
|
</h2>
|
|
<p>
|
|
We haven't written tutorials yet, but when we do, we'll put the links here.
|
|
</p>
|
|
|
|
<h2 id="about-this-documentation" class='section-header'>
|
|
<a href="#about-this-documentation">About this documentation</a>
|
|
</h2>
|
|
<p>
|
|
The layout, CSS, and Javascript code for this documentation was borrowed from <a href="http://doc.rust-lang.org/">doc.rust-lang.org</a>.
|
|
</p>
|
|
<p>
|
|
The documentation generator was originally written by <a href="https://github.com/Patman64">Patman64</a> and is maintained by the Eluna team.
|
|
</p>
|
|
</div>
|
|
|
|
<h2 id='modules' class='section-header'><a href="#modules">Classes</a></h2>
|
|
<table>
|
|
{%- for class in classes %}
|
|
<tr>
|
|
<td>
|
|
{%- if class.fully_documented %}
|
|
<a class='stability Stable' title='Fully Documented'></a>
|
|
{%- elif class.fully_undocumented %}
|
|
<a class='stability Experimental' title='Fully Undocumented'></a>
|
|
{%- else %}
|
|
<a class='stability Unstable' title='Partially Documented'></a>
|
|
{%- endif %}
|
|
<a class='mod' href='{{ root(class.name + '/index.html') }}'>{{ class.name }}</a>
|
|
</td>
|
|
<td class='docblock short'>
|
|
<p>{{ class.short_description|parse_links }}</p>
|
|
</td>
|
|
</tr>
|
|
{%- endfor %}
|
|
</table>
|
|
{% endblock %} |