<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://www.waylee.net/index.php?action=history&amp;feed=atom&amp;title=Lua%E6%8E%A5%E5%8F%A3%2F%E5%AE%A2%E6%88%B7%E7%AB%AF%E5%87%BD%E6%95%B0%E7%B4%A2%E5%BC%95%2FMacro</id>
	<title>Lua接口/客户端函数索引/Macro - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://www.waylee.net/index.php?action=history&amp;feed=atom&amp;title=Lua%E6%8E%A5%E5%8F%A3%2F%E5%AE%A2%E6%88%B7%E7%AB%AF%E5%87%BD%E6%95%B0%E7%B4%A2%E5%BC%95%2FMacro"/>
	<link rel="alternate" type="text/html" href="https://www.waylee.net/index.php?title=Lua%E6%8E%A5%E5%8F%A3/%E5%AE%A2%E6%88%B7%E7%AB%AF%E5%87%BD%E6%95%B0%E7%B4%A2%E5%BC%95/Macro&amp;action=history"/>
	<updated>2026-10-24T12:47:38Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://www.waylee.net/index.php?title=Lua%E6%8E%A5%E5%8F%A3/%E5%AE%A2%E6%88%B7%E7%AB%AF%E5%87%BD%E6%95%B0%E7%B4%A2%E5%BC%95/Macro&amp;diff=13264&amp;oldid=prev</id>
		<title>Waylee：​新建客户端 Lua 接口页：全局函数、对象方法、窗口操作与客户端事件</title>
		<link rel="alternate" type="text/html" href="https://www.waylee.net/index.php?title=Lua%E6%8E%A5%E5%8F%A3/%E5%AE%A2%E6%88%B7%E7%AB%AF%E5%87%BD%E6%95%B0%E7%B4%A2%E5%BC%95/Macro&amp;diff=13264&amp;oldid=prev"/>
		<updated>2026-10-24T06:26:05Z</updated>

		<summary type="html">&lt;p&gt;新建客户端 Lua 接口页：全局函数、对象方法、窗口操作与客户端事件&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__&lt;br /&gt;
&amp;lt;div class=&amp;quot;lua-reference&amp;quot;&amp;gt;&lt;br /&gt;
[[首页|首页]] · [[Lua接口/客户端函数索引|客户端接口]] · [[Lua接口/客户端函数索引/Macro|Macro]] · [[Lua接口/客户端窗口操作|窗口操作]] · [[Lua接口/客户端事件|客户端事件]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;lua-lead&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div role=&amp;quot;heading&amp;quot; aria-level=&amp;quot;2&amp;quot; class=&amp;quot;lua-h1&amp;quot;&amp;gt;Macro 对象方法&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;lua-sub&amp;quot;&amp;gt;实现类 &amp;lt;code&amp;gt;SceneMacro&amp;lt;/code&amp;gt; · 1 个方法&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
== 调用方式 ==&lt;br /&gt;
对象方法以 &amp;lt;code&amp;gt;Macro:方法名(参数)&amp;lt;/code&amp;gt; 形式调用，例如 &amp;lt;code&amp;gt;Macro:setfog(string)&amp;lt;/code&amp;gt;。各方法的参数见下表，点方法名进入独立页。&lt;br /&gt;
对象名 &amp;lt;code&amp;gt;Macro&amp;lt;/code&amp;gt; 是全局对象，可直接使用。&lt;br /&gt;
&lt;br /&gt;
== 方法列表 ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; class=&amp;quot;lua-w46&amp;quot; | 方法&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | 说明&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;[[Lua接口/客户端/Macro/setfog|Macro:setfog]](string)&amp;lt;/code&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;small class=&amp;quot;lua-muted&amp;quot;&amp;gt;无返回值&amp;lt;/small&amp;gt;&lt;br /&gt;
| 实现体未体现明确的外部效果&amp;lt;br /&amp;gt;&amp;lt;small class=&amp;quot;lua-muted&amp;quot;&amp;gt;Game/Interface/GMGameInterface_Script.cpp&amp;lt;/small&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Waylee</name></author>
	</entry>
</feed>