Deploying to gh-pages from @ LingASDJ/RW-API-Code@9881fe4940 🚀

This commit is contained in:
mason369 2023-07-18 04:12:56 +00:00
parent 24b07b3bfd
commit 50691cd4e8
17 changed files with 37 additions and 37 deletions

File diff suppressed because one or more lines are too long

View File

@ -51,7 +51,7 @@
<span class="line"><span style="color:#89DDFF;">&lt;/</span><span style="color:#F07178;">iframe</span><span style="color:#89DDFF;">&gt;</span></span></code></pre></div><h4 id="_3-插入表格" tabindex="-1">3.插入表格 <a class="header-anchor" href="#_3-插入表格" aria-label="Permalink to &quot;3.插入表格&quot;"></a></h4><h3 id="代码演示" tabindex="-1">代码演示: <a class="header-anchor" href="#代码演示" aria-label="Permalink to &quot;代码演示:&quot;"></a></h3><table><thead><tr><th>A</th><th>B</th><th>C</th></tr></thead><tbody><tr><td>1</td><td>2</td><td>3</td></tr></tbody></table><h3 id="代码例子" tabindex="-1">代码例子: <a class="header-anchor" href="#代码例子" aria-label="Permalink to &quot;代码例子:&quot;"></a></h3><div class="language-markdown"><button title="Copy Code" class="copy"></button><span class="lang">markdown</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;">|A|B|C| </span></span>
<span class="line"><span style="color:#A6ACCD;">|-|-|-</span></span>
<span class="line"><span style="color:#A6ACCD;">|1|2|3|</span></span></code></pre></div><p>如果你仍然不会Markdown表格写法这里给你一个链接</p><h3><a href="https://tableconvert.com/zh-cn/markdown-to-markdown" target="_blank">TableConvert-MD-点击进入</a></h3><h3 id="_4-扩展写法-高级" tabindex="-1">4.扩展写法(高级) <a class="header-anchor" href="#_4-扩展写法-高级" aria-label="Permalink to &quot;4.扩展写法(高级)&quot;"></a></h3><p>有一些时候,我们可能需要在已经标记的后面再添加东西, 但Markdown解析方式在标签后面再有一个标签就不会识别了。<br> 所以这里我们必须直接使用原生Html的代码 通过浏览器的检查元素,你应该能迅速找到模块框架, 将它的模块元素区域复制下来,并调用。</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>该文档可能还有很多缺陷如果你有更好的建议请发送Issues或者PR给我。</p></div><div class="info custom-block"><p class="custom-block-title">INFO</p><p>编写于2023-5-9 RTS-Code-API[第3版-第3次修订]</p></div></div></div></main><footer class="VPDocFooter" data-v-e9631fd0 data-v-face870a><!--[--><!--]--><!----><div class="prev-next" data-v-face870a><div class="pager" data-v-face870a><!----></div><div class="pager" data-v-face870a><a class="pager-link next" href="/" data-v-face870a><span class="desc" data-v-face870a>下一篇文章</span><span class="title" data-v-face870a>主页-Home</span></a></div></div></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><footer class="VPFooter has-sidebar" data-v-99cf8a88 data-v-f4388a15><div class="container" data-v-f4388a15><p class="message" data-v-f4388a15>Rosy-Code Ling Web Stuido</p><p class="copyright" data-v-f4388a15>Copyright © 2023-RW-API-Code</p></div></footer><!--[--><!--]--></div></div>
<script>__VP_HASH_MAP__ = JSON.parse("{\"src_map_tsada.md\":\"811816ab\",\"api-dev.md\":\"2746397b\",\"src_debug_test.md\":\"0cc1dc97\",\"index.md\":\"1b70564a\",\"src_rw-engine_quick-start.md\":\"bbce196f\",\"src_unit_core.md\":\"ff4c880b\",\"src_unit_graphics.md\":\"29c9f1b1\",\"src_unit_loginboolean.md\":\"8805951f\",\"src_unit_canbuild.md\":\"c61dc0b5\"}")
<script>__VP_HASH_MAP__ = JSON.parse("{\"src_map_tsada.md\":\"811816ab\",\"src_debug_test.md\":\"0cc1dc97\",\"src_rw-engine_quick-start.md\":\"bbce196f\",\"src_unit_canbuild.md\":\"ce0ce3f9\",\"api-dev.md\":\"2746397b\",\"index.md\":\"1b70564a\",\"src_unit_loginboolean.md\":\"6c4efe2e\",\"src_unit_graphics.md\":\"29c9f1b1\",\"src_unit_core.md\":\"fbda3035\"}")
__VP_SITE_DATA__ = JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"RW-API_Code\",\"description\":\"Easy Code\",\"base\":\"/\",\"head\":[],\"appearance\":true,\"themeConfig\":{\"nav\":[{\"text\":\"主页\",\"link\":\"/\"},{\"text\":\"单位API\",\"link\":\"/src/Unit/core\"},{\"text\":\"地图API\",\"link\":\"/src/Map/teada\"},{\"text\":\"调试API\",\"link\":\"/src/Debug/test\"},{\"text\":\"编写指南\",\"link\":\"/api-dev\"},{\"text\":\"RW-Engine指南\",\"link\":\"/quick-start\"}],\"docFooter\":{\"prev\":\"上一篇文章\",\"next\":\"下一篇文章\"},\"sidebar\":[{\"text\":\"RW-API-Code\",\"items\":[{\"text\":\"主页-Home\",\"link\":\"/\"},{\"text\":\"-------------------------\",\"link\":\"\"},{\"text\":\"[API-单位组-Unit]\",\"link\":\"\"},{\"text\":\"核心-CORE\",\"link\":\"/src/Unit/core\"},{\"text\":\"可建造-CANBUILD\",\"link\":\"/src/Unit/canbuild\"},{\"text\":\"图像-GRAPHICS\",\"link\":\"/src/Unit/graphics\"},{\"text\":\"逻辑-LOGIC\",\"link\":\"/src/Unit/loginboolean\"},{\"text\":\"-------------------------\",\"link\":\"\"}]}],\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/LingASDJ/RW-API-Code/\"}],\"footer\":{\"message\":\"Rosy-Code Ling Web Stuido\",\"copyright\":\"Copyright © 2023-RW-API-Code\"},\"search\":{\"provider\":\"local\",\"options\":{\"locales\":{\"zh\":{\"translations\":{\"button\":{\"buttonText\":\"搜索文档\",\"buttonAriaLabel\":\"搜索文档\"},\"modal\":{\"noResultsText\":\"你干嘛~哎呦~无法找到相关结果\",\"resetButtonTitle\":\"清除查询条件\",\"footer\":{\"selectText\":\"选择\",\"navigateText\":\"切换\",\"closeText\":\"关闭\",\"closeKeyAriaLabel\":\"关闭\",\"selectKeyAriaLabel\":\"选择\",\"navigateUpKeyAriaLabel\":\"上一个\",\"navigateDownKeyAriaLabel\":\"下一个\"},\"backButtonTitle\":\"返回上一级\",\"displayDetails\":\"显示详情\"}}}},\"translations\":{\"button\":{\"buttonText\":\"搜索文档\",\"buttonAriaLabel\":\"搜索文档\"},\"modal\":{\"noResultsText\":\"无法找到相关结果\",\"resetButtonTitle\":\"清除查询条件\",\"footer\":{\"selectText\":\"选择\",\"navigateText\":\"切换\",\"closeText\":\"关闭\",\"closeKeyAriaLabel\":\"关闭\",\"selectKeyAriaLabel\":\"选择\",\"navigateUpKeyAriaLabel\":\"上一个\",\"navigateDownKeyAriaLabel\":\"下一个\"},\"backButtonTitle\":\"返回上一级\",\"displayDetails\":\"显示详情\"}}}}},\"locales\":{},\"scrollOffset\":90,\"cleanUrls\":true}")</script>
</body>

