update readme.md

This commit is contained in:
Ayase
2018-05-23 23:11:39 +08:00
parent 4f4ad232e7
commit f9570085f4
2 changed files with 28 additions and 25 deletions

View File

@@ -1,31 +1,17 @@
# mod-LuaEngine
azerothcore 的 eluna 模块
中文|[english](README_EN.md)
Eluna API changes:(更改了一个eluna的api)
一个用于AzerothCore的ELUNA模块.
为了兼容AzerothCore.更改了一个eluna的api
```
OnConfigLoad(bool reload) => OnConfigLoad(bool reload, bool isBefore)
```
-------
1. Merge my acore's ElunaAzerothwotlk branch.
https://github.com/AyaseCore/azerothcore-wotlk/tree/ElunaAzerothWotlk
2.Pull my lua module. Put it in the modules folder of acore.
https://github.com/AyaseCore/mod-LuaEngine
3.Open folders:Modules /mod-LuaEngine/LuaEngine.
4.Pull the ElunaAzerothwotlk branch of my eluna.
https://github.com/AyaseCore/Eluna/tree/ElunaAzerothWotlk
5.And then recompile.
如何安装:
* 下载这个模块:[download](https://github.com/AyaseCore/mod-LuaEngine/archive/master.zip)
* 解压并放到Azerothcore源码的modules文件夹中.
* 下载ELUNA的核心文件:[download](https://github.com/AyaseCore/Eluna/archive/ElunaAzerothWotlk.zip)
* 解压并放置到模块的LuaEngine文件夹中:mod-LuaEngine/LuaEngine
* 重新cmake.
* 重新生成.

17
README_EN.md Normal file
View File

@@ -0,0 +1,17 @@
# mod-LuaEngine
[chinese](README.md) | english
a Eluna module for AzerothCore
To make Eluna compatible with Azerothcore.one lua Api has been changed.
```
OnConfigLoad(bool reload) => OnConfigLoad(bool reload, bool isBefore)
```
How to install:
* download this module:[download](https://github.com/AyaseCore/mod-LuaEngine/archive/master.zip)
* unzip this module.Put it in the modules folder of the Azerothcore.
* download ELUNA core file:[download](https://github.com/AyaseCore/Eluna/archive/ElunaAzerothWotlk.zip)
* unzip,Put it in the lua module folder:mod-LuaEngine/LuaEngine
* cmake again
* rebuild.