update readme.md

This commit is contained in:
Ayase
2019-02-18 23:45:56 +08:00
parent 8e08b6a9fc
commit 12ab5ef949
2 changed files with 20 additions and 23 deletions

View File

@@ -1,21 +1,20 @@
# mod-LuaEngine
english | [chinese](README_CN.md)
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)
```
a Eluna module for AzerothCore.
How to install:
* download or clone this module:
1. download or clone this module:
> [download zip file.](https://github.com/azerothcore/mod-eluna-lua-engine/archive/master.zip)
> or clone `git clone https://github.com/azerothcore/mod-eluna-lua-engine.git`
* Put it in the modules folder of the Azerothcore.
* download or clone the ELUNA core file:
2. Put it in the modules folder of the Azerothcore.
3. download or clone the ELUNA core file:
> [download zip file.](https://github.com/ElunaLuaEngine/Eluna/archive/master.zip)
> or clone `git clone https://github.com/ElunaLuaEngine/Eluna.git`
* Put it in the lua module folder:mod-LuaEngine/LuaEngine
* cmake again
* rebuild.
4. Put it in the lua module folder:mod-LuaEngine/LuaEngine
5. cmake again
6. rebuild.
Eluna API : [http://www.elunaengine.com/](http://www.elunaengine.com/)

View File

@@ -3,19 +3,17 @@
一个用于AzerothCore的ELUNA模块.
为了兼容AzerothCore.更改了一个eluna的api
```
OnConfigLoad(bool reload) => OnConfigLoad(bool reload, bool isBefore)
```
如何安装:
* 下载或者克隆这个模块:
1. 下载或者克隆这个模块:
> [下载zip压缩包](https://github.com/azerothcore/mod-eluna-lua-engine/archive/master.zip)
> 或者克隆 `git clone https://github.com/azerothcore/mod-eluna-lua-engine.git`
* 解压并放到Azerothcore源码的modules文件夹中.
* 下载或者克隆ELUNA的核心文件:
2. 解压并放到Azerothcore源码的modules文件夹中.
3. 下载或者克隆ELUNA的核心文件:
> [download zip file.](https://github.com/ElunaLuaEngine/Eluna/archive/master.zip)
> clone `git clone https://github.com/ElunaLuaEngine/Eluna.git`
* 解压并放置到模块的LuaEngine文件夹中:mod-LuaEngine/LuaEngine
* 重新cmake.
* 重新生成.
4. 解压并放置到模块的LuaEngine文件夹中:mod-LuaEngine/LuaEngine
5. 重新cmake.
6. 重新生成.
Eluna API : [http://www.elunaengine.com/](http://www.elunaengine.com/)