View File

@ -1,4 +1,4 @@
import{_ as n,H as i,o,c,k as s,a,L as t,w as p,V as e}from"./chunks/framework.65b6fa2b.js";const _=JSON.parse('{"title":"[canBuild]建造组","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"src/Unit/canbuild.md","filePath":"src/Unit/canbuild.md"}'),r={name:"src/Unit/canbuild.md"},d=e(`<h1 id="canbuild-建造组" tabindex="-1"><strong>[canBuild]建造组</strong> <a class="header-anchor" href="#canbuild-建造组" aria-label="Permalink to &quot;**[canBuild]建造组**&quot;"></a></h1><h3 id="canbuild-name" tabindex="-1">[canBuild_NAME] <a class="header-anchor" href="#canbuild-name" aria-label="Permalink to &quot;[canBuild_NAME]&quot;"></a></h3><h4 id="canbuild-name-代码简介" tabindex="-1">[canBuild_NAME]-代码简介 <a class="header-anchor" href="#canbuild-name-代码简介" aria-label="Permalink to &quot;[canBuild_NAME]-代码简介&quot;"></a></h4><p>代码: [canBuild_NAME] 中文释义:可建造_名字 类型:字符型 canBuild_NAME = 组名 如果不填写此组名 将默认拥有一个命名为空格的组名。</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>建议将NAME命名为此组的描述或可建造单位的昵称。<br> 以便于阅读代码。</p></div><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-rhRpN" id="tab-w2bcEGv" checked="checked"><label for="tab-w2bcEGv">allureluoli</label></div><div class="blocks"><div class="language-bash active"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[</span><span style="color:#A6ACCD;">canBuild_造小坦</span><span style="color:#89DDFF;">]</span></span>
import{_ as n,H as i,o,c,k as s,a,L as t,w as p,V as e}from"./chunks/framework.65b6fa2b.js";const _=JSON.parse('{"title":"[canBuild]建造组","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"src/Unit/canbuild.md","filePath":"src/Unit/canbuild.md"}'),r={name:"src/Unit/canbuild.md"},d=e(`<h1 id="canbuild-建造组" tabindex="-1"><strong>[canBuild]建造组</strong> <a class="header-anchor" href="#canbuild-建造组" aria-label="Permalink to &quot;**[canBuild]建造组**&quot;"></a></h1><h3 id="canbuild-name" tabindex="-1">[canBuild_NAME] <a class="header-anchor" href="#canbuild-name" aria-label="Permalink to &quot;[canBuild_NAME]&quot;"></a></h3><h4 id="canbuild-name-代码简介" tabindex="-1">[canBuild_NAME]-代码简介 <a class="header-anchor" href="#canbuild-name-代码简介" aria-label="Permalink to &quot;[canBuild_NAME]-代码简介&quot;"></a></h4><p>代码: [canBuild_NAME] 中文释义:可建造_名字 类型:字符型 canBuild_NAME = 组名 如果不填写此组名 将默认拥有一个命名为空格的组名。</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>建议将NAME命名为此组的描述或可建造单位的昵称。<br> 以便于阅读代码。</p></div><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-tXzjO" id="tab-fKFUJGa" checked="checked"><label for="tab-fKFUJGa">allureluoli</label></div><div class="blocks"><div class="language-bash active"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[</span><span style="color:#A6ACCD;">canBuild_造小坦</span><span style="color:#89DDFF;">]</span></span>
<span class="line"><span style="color:#89DDFF;">[</span><span style="color:#A6ACCD;">canBuild_SmallTank</span><span style="color:#89DDFF;">]</span></span>
<span class="line"><span style="color:#89DDFF;">[</span><span style="color:#A6ACCD;">canBuild_</span><span style="color:#89DDFF;">]</span></span></code></pre></div></div></div><div class="danger custom-block"><p class="custom-block-title">DANGER</p><p>[canBuild_NAME] NAME<br> 线</p></div><h4 id="canbuild-name-" tabindex="-1">[canBuild_NAME]- <a class="header-anchor" href="#canbuild-name-" aria-label="Permalink to &quot;[canBuild_NAME]-&quot;"></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[canBuild_SmallTank]</span><span style="color:#A6ACCD;"> </span><span style="color:#676E95;font-style:italic;">#</span></span>
<span class="line"><span style="color:#89DDFF;">[canBuild_小坦克]</span><span style="color:#A6ACCD;"> </span><span style="color:#676E95;font-style:italic;">#</span></span>

View File

@ -1,4 +1,4 @@
import{_ as t,H as o,o as r,c,k as e,a,L as n,w as l,V as i}from"./chunks/framework.65b6fa2b.js";const E=JSON.parse('{"title":"[core]组","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"src/Unit/core.md","filePath":"src/Unit/core.md"}'),p={name:"src/Unit/core.md"},d=i(`<h1 id="core-组" tabindex="-1"><strong>[core]组</strong> <a class="header-anchor" href="#core-组" aria-label="Permalink to &quot;**[core]组**&quot;"></a></h1><h2 id="第一类-通用代码组" tabindex="-1">第一类-通用代码组 <a class="header-anchor" href="#第一类-通用代码组" aria-label="Permalink to &quot;第一类-通用代码组&quot;"></a></h2><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>以下的代码为<code>通用代码</code>,多半是必要的代码,如果不包括这些,可能在<code>绝大多数情况下导致错误</code>。</p></div><h3 id="name" tabindex="-1">name <a class="header-anchor" href="#name" aria-label="Permalink to &quot;name&quot;"></a></h3><h4 id="name-代码简介" tabindex="-1">name-代码简介 <a class="header-anchor" href="#name-代码简介" aria-label="Permalink to &quot;name-代码简介&quot;"></a></h4><p>代码:name 中文释义:名字 类型:字符型 隶属于:通用代码组</p><h4 id="name-要点指示" tabindex="-1">name-要点指示 <a class="header-anchor" href="#name-要点指示" aria-label="Permalink to &quot;name-要点指示&quot;"></a></h4><hr><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-Znv04" id="tab-UAC7xby" checked="checked"><label for="tab-UAC7xby">JDSALing</label><input type="radio" name="group-Znv04" id="tab-R8elXp6"><label for="tab-R8elXp6">Tobby3600</label></div><div class="blocks"><div class="language-bash active"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#FFCB6B;">定义单位原始名称,可以是中文。</span></span>
import{_ as t,H as o,o as r,c,k as e,a,L as n,w as l,V as i}from"./chunks/framework.65b6fa2b.js";const E=JSON.parse('{"title":"[core]组","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"src/Unit/core.md","filePath":"src/Unit/core.md"}'),p={name:"src/Unit/core.md"},d=i(`<h1 id="core-组" tabindex="-1"><strong>[core]组</strong> <a class="header-anchor" href="#core-组" aria-label="Permalink to &quot;**[core]组**&quot;"></a></h1><h2 id="第一类-通用代码组" tabindex="-1">第一类-通用代码组 <a class="header-anchor" href="#第一类-通用代码组" aria-label="Permalink to &quot;第一类-通用代码组&quot;"></a></h2><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>以下的代码为<code>通用代码</code>,多半是必要的代码,如果不包括这些,可能在<code>绝大多数情况下导致错误</code>。</p></div><h3 id="name" tabindex="-1">name <a class="header-anchor" href="#name" aria-label="Permalink to &quot;name&quot;"></a></h3><h4 id="name-代码简介" tabindex="-1">name-代码简介 <a class="header-anchor" href="#name-代码简介" aria-label="Permalink to &quot;name-代码简介&quot;"></a></h4><p>代码:name 中文释义:名字 类型:字符型 隶属于:通用代码组</p><h4 id="name-要点指示" tabindex="-1">name-要点指示 <a class="header-anchor" href="#name-要点指示" aria-label="Permalink to &quot;name-要点指示&quot;"></a></h4><hr><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-L1IA3" id="tab-sznvwny" checked="checked"><label for="tab-sznvwny">JDSALing</label><input type="radio" name="group-L1IA3" id="tab-A8v9N-t"><label for="tab-A8v9N-t">Tobby3600</label></div><div class="blocks"><div class="language-bash active"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#FFCB6B;">定义单位原始名称,可以是中文。</span></span>
<span class="line"><span style="color:#FFCB6B;">游戏使用它区分其它单位</span></span>
<span class="line"></span>
<span class="line"><span style="color:#FFCB6B;">如果没有在[displayText或者语言文件设置显示名称]</span></span>
@ -16,13 +16,13 @@ import{_ as t,H as o,o as r,c,k as e,a,L as n,w as l,V as i}from"./chunks/framew
<span class="line"><span style="color:#A6ACCD;">displayText_zh:中文标题</span></span>
<span class="line"></span>
<span class="line"><span style="color:#A6ACCD;">displayDescription: -English Description</span></span>
<span class="line"><span style="color:#A6ACCD;">displayDescription_zh:-中文描述</span></span></code></pre></div><hr><h3 id="price" tabindex="-1">price <a class="header-anchor" href="#price" aria-label="Permalink to &quot;price&quot;"></a></h3><h4 id="price-" tabindex="-1">price- <a class="header-anchor" href="#price-" aria-label="Permalink to &quot;price-&quot;"></a></h4><p>:price : : :</p><h4 id="price-" tabindex="-1">price- <a class="header-anchor" href="#price-" aria-label="Permalink to &quot;price-&quot;"></a></h4><p></p><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-W1wnT" id="tab-YFcmQhF" checked="checked"><label for="tab-YFcmQhF">Tobby3600</label></div><div class="blocks"><div class="language-bash active"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#FFCB6B;">price使credit</span><span style="color:#A6ACCD;"> </span></span>
<span class="line"><span style="color:#A6ACCD;">displayDescription_zh:-中文描述</span></span></code></pre></div><hr><h3 id="price" tabindex="-1">price <a class="header-anchor" href="#price" aria-label="Permalink to &quot;price&quot;"></a></h3><h4 id="price-" tabindex="-1">price- <a class="header-anchor" href="#price-" aria-label="Permalink to &quot;price-&quot;"></a></h4><p>:price : : :</p><h4 id="price-" tabindex="-1">price- <a class="header-anchor" href="#price-" aria-label="Permalink to &quot;price-&quot;"></a></h4><p></p><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-1TPYP" id="tab-uvvOkTb" checked="checked"><label for="tab-uvvOkTb">Tobby3600</label></div><div class="blocks"><div class="language-bash active"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#FFCB6B;">price使credit</span><span style="color:#A6ACCD;"> </span></span>
<span class="line"><span style="color:#FFCB6B;">想要更改资源类型可以使用:</span></span>
<span class="line"><span style="color:#89DDFF;">\`</span><span style="color:#FFCB6B;">price:资源1</span><span style="color:#C3E88D;">=数值1,资源2=数值2,资源3=数值3,……</span><span style="color:#89DDFF;">\`</span><span style="color:#A6ACCD;"> </span><span style="color:#FFCB6B;">的格式</span></span>
<span class="line"><span style="color:#FFCB6B;">前提是此资源要在使用的单位进行定义</span></span></code></pre></div></div></div><h4 id="price-" tabindex="-1">price- <a class="header-anchor" href="#price-" aria-label="Permalink to &quot;price-&quot;"></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
<span class="line"><span style="color:#A6ACCD;">price:120,石油=80,=60</span></span></code></pre></div><hr><h3 id="radius" tabindex="-1">radius <a class="header-anchor" href="#radius" aria-label="Permalink to &quot;radius&quot;"></a></h3><h4 id="radius-" tabindex="-1">radius- <a class="header-anchor" href="#radius-" aria-label="Permalink to &quot;radius-&quot;"></a></h4><p>:radius : : :</p><h4 id="radius-" tabindex="-1">radius- <a class="header-anchor" href="#radius-" aria-label="Permalink to &quot;radius-&quot;"></a></h4><p><code></code><code></code> (px)</p><h4 id="radius-" tabindex="-1">radius- <a class="header-anchor" href="#radius-" aria-label="Permalink to &quot;radius-&quot;"></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
<span class="line"><span style="color:#A6ACCD;">radius:20</span></span></code></pre></div><hr><h3 id="mass" tabindex="-1">mass <a class="header-anchor" href="#mass" aria-label="Permalink to &quot;mass&quot;"></a></h3><h4 id="mass-" tabindex="-1">mass- <a class="header-anchor" href="#mass-" aria-label="Permalink to &quot;mass-&quot;"></a></h4><p>:mass : : :</p><h4 id="mass-" tabindex="-1">mass- <a class="header-anchor" href="#mass-" aria-label="Permalink to &quot;mass-&quot;"></a></h4><p><code></code></p><h4 id="mass-" tabindex="-1">mass- <a class="header-anchor" href="#mass-" aria-label="Permalink to &quot;mass-&quot;"></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
<span class="line"><span style="color:#A6ACCD;">mass:2000</span></span></code></pre></div><hr><h3 id="maxhp" tabindex="-1">maxHp <a class="header-anchor" href="#maxhp" aria-label="Permalink to &quot;maxHp&quot;"></a></h3><h4 id="maxhp-" tabindex="-1">maxHp- <a class="header-anchor" href="#maxhp-" aria-label="Permalink to &quot;maxHp-&quot;"></a></h4><p>:maxHp : : :</p><h4 id="maxhp-" tabindex="-1">maxHp- <a class="header-anchor" href="#maxhp-" aria-label="Permalink to &quot;maxHp-&quot;"></a></h4><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-nMLRV" id="tab-S0D8l6E" checked="checked"><label for="tab-S0D8l6E">tobby3600</label></div><div class="blocks"><div class="language-bash active"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#FFCB6B;"></span></span>
<span class="line"><span style="color:#A6ACCD;">mass:2000</span></span></code></pre></div><hr><h3 id="maxhp" tabindex="-1">maxHp <a class="header-anchor" href="#maxhp" aria-label="Permalink to &quot;maxHp&quot;"></a></h3><h4 id="maxhp-" tabindex="-1">maxHp- <a class="header-anchor" href="#maxhp-" aria-label="Permalink to &quot;maxHp-&quot;"></a></h4><p>:maxHp : : :</p><h4 id="maxhp-" tabindex="-1">maxHp- <a class="header-anchor" href="#maxhp-" aria-label="Permalink to &quot;maxHp-&quot;"></a></h4><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-PPmM2" id="tab-quYqSPs" checked="checked"><label for="tab-quYqSPs">tobby3600</label></div><div class="blocks"><div class="language-bash active"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#FFCB6B;"></span></span>
<span class="line"><span style="color:#FFCB6B;">单位默认生成时即是这个血量</span></span>
<span class="line"><span style="color:#82AAFF;">maxHp可以通过单位参考.maxHp</span><span style="color:#89DDFF;">()</span><span style="color:#A6ACCD;"></span></span>
<span class="line"><span style="color:#FFCB6B;">也可以通过[action]进行修改</span></span></code></pre></div></div></div><h4 id="maxhp-" tabindex="-1">maxHp- <a class="header-anchor" href="#maxhp-" aria-label="Permalink to &quot;maxHp-&quot;"></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
@ -61,7 +61,7 @@ import{_ as t,H as o,o as r,c,k as e,a,L as n,w as l,V as i}from"./chunks/framew
<span class="line"><span style="color:#676E95;font-style:italic;">#如果受到40以下的常规攻击则进行最低伤害判定</span></span></code></pre></div><hr><h3 id="borrowresourceswhilealive" tabindex="-1">borrowResourcesWhileAlive <a class="header-anchor" href="#borrowresourceswhilealive" aria-label="Permalink to &quot;borrowResourcesWhileAlive&quot;"></a></h3><h4 id="borrowresourceswhilealive-" tabindex="-1">borrowResourcesWhileAlive- <a class="header-anchor" href="#borrowresourceswhilealive-" aria-label="Permalink to &quot;borrowResourcesWhileAlive-&quot;"></a></h4><p>:armour : :Price :</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p> </p></div><h4 id="borrowresourceswhilealive-" tabindex="-1">borrowResourcesWhileAlive- <a class="header-anchor" href="#borrowresourceswhilealive-" aria-label="Permalink to &quot;borrowResourcesWhileAlive-&quot;"></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
<span class="line"><span style="color:#A6ACCD;">borrowResourcesWhileAlive:5000</span></span>
<span class="line"><span style="color:#676E95;font-style:italic;">#单位活着的时候给予5000金币死亡扣除5000金币</span></span>
<span class="line"><span style="color:#676E95;font-style:italic;">#一个小型贷款系统</span></span></code></pre></div><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-sngms" id="tab-7pG8Tmr" checked="checked"><label for="tab-7pG8Tmr"></label><input type="radio" name="group-sngms" id="tab-1bZBlWX"><label for="tab-1bZBlWX"></label></div><div class="blocks"><div class="language-bash active"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#FFCB6B;"></span></span>
<span class="line"><span style="color:#676E95;font-style:italic;">#一个小型贷款系统</span></span></code></pre></div><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-syB2B" id="tab-kVPMP-n" checked="checked"><label for="tab-kVPMP-n"></label><input type="radio" name="group-syB2B" id="tab-xJTiV0s"><label for="tab-xJTiV0s"></label></div><div class="blocks"><div class="language-bash active"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#FFCB6B;"></span></span>
<span class="line"><span style="color:#FFCB6B;">并经过一段时间让单位死亡</span><span style="color:#A6ACCD;"> </span></span>
<span class="line"><span style="color:#FFCB6B;">只需要4行代码即可实现试试看</span></span>
<span class="line"><span style="color:#FFCB6B;">提示dieOnZeroEnergy:true</span></span>

View File

@ -1 +1 @@
{"src_map_tsada.md":"811816ab","api-dev.md":"2746397b","src_debug_test.md":"0cc1dc97","index.md":"1b70564a","src_rw-engine_quick-start.md":"bbce196f","src_unit_core.md":"ff4c880b","src_unit_graphics.md":"29c9f1b1","src_unit_loginboolean.md":"8805951f","src_unit_canbuild.md":"c61dc0b5"}
{"src_map_tsada.md":"811816ab","src_debug_test.md":"0cc1dc97","src_rw-engine_quick-start.md":"bbce196f","src_unit_canbuild.md":"ce0ce3f9","api-dev.md":"2746397b","index.md":"1b70564a","src_unit_loginboolean.md":"6c4efe2e","src_unit_graphics.md":"29c9f1b1","src_unit_core.md":"fbda3035"}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -25,7 +25,7 @@
---.........
---你的mod2
</code></pre><h2 id="二-使用rw-engine" tabindex="-1">二.使用RW-Engine <a class="header-anchor" href="#二-使用rw-engine" aria-label="Permalink to &quot;二.使用RW-Engine&quot;"></a></h2><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>如没特殊注明函数均支持commonCallBack</p></div><h3 id="linetextview" tabindex="-1">LineTextView <a class="header-anchor" href="#linetextview" aria-label="Permalink to &quot;LineTextView&quot;"></a></h3><div class="info custom-block"><p class="custom-block-title">INFO</p><p>函数列表:<br> 1.setText <br> Data: (&quot;text&quot;,type=&quot;string&quot;) <br> 设置显示的文本 <br> 2.setTextMax <br> Data: (&quot;textMax&quot;,type=&quot;number&quot;) <br> 设置一行所能显示的最大文本数量 <br> 3.setTextColor <br> Data: (&quot;commonHeadLength&quot;,type=&quot;number&quot;) (&quot;indexStart&quot;,type=&quot;number&quot;) (&quot;indexEnd&quot;,type=&quot;number&quot;) (&quot;color&quot;,type=&quot;number&quot;) <br> 设置文本的颜色 <br> 4.setTextScale <br> Data: (&quot;textScale&quot;,type=&quot;number&quot;) <br> 设置文本的缩放 \</p></div></div></div></main><footer class="VPDocFooter" data-v-e9631fd0 data-v-face870a><!--[--><!--]--><!----><div class="prev-next" data-v-face870a><div class="pager" data-v-face870a><!----></div><div class="pager" data-v-face870a><a class="pager-link next" href="/" data-v-face870a><span class="desc" data-v-face870a>下一篇文章</span><span class="title" data-v-face870a>主页-Home</span></a></div></div></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><footer class="VPFooter has-sidebar" data-v-99cf8a88 data-v-f4388a15><div class="container" data-v-f4388a15><p class="message" data-v-f4388a15>Rosy-Code Ling Web Stuido</p><p class="copyright" data-v-f4388a15>Copyright © 2023-RW-API-Code</p></div></footer><!--[--><!--]--></div></div>
<script>__VP_HASH_MAP__ = JSON.parse("{\"src_map_tsada.md\":\"811816ab\",\"api-dev.md\":\"2746397b\",\"src_debug_test.md\":\"0cc1dc97\",\"index.md\":\"1b70564a\",\"src_rw-engine_quick-start.md\":\"bbce196f\",\"src_unit_core.md\":\"ff4c880b\",\"src_unit_graphics.md\":\"29c9f1b1\",\"src_unit_loginboolean.md\":\"8805951f\",\"src_unit_canbuild.md\":\"c61dc0b5\"}")
<script>__VP_HASH_MAP__ = JSON.parse("{\"src_map_tsada.md\":\"811816ab\",\"src_debug_test.md\":\"0cc1dc97\",\"src_rw-engine_quick-start.md\":\"bbce196f\",\"src_unit_canbuild.md\":\"ce0ce3f9\",\"api-dev.md\":\"2746397b\",\"index.md\":\"1b70564a\",\"src_unit_loginboolean.md\":\"6c4efe2e\",\"src_unit_graphics.md\":\"29c9f1b1\",\"src_unit_core.md\":\"fbda3035\"}")
__VP_SITE_DATA__ = JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"RW-API_Code\",\"description\":\"Easy Code\",\"base\":\"/\",\"head\":[],\"appearance\":true,\"themeConfig\":{\"nav\":[{\"text\":\"主页\",\"link\":\"/\"},{\"text\":\"单位API\",\"link\":\"/src/Unit/core\"},{\"text\":\"地图API\",\"link\":\"/src/Map/teada\"},{\"text\":\"调试API\",\"link\":\"/src/Debug/test\"},{\"text\":\"编写指南\",\"link\":\"/api-dev\"},{\"text\":\"RW-Engine指南\",\"link\":\"/quick-start\"}],\"docFooter\":{\"prev\":\"上一篇文章\",\"next\":\"下一篇文章\"},\"sidebar\":[{\"text\":\"RW-API-Code\",\"items\":[{\"text\":\"主页-Home\",\"link\":\"/\"},{\"text\":\"-------------------------\",\"link\":\"\"},{\"text\":\"[API-单位组-Unit]\",\"link\":\"\"},{\"text\":\"核心-CORE\",\"link\":\"/src/Unit/core\"},{\"text\":\"可建造-CANBUILD\",\"link\":\"/src/Unit/canbuild\"},{\"text\":\"图像-GRAPHICS\",\"link\":\"/src/Unit/graphics\"},{\"text\":\"逻辑-LOGIC\",\"link\":\"/src/Unit/loginboolean\"},{\"text\":\"-------------------------\",\"link\":\"\"}]}],\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/LingASDJ/RW-API-Code/\"}],\"footer\":{\"message\":\"Rosy-Code Ling Web Stuido\",\"copyright\":\"Copyright © 2023-RW-API-Code\"},\"search\":{\"provider\":\"local\",\"options\":{\"locales\":{\"zh\":{\"translations\":{\"button\":{\"buttonText\":\"搜索文档\",\"buttonAriaLabel\":\"搜索文档\"},\"modal\":{\"noResultsText\":\"你干嘛~哎呦~无法找到相关结果\",\"resetButtonTitle\":\"清除查询条件\",\"footer\":{\"selectText\":\"选择\",\"navigateText\":\"切换\",\"closeText\":\"关闭\",\"closeKeyAriaLabel\":\"关闭\",\"selectKeyAriaLabel\":\"选择\",\"navigateUpKeyAriaLabel\":\"上一个\",\"navigateDownKeyAriaLabel\":\"下一个\"},\"backButtonTitle\":\"返回上一级\",\"displayDetails\":\"显示详情\"}}}},\"translations\":{\"button\":{\"buttonText\":\"搜索文档\",\"buttonAriaLabel\":\"搜索文档\"},\"modal\":{\"noResultsText\":\"无法找到相关结果\",\"resetButtonTitle\":\"清除查询条件\",\"footer\":{\"selectText\":\"选择\",\"navigateText\":\"切换\",\"closeText\":\"关闭\",\"closeKeyAriaLabel\":\"关闭\",\"selectKeyAriaLabel\":\"选择\",\"navigateUpKeyAriaLabel\":\"上一个\",\"navigateDownKeyAriaLabel\":\"下一个\"},\"backButtonTitle\":\"返回上一级\",\"displayDetails\":\"显示详情\"}}}}},\"locales\":{},\"scrollOffset\":90,\"cleanUrls\":true}")</script>
</body>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -184,7 +184,7 @@
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">[graphics]</span></span>
<span class="line"><span style="color:#A6ACCD;">dustEffectReverse:false</span></span></code></pre></div></div></div></main><footer class="VPDocFooter" data-v-e9631fd0 data-v-face870a><!--[--><!--]--><!----><div class="prev-next" data-v-face870a><div class="pager" data-v-face870a><a class="pager-link prev" href="/src/Unit/canbuild" data-v-face870a><span class="desc" data-v-face870a>上一篇文章</span><span class="title" data-v-face870a>可建造-CANBUILD</span></a></div><div class="has-prev pager" data-v-face870a><a class="pager-link next" href="/src/Unit/loginboolean" data-v-face870a><span class="desc" data-v-face870a>下一篇文章</span><span class="title" data-v-face870a>逻辑-LOGIC</span></a></div></div></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><footer class="VPFooter has-sidebar" data-v-99cf8a88 data-v-f4388a15><div class="container" data-v-f4388a15><p class="message" data-v-f4388a15>Rosy-Code Ling Web Stuido</p><p class="copyright" data-v-f4388a15>Copyright © 2023-RW-API-Code</p></div></footer><!--[--><!--]--></div></div>
<script>__VP_HASH_MAP__ = JSON.parse("{\"src_map_tsada.md\":\"811816ab\",\"api-dev.md\":\"2746397b\",\"src_debug_test.md\":\"0cc1dc97\",\"index.md\":\"1b70564a\",\"src_rw-engine_quick-start.md\":\"bbce196f\",\"src_unit_core.md\":\"ff4c880b\",\"src_unit_graphics.md\":\"29c9f1b1\",\"src_unit_loginboolean.md\":\"8805951f\",\"src_unit_canbuild.md\":\"c61dc0b5\"}")
<script>__VP_HASH_MAP__ = JSON.parse("{\"src_map_tsada.md\":\"811816ab\",\"src_debug_test.md\":\"0cc1dc97\",\"src_rw-engine_quick-start.md\":\"bbce196f\",\"src_unit_canbuild.md\":\"ce0ce3f9\",\"api-dev.md\":\"2746397b\",\"index.md\":\"1b70564a\",\"src_unit_loginboolean.md\":\"6c4efe2e\",\"src_unit_graphics.md\":\"29c9f1b1\",\"src_unit_core.md\":\"fbda3035\"}")
__VP_SITE_DATA__ = JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"RW-API_Code\",\"description\":\"Easy Code\",\"base\":\"/\",\"head\":[],\"appearance\":true,\"themeConfig\":{\"nav\":[{\"text\":\"主页\",\"link\":\"/\"},{\"text\":\"单位API\",\"link\":\"/src/Unit/core\"},{\"text\":\"地图API\",\"link\":\"/src/Map/teada\"},{\"text\":\"调试API\",\"link\":\"/src/Debug/test\"},{\"text\":\"编写指南\",\"link\":\"/api-dev\"},{\"text\":\"RW-Engine指南\",\"link\":\"/quick-start\"}],\"docFooter\":{\"prev\":\"上一篇文章\",\"next\":\"下一篇文章\"},\"sidebar\":[{\"text\":\"RW-API-Code\",\"items\":[{\"text\":\"主页-Home\",\"link\":\"/\"},{\"text\":\"-------------------------\",\"link\":\"\"},{\"text\":\"[API-单位组-Unit]\",\"link\":\"\"},{\"text\":\"核心-CORE\",\"link\":\"/src/Unit/core\"},{\"text\":\"可建造-CANBUILD\",\"link\":\"/src/Unit/canbuild\"},{\"text\":\"图像-GRAPHICS\",\"link\":\"/src/Unit/graphics\"},{\"text\":\"逻辑-LOGIC\",\"link\":\"/src/Unit/loginboolean\"},{\"text\":\"-------------------------\",\"link\":\"\"}]}],\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/LingASDJ/RW-API-Code/\"}],\"footer\":{\"message\":\"Rosy-Code Ling Web Stuido\",\"copyright\":\"Copyright © 2023-RW-API-Code\"},\"search\":{\"provider\":\"local\",\"options\":{\"locales\":{\"zh\":{\"translations\":{\"button\":{\"buttonText\":\"搜索文档\",\"buttonAriaLabel\":\"搜索文档\"},\"modal\":{\"noResultsText\":\"你干嘛~哎呦~无法找到相关结果\",\"resetButtonTitle\":\"清除查询条件\",\"footer\":{\"selectText\":\"选择\",\"navigateText\":\"切换\",\"closeText\":\"关闭\",\"closeKeyAriaLabel\":\"关闭\",\"selectKeyAriaLabel\":\"选择\",\"navigateUpKeyAriaLabel\":\"上一个\",\"navigateDownKeyAriaLabel\":\"下一个\"},\"backButtonTitle\":\"返回上一级\",\"displayDetails\":\"显示详情\"}}}},\"translations\":{\"button\":{\"buttonText\":\"搜索文档\",\"buttonAriaLabel\":\"搜索文档\"},\"modal\":{\"noResultsText\":\"无法找到相关结果\",\"resetButtonTitle\":\"清除查询条件\",\"footer\":{\"selectText\":\"选择\",\"navigateText\":\"切换\",\"closeText\":\"关闭\",\"closeKeyAriaLabel\":\"关闭\",\"selectKeyAriaLabel\":\"选择\",\"navigateUpKeyAriaLabel\":\"上一个\",\"navigateDownKeyAriaLabel\":\"下一个\"},\"backButtonTitle\":\"返回上一级\",\"displayDetails\":\"显示详情\"}}}}},\"locales\":{},\"scrollOffset\":90,\"cleanUrls\":true}")</script>
</body>

File diff suppressed because one or more lines are too long