update readme.md

This commit is contained in:
Ayase
2018-06-08 22:41:25 +08:00
parent 6e1c062b53
commit cd53cc25b1
3 changed files with 35 additions and 27 deletions

View File

@@ -1,17 +1,21 @@
# mod-LuaEngine
中文|[english](README_EN.md)
english | [chinese](README_CN.md)
一个用于AzerothCore的ELUNA模块.
a Eluna module for AzerothCore
为了兼容AzerothCore.更改了一个eluna的api
To make Eluna compatible with Azerothcore.one lua Api has been changed.
```
OnConfigLoad(bool reload) => OnConfigLoad(bool reload, bool isBefore)
```
如何安装:
* 下载这个模块:[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.
* 重新生成.
How to install:
* download or clone this module:
> [download zip file.](https://github.com/azerothcore/mod-eluna-lua-engine/archive/master.zip)
> 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:
> [download zip file.](https://github.com/ElunaLuaEngine/Eluna/archive/master.zip)
> clone `git clone https://github.com/ElunaLuaEngine/Eluna.git`
* Put it in the lua module folder:mod-LuaEngine/LuaEngine
* cmake again
* rebuild.

21
README_CN.md Normal file
View File

@@ -0,0 +1,21 @@
# mod-LuaEngine
[english](README.md) | 中文
一个用于AzerothCore的ELUNA模块.
为了兼容AzerothCore.更改了一个eluna的api
```
OnConfigLoad(bool reload) => OnConfigLoad(bool reload, bool isBefore)
```
如何安装:
* 下载或者克隆这个模块:
> [下载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的核心文件:
> [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.
* 重新生成.

View File

@@ -1,17 +0,0 @@
# 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.