From f9570085f4750235101b0dda9f55da45c8a249ca Mon Sep 17 00:00:00 2001 From: Ayase <137056643@qq.com> Date: Wed, 23 May 2018 23:11:39 +0800 Subject: [PATCH] update readme.md --- README.md | 36 +++++++++++------------------------- README_EN.md | 17 +++++++++++++++++ 2 files changed, 28 insertions(+), 25 deletions(-) create mode 100644 README_EN.md diff --git a/README.md b/README.md index d24d0e3..8164476 100644 --- a/README.md +++ b/README.md @@ -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. +* 重新生成. diff --git a/README_EN.md b/README_EN.md new file mode 100644 index 0000000..d2115fd --- /dev/null +++ b/README_EN.md @@ -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.