Lua接口/客户端函数索引/SystemSetup:修订间差异
来自天龙知识库
跳到导航跳到搜索
新建客户端 Lua 接口页:全局函数、对象方法、窗口操作与客户端事件 |
新建客户端 Lua 接口页:全局函数、对象方法、窗口操作与客户端事件 |
||
| (未显示另一用户的1个中间版本) | |||
| 第1行: | 第1行: | ||
__NOTOC__ | __NOTOC__ | ||
<div class="lua-reference | <div class="lua-reference"> | ||
[[首页|首页]] · [[Lua接口/客户端函数索引|客户端接口]] · [[Lua接口/客户端函数索引/SystemSetup|SystemSetup]] · [[Lua接口/客户端窗口操作|窗口操作]] · [[Lua接口/客户端事件|客户端事件]] | [[首页|首页]] · [[Lua接口/客户端函数索引|客户端接口]] · [[Lua接口/客户端函数索引/SystemSetup|SystemSetup]] · [[Lua接口/客户端窗口操作|窗口操作]] · [[Lua接口/客户端事件|客户端事件]] | ||
<div | <div class="lua-lead"> | ||
<div role="heading" aria-level="2" | <div role="heading" aria-level="2" class="lua-h1">SystemSetup 对象方法</div> | ||
<div | <div class="lua-sub">实现类 <code>SystemSetup</code> · 36 个方法</div> | ||
</div> | </div> | ||
== 调用方式 == | == 调用方式 == | ||
对象方法以 <code | 对象方法以 <code>SystemSetup:方法名(参数)</code> 形式调用,例如 <code>SystemSetup:GetPrivateInfo(string, string)</code>。各方法的参数见下表,点方法名进入独立页。 | ||
对象名 <code | 对象名 <code>SystemSetup</code> 是全局对象,可直接使用。 | ||
== 方法列表 == | == 方法列表 == | ||
{| class="wikitable | {| class="wikitable" | ||
! scope="col" | ! scope="col" class="lua-w46" | 方法 | ||
! scope="col | ! scope="col" | 说明 | ||
|- | |- | ||
| <code>[[Lua接口/客户端/SystemSetup/ApplyPrivateInfo|SystemSetup:ApplyPrivateInfo]]()</code><br /><small class="lua-muted">无返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_SystemSetup.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/SystemSetup/AskPrivateInfo|SystemSetup:AskPrivateInfo]]()</code><br /><small class="lua-muted">无返回值</small> | |||
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_SystemSetup.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/SystemSetup/BackGame|SystemSetup:BackGame]]()</code><br /><small class="lua-muted">无返回值</small> | |||
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_SystemSetup.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/SystemSetup/ComeBackAcce|SystemSetup:ComeBackAcce]]()</code><br /><small class="lua-muted">无返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_SystemSetup.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/SystemSetup/Display|SystemSetup:Display]]()</code><br /><small class="lua-muted">无返回值</small> | |||
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_SystemSetup.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/SystemSetup/GameGetData|SystemSetup:GameGetData]]()</code><br /><small class="lua-muted">15 个返回值</small> | |||
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_SystemSetup.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/SystemSetup/GameHelp|SystemSetup:GameHelp]]()</code><br /><small class="lua-muted">无返回值</small> | |||
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_SystemSetup.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/SystemSetup/GameSetup|SystemSetup:GameSetup]]()</code><br /><small class="lua-muted">无返回值</small> | |||
| 触发客户端事件 GE_TOGLE_GAMESETUP;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_SystemSetup.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/SystemSetup/Get_Display_Dress|SystemSetup:Get_Display_Dress]]()</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_SystemSetup.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/SystemSetup/GetAcceTip|SystemSetup:GetAcceTip]](number)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_SystemSetup.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/SystemSetup/GetCaredObjId|SystemSetup:GetCaredObjId]]()</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_SystemSetup.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/SystemSetup/GetDoubleExp|SystemSetup:GetDoubleExp]](string)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_SystemSetup.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/SystemSetup/GetInputSetup|SystemSetup:GetInputSetup]](number)</code><br /><small class="lua-muted">2 个返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_SystemSetup.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/SystemSetup/GetPrivateInfo|SystemSetup:GetPrivateInfo]](string, string)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_SystemSetup.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/SystemSetup/GetSubMenubarState|SystemSetup:GetSubMenubarState]]()</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_SystemSetup.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/SystemSetup/InputSetup|SystemSetup:InputSetup]]()</code><br /><small class="lua-muted">无返回值</small> | |||
| 触发客户端事件 GE_TOGLE_INPUTSETUP;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_SystemSetup.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/SystemSetup/InputSetup_OnOff|SystemSetup:InputSetup_OnOff]](boolean, boolean, number)</code><br /><small class="lua-muted">无返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_SystemSetup.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/SystemSetup/InputSetupSwitch|SystemSetup:InputSetupSwitch]](boolean)</code><br /><small class="lua-muted">无返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_SystemSetup.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/SystemSetup/OpenEquipFrame|SystemSetup:OpenEquipFrame]](string)</code><br /><small class="lua-muted">无返回值</small> | |||
| 触发客户端事件 GE_OPEN_EQUIP、GE_OTHERPLAYER_UPDATE_EQUIP;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_SystemSetup.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/SystemSetup/OpenPetFrame|SystemSetup:OpenPetFrame]](string)</code><br /><small class="lua-muted">无返回值</small> | |||
| 触发客户端事件 GE_TOGLE_PET_PAGE;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_SystemSetup.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/SystemSetup/OpenPrivatePage|SystemSetup:OpenPrivatePage]](string)</code><br /><small class="lua-muted">无返回值</small> | |||
| 触发客户端事件 GE_OPEN_PRIVATE_INFO;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_SystemSetup.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/SystemSetup/OpenRidePage|SystemSetup:OpenRidePage]](string)</code><br /><small class="lua-muted">无返回值</small> | |||
| 触发客户端事件 GE_OPEN_RIDE_PAGE、GE_TOGLE_OTHERRIDE_PAGE;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_SystemSetup.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/SystemSetup/OpenSetup|SystemSetup:OpenSetup]]()</code><br /><small class="lua-muted">无返回值</small> | |||
| 触发客户端事件 GE_TOGLE_SYSTEMFRAME;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_SystemSetup.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/SystemSetup/SaveGameSetup|SystemSetup:SaveGameSetup]](number, number, number, number, number, number, number, number, number, number, number, number, number, number)</code><br /><small class="lua-muted">无返回值</small> | |||
| 触发客户端事件 GE_CHANGE_BAR;操作客户端界面;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_SystemSetup.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/SystemSetup/Set_Display_Dress|SystemSetup:Set_Display_Dress]](number)</code><br /><small class="lua-muted">无返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_SystemSetup.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/SystemSetup/SetPrivateInfo|SystemSetup:SetPrivateInfo]](string, string, number)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 触发客户端事件 GE_NEW_DEBUGMESSAGE;操作客户端界面;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_SystemSetup.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/SystemSetup/SetSubMenubarState|SystemSetup:SetSubMenubarState]](number)</code><br /><small class="lua-muted">无返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_SystemSetup.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/SystemSetup/Sound|SystemSetup:Sound]]()</code><br /><small class="lua-muted">无返回值</small> | |||
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_SystemSetup.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/SystemSetup/SoundSetup|SystemSetup:SoundSetup]]()</code><br /><small class="lua-muted">无返回值</small> | |||
| 触发客户端事件 GE_TOGLE_SOUNDSETUP;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_SystemSetup.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/SystemSetup/Texture|SystemSetup:Texture]]()</code><br /><small class="lua-muted">无返回值</small> | |||
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_SystemSetup.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/SystemSetup/UISetup|SystemSetup:UISetup]]()</code><br /><small class="lua-muted">无返回值</small> | |||
| 触发客户端事件 GE_TOGLE_UISETUP;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_SystemSetup.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/SystemSetup/UseAcceCustomKey|SystemSetup:UseAcceCustomKey]]()</code><br /><small class="lua-muted">无返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_SystemSetup.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/SystemSetup/View_GetData|SystemSetup:View_GetData]](string)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_SystemSetup.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/SystemSetup/View_SaveToFile|SystemSetup:View_SaveToFile]]()</code><br /><small class="lua-muted">无返回值</small> | |||
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_SystemSetup.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/SystemSetup/View_SetData|SystemSetup:View_SetData]](string, number)</code><br /><small class="lua-muted">无返回值</small> | |||
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_SystemSetup.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/SystemSetup/ViewSetup|SystemSetup:ViewSetup]]()</code><br /><small class="lua-muted">无返回值</small> | |||
| 触发客户端事件 GE_TOGLE_VIEWSETUP;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_SystemSetup.cpp</small> | |||
|} | |} | ||
== 多返回值方法 == | == 多返回值方法 == | ||
* <code | * <code>SystemSetup:GameGetData</code> → 15 个返回值 | ||
* <code | * <code>SystemSetup:GetInputSetup</code> → 2 个返回值 | ||
== 脚本中的调用 == | == 脚本中的调用 == | ||
以下是该对象在客户端界面脚本里的调用点(整理为注释,便于检索): | 以下是该对象在客户端界面脚本里的调用点(整理为注释,便于检索): | ||
<pre | <pre>-- SelfData/SelfData.lua | ||
-- Operation/Operation.lua | -- Operation/Operation.lua | ||
-- AcceSetup/AcceSetup.lua | -- AcceSetup/AcceSetup.lua | ||
2026年9月19日 (六) 17:00的最新版本
首页 · 客户端接口 · SystemSetup · 窗口操作 · 客户端事件
SystemSetup 对象方法
实现类
SystemSetup · 36 个方法调用方式
对象方法以 SystemSetup:方法名(参数) 形式调用,例如 SystemSetup:GetPrivateInfo(string, string)。各方法的参数见下表,点方法名进入独立页。
对象名 SystemSetup 是全局对象,可直接使用。
方法列表
| 方法 | 说明 |
|---|---|
SystemSetup:ApplyPrivateInfo()无返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_SystemSetup.cpp |
SystemSetup:AskPrivateInfo()无返回值 |
实现体未体现明确的外部效果 Game/Interface/GMInterface_Script_SystemSetup.cpp |
SystemSetup:BackGame()无返回值 |
实现体未体现明确的外部效果 Game/Interface/GMInterface_Script_SystemSetup.cpp |
SystemSetup:ComeBackAcce()无返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_SystemSetup.cpp |
SystemSetup:Display()无返回值 |
实现体未体现明确的外部效果 Game/Interface/GMInterface_Script_SystemSetup.cpp |
SystemSetup:GameGetData()15 个返回值 |
实现体未体现明确的外部效果 Game/Interface/GMInterface_Script_SystemSetup.cpp |
SystemSetup:GameHelp()无返回值 |
实现体未体现明确的外部效果 Game/Interface/GMInterface_Script_SystemSetup.cpp |
SystemSetup:GameSetup()无返回值 |
触发客户端事件 GE_TOGLE_GAMESETUP;读取客户端本地数据 Game/Interface/GMInterface_Script_SystemSetup.cpp |
SystemSetup:Get_Display_Dress()1 个返回值 |
实现体未体现明确的外部效果 Game/Interface/GMInterface_Script_SystemSetup.cpp |
SystemSetup:GetAcceTip(number)1 个返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_SystemSetup.cpp |
SystemSetup:GetCaredObjId()1 个返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_SystemSetup.cpp |
SystemSetup:GetDoubleExp(string)1 个返回值 |
实现体未体现明确的外部效果 Game/Interface/GMInterface_Script_SystemSetup.cpp |
SystemSetup:GetInputSetup(number)2 个返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_SystemSetup.cpp |
SystemSetup:GetPrivateInfo(string, string)1 个返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_SystemSetup.cpp |
SystemSetup:GetSubMenubarState()1 个返回值 |
实现体未体现明确的外部效果 Game/Interface/GMInterface_Script_SystemSetup.cpp |
SystemSetup:InputSetup()无返回值 |
触发客户端事件 GE_TOGLE_INPUTSETUP;读取客户端本地数据 Game/Interface/GMInterface_Script_SystemSetup.cpp |
SystemSetup:InputSetup_OnOff(boolean, boolean, number)无返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_SystemSetup.cpp |
SystemSetup:InputSetupSwitch(boolean)无返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_SystemSetup.cpp |
SystemSetup:OpenEquipFrame(string)无返回值 |
触发客户端事件 GE_OPEN_EQUIP、GE_OTHERPLAYER_UPDATE_EQUIP;读取客户端本地数据 Game/Interface/GMInterface_Script_SystemSetup.cpp |
SystemSetup:OpenPetFrame(string)无返回值 |
触发客户端事件 GE_TOGLE_PET_PAGE;读取客户端本地数据 Game/Interface/GMInterface_Script_SystemSetup.cpp |
SystemSetup:OpenPrivatePage(string)无返回值 |
触发客户端事件 GE_OPEN_PRIVATE_INFO;读取客户端本地数据 Game/Interface/GMInterface_Script_SystemSetup.cpp |
SystemSetup:OpenRidePage(string)无返回值 |
触发客户端事件 GE_OPEN_RIDE_PAGE、GE_TOGLE_OTHERRIDE_PAGE;读取客户端本地数据 Game/Interface/GMInterface_Script_SystemSetup.cpp |
SystemSetup:OpenSetup()无返回值 |
触发客户端事件 GE_TOGLE_SYSTEMFRAME;读取客户端本地数据 Game/Interface/GMInterface_Script_SystemSetup.cpp |
SystemSetup:SaveGameSetup(number, number, number, number, number, number, number, number, number, number, number, number, number, number)无返回值 |
触发客户端事件 GE_CHANGE_BAR;操作客户端界面;读取客户端本地数据 Game/Interface/GMInterface_Script_SystemSetup.cpp |
SystemSetup:Set_Display_Dress(number)无返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_SystemSetup.cpp |
SystemSetup:SetPrivateInfo(string, string, number)1 个返回值 |
触发客户端事件 GE_NEW_DEBUGMESSAGE;操作客户端界面;读取客户端本地数据 Game/Interface/GMInterface_Script_SystemSetup.cpp |
SystemSetup:SetSubMenubarState(number)无返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_SystemSetup.cpp |
SystemSetup:Sound()无返回值 |
实现体未体现明确的外部效果 Game/Interface/GMInterface_Script_SystemSetup.cpp |
SystemSetup:SoundSetup()无返回值 |
触发客户端事件 GE_TOGLE_SOUNDSETUP;读取客户端本地数据 Game/Interface/GMInterface_Script_SystemSetup.cpp |
SystemSetup:Texture()无返回值 |
实现体未体现明确的外部效果 Game/Interface/GMInterface_Script_SystemSetup.cpp |
SystemSetup:UISetup()无返回值 |
触发客户端事件 GE_TOGLE_UISETUP;读取客户端本地数据 Game/Interface/GMInterface_Script_SystemSetup.cpp |
SystemSetup:UseAcceCustomKey()无返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_SystemSetup.cpp |
SystemSetup:View_GetData(string)1 个返回值 |
实现体未体现明确的外部效果 Game/Interface/GMInterface_Script_SystemSetup.cpp |
SystemSetup:View_SaveToFile()无返回值 |
实现体未体现明确的外部效果 Game/Interface/GMInterface_Script_SystemSetup.cpp |
SystemSetup:View_SetData(string, number)无返回值 |
实现体未体现明确的外部效果 Game/Interface/GMInterface_Script_SystemSetup.cpp |
SystemSetup:ViewSetup()无返回值 |
触发客户端事件 GE_TOGLE_VIEWSETUP;读取客户端本地数据 Game/Interface/GMInterface_Script_SystemSetup.cpp |
多返回值方法
SystemSetup:GameGetData→ 15 个返回值SystemSetup:GetInputSetup→ 2 个返回值
脚本中的调用
以下是该对象在客户端界面脚本里的调用点(整理为注释,便于检索):
-- SelfData/SelfData.lua -- Operation/Operation.lua -- AcceSetup/AcceSetup.lua -- GameSetup/GameSetup.lua