Lua接口/客户端函数索引/City:修订间差异
来自天龙知识库
跳到导航跳到搜索
新建客户端 Lua 接口页:全局函数、对象方法、窗口操作与客户端事件 |
新建客户端 Lua 接口页:全局函数、对象方法、窗口操作与客户端事件 |
||
| (未显示1个用户的4个中间版本) | |||
| 第1行: | 第1行: | ||
__NOTOC__ | __NOTOC__ | ||
<div class="lua-reference | <div class="lua-reference"> | ||
[[首页|首页]] · [[Lua接口/客户端函数索引|客户端接口]] · [[Lua接口/客户端函数索引/City|City]] · [[Lua接口/客户端窗口操作|窗口操作]] · [[Lua接口/客户端事件|客户端事件]] | [[首页|首页]] · [[Lua接口/客户端函数索引|客户端接口]] · [[Lua接口/客户端函数索引/City|City]] · [[Lua接口/客户端窗口操作|窗口操作]] · [[Lua接口/客户端事件|客户端事件]] | ||
<div | <div class="lua-lead"> | ||
<div role="heading" aria-level="2" | <div role="heading" aria-level="2" class="lua-h1">City 对象方法</div> | ||
<div | <div class="lua-sub">实现类 <code>CityTable</code> · 45 个方法</div> | ||
</div> | </div> | ||
== 调用方式 == | == 调用方式 == | ||
对象方法以 <code>City:方法名(参数)</code> 形式调用,例如 <code>City:GetGuildBattleScore(string)</code>。各方法的参数见下表,点方法名进入独立页。 | |||
对象名 <code | 对象名 <code>City</code> 是全局对象,可直接使用。 | ||
== 方法列表 == | == 方法列表 == | ||
{| class="wikitable | {| class="wikitable" | ||
! scope="col" | ! scope="col" class="lua-w46" | 方法 | ||
! scope="col | ! scope="col" | 说明 | ||
|- | |- | ||
| <code>[[Lua接口/客户端/City/AskBattleList|City:AskBattleList]](number)</code><br /><small class="lua-muted">无返回值</small> | |||
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_City.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/City/AskCityBuildingResearch|City:AskCityBuildingResearch]](number)</code><br /><small class="lua-muted">无返回值</small> | |||
| 触发客户端事件 GE_CITY_SHOW_RESEARCH;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_City.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/City/AskCityManageInfo|City:AskCityManageInfo]]()</code><br /><small class="lua-muted">无返回值</small> | |||
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_City.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/City/AskCityResearch|City:AskCityResearch]]()</code><br /><small class="lua-muted">无返回值</small> | |||
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_City.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/City/AskCityRoad|City:AskCityRoad]](number)</code><br /><small class="lua-muted">无返回值</small> | |||
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_City.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/City/AskCityShop|City:AskCityShop]](number)</code><br /><small class="lua-muted">无返回值</small> | |||
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_City.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/City/AskCityTrend|City:AskCityTrend]]()</code><br /><small class="lua-muted">无返回值</small> | |||
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_City.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/City/AskEnemyList|City:AskEnemyList]](number)</code><br /><small class="lua-muted">无返回值</small> | |||
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_City.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/City/AskGuildBattleScore|City:AskGuildBattleScore]]()</code><br /><small class="lua-muted">无返回值</small> | |||
| 触发客户端事件 GE_OPEN_GUILDBATTLE_SCORE;操作客户端界面;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_City.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/City/CreateCity|City:CreateCity]](number, string)</code><br /><small class="lua-muted">无返回值</small> | |||
| 触发客户端事件 GE_CITY_SHOW_PORT_LIST;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_City.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/City/DoBuilding|City:DoBuilding]](number, string)</code><br /><small class="lua-muted">无返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_City.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/City/DoCityRoad|City:DoCityRoad]](string, number)</code><br /><small class="lua-muted">无返回值</small> | |||
| 触发客户端事件 GE_CITY_SHOW_CREATE_ROAD;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_City.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/City/DoCityShop|City:DoCityShop]](number)</code><br /><small class="lua-muted">无返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_City.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/City/DoConfirm|City:DoConfirm]](number, number, string)</code><br /><small class="lua-muted">无返回值</small> | |||
| 触发客户端事件 GE_CITY_CONFIRM、GE_CITY_SHOW_INPUT_NAME<br /><small class="lua-muted">Game/Interface/GMInterface_Script_City.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/City/DoResearch|City:DoResearch]](number, number, string)</code><br /><small class="lua-muted">无返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_City.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/City/EnumBattleGuild|City:EnumBattleGuild]](number, number, string)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_City.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/City/EnumCityEnemy|City:EnumCityEnemy]](number, number, string)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_City.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/City/EnumCityShop|City:EnumCityShop]](number)</code><br /><small class="lua-muted">2 个返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_City.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/City/EnumResearch|City:EnumResearch]](number, number)</code><br /><small class="lua-muted">3 个返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_City.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/City/FixCityTrend|City:FixCityTrend]]()</code><br /><small class="lua-muted">无返回值</small> | |||
| 触发客户端事件 GE_CITY_SHOW_TREND_LEGEND;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_City.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/City/GetAttackGuildName|City:GetAttackGuildName]]()</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_City.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/City/GetBaseInfo|City:GetBaseInfo]](string)</code><br /><small class="lua-muted">7 个返回值</small> | |||
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_City.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/City/GetBattleNum|City:GetBattleNum]](number)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_City.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/City/GetBuildingInfo|City:GetBuildingInfo]](number, string)</code><br /><small class="lua-muted">6 个返回值</small> | |||
| 操作客户端界面<br /><small class="lua-muted">Game/Interface/GMInterface_Script_City.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/City/GetCityManageInfo|City:GetCityManageInfo]](string)</code><br /><small class="lua-muted">6 个返回值</small> | |||
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_City.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/City/GetCityMissonMgrInfo|City:GetCityMissonMgrInfo]](string, number)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_City.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/City/GetCityRoadInfo|City:GetCityRoadInfo]](string, number)</code><br /><small class="lua-muted">4 个返回值</small> | |||
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_City.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/City/GetCityShopInfo|City:GetCityShopInfo]](number, string)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_City.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/City/GetCityTrend|City:GetCityTrend]]()</code><br /><small class="lua-muted">7 个返回值</small> | |||
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_City.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/City/GetEnemyNum|City:GetEnemyNum]](number)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_City.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/City/GetGuildBattleScore|City:GetGuildBattleScore]](string)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_City.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/City/GetPortInfo|City:GetPortInfo]](number, string)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_City.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/City/GetResearchInfo|City:GetResearchInfo]](string, number, number)</code><br /><small class="lua-muted">6 个返回值</small> | |||
| 操作客户端界面;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_City.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/City/InputCityName|City:InputCityName]](number, number)</code><br /><small class="lua-muted">无返回值</small> | |||
| 触发客户端事件 GE_CITY_SHOW_INPUT_NAME;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_City.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/City/OpenAddBattleDlg|City:OpenAddBattleDlg]]()</code><br /><small class="lua-muted">无返回值</small> | |||
| 触发客户端事件 GE_CITY_OPEN_ADDBATTLE_DLG;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_City.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/City/OpenAddEnemyDlg|City:OpenAddEnemyDlg]]()</code><br /><small class="lua-muted">无返回值</small> | |||
| 触发客户端事件 GE_CITY_OPEN_ADDENEMY_DLG;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_City.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/City/OpenGuildWarDlg|City:OpenGuildWarDlg]]()</code><br /><small class="lua-muted">无返回值</small> | |||
| 触发客户端事件 GE_UI_COMMAND;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_City.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/City/RebulidLegend|City:RebulidLegend]]()</code><br /><small class="lua-muted">无返回值</small> | |||
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_City.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/City/ReponseGuildBattle|City:ReponseGuildBattle]](number)</code><br /><small class="lua-muted">无返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_City.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/City/SelectGuildBattle|City:SelectGuildBattle]](number)</code><br /><small class="lua-muted">无返回值</small> | |||
| 触发客户端事件 GE_GUILD_SHOW_TIAOZHAN;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_City.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/City/SendAddEnemyMsg|City:SendAddEnemyMsg]](number)</code><br /><small class="lua-muted">无返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_City.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/City/SendAddGuildBattleMsg|City:SendAddGuildBattleMsg]](number)</code><br /><small class="lua-muted">无返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_City.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/City/SendCityMissonMgr|City:SendCityMissonMgr]]()</code><br /><small class="lua-muted">无返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_City.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/City/SetCityGuildFlag|City:SetCityGuildFlag]]()</code><br /><small class="lua-muted">无返回值</small> | |||
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_City.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/City/SetCityMissonMgrInfo|City:SetCityMissonMgrInfo]](string, number, number)</code><br /><small class="lua-muted">无返回值</small> | |||
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_City.cpp</small> | |||
|} | |} | ||
== 多返回值方法 == | == 多返回值方法 == | ||
* <code | * <code>City:EnumCityShop</code> → 2 个返回值 | ||
* <code | * <code>City:EnumResearch</code> → 3 个返回值 | ||
* <code | * <code>City:GetBaseInfo</code> → 7 个返回值 | ||
* <code | * <code>City:GetBuildingInfo</code> → 6 个返回值 | ||
* <code | * <code>City:GetCityManageInfo</code> → 6 个返回值 | ||
* <code | * <code>City:GetCityRoadInfo</code> → 4 个返回值 | ||
* <code | * <code>City:GetCityTrend</code> → 7 个返回值 | ||
* <code | * <code>City:GetResearchInfo</code> → 6 个返回值 | ||
== 脚本中的调用 == | == 脚本中的调用 == | ||
以下是该对象在客户端界面脚本里的调用点(整理为注释,便于检索): | 以下是该对象在客户端界面脚本里的调用点(整理为注释,便于检索): | ||
<pre | <pre>-- ConfraternityWar/ConfraternityWar.lua | ||
-- | -- Research/Research.lua | ||
-- | -- Interior/Interior.lua | ||
-- | -- Research/Research.lua</pre> | ||
</div> | </div> | ||
2026年9月19日 (六) 17:00的最新版本
首页 · 客户端接口 · City · 窗口操作 · 客户端事件
City 对象方法
实现类
CityTable · 45 个方法调用方式
对象方法以 City:方法名(参数) 形式调用,例如 City:GetGuildBattleScore(string)。各方法的参数见下表,点方法名进入独立页。
对象名 City 是全局对象,可直接使用。
方法列表
| 方法 | 说明 |
|---|---|
City:AskBattleList(number)无返回值 |
实现体未体现明确的外部效果 Game/Interface/GMInterface_Script_City.cpp |
City:AskCityBuildingResearch(number)无返回值 |
触发客户端事件 GE_CITY_SHOW_RESEARCH;读取客户端本地数据 Game/Interface/GMInterface_Script_City.cpp |
City:AskCityManageInfo()无返回值 |
实现体未体现明确的外部效果 Game/Interface/GMInterface_Script_City.cpp |
City:AskCityResearch()无返回值 |
实现体未体现明确的外部效果 Game/Interface/GMInterface_Script_City.cpp |
City:AskCityRoad(number)无返回值 |
实现体未体现明确的外部效果 Game/Interface/GMInterface_Script_City.cpp |
City:AskCityShop(number)无返回值 |
实现体未体现明确的外部效果 Game/Interface/GMInterface_Script_City.cpp |
City:AskCityTrend()无返回值 |
实现体未体现明确的外部效果 Game/Interface/GMInterface_Script_City.cpp |
City:AskEnemyList(number)无返回值 |
实现体未体现明确的外部效果 Game/Interface/GMInterface_Script_City.cpp |
City:AskGuildBattleScore()无返回值 |
触发客户端事件 GE_OPEN_GUILDBATTLE_SCORE;操作客户端界面;读取客户端本地数据 Game/Interface/GMInterface_Script_City.cpp |
City:CreateCity(number, string)无返回值 |
触发客户端事件 GE_CITY_SHOW_PORT_LIST;读取客户端本地数据 Game/Interface/GMInterface_Script_City.cpp |
City:DoBuilding(number, string)无返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_City.cpp |
City:DoCityRoad(string, number)无返回值 |
触发客户端事件 GE_CITY_SHOW_CREATE_ROAD;读取客户端本地数据 Game/Interface/GMInterface_Script_City.cpp |
City:DoCityShop(number)无返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_City.cpp |
City:DoConfirm(number, number, string)无返回值 |
触发客户端事件 GE_CITY_CONFIRM、GE_CITY_SHOW_INPUT_NAME Game/Interface/GMInterface_Script_City.cpp |
City:DoResearch(number, number, string)无返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_City.cpp |
City:EnumBattleGuild(number, number, string)1 个返回值 |
实现体未体现明确的外部效果 Game/Interface/GMInterface_Script_City.cpp |
City:EnumCityEnemy(number, number, string)1 个返回值 |
实现体未体现明确的外部效果 Game/Interface/GMInterface_Script_City.cpp |
City:EnumCityShop(number)2 个返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_City.cpp |
City:EnumResearch(number, number)3 个返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_City.cpp |
City:FixCityTrend()无返回值 |
触发客户端事件 GE_CITY_SHOW_TREND_LEGEND;读取客户端本地数据 Game/Interface/GMInterface_Script_City.cpp |
City:GetAttackGuildName()1 个返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_City.cpp |
City:GetBaseInfo(string)7 个返回值 |
实现体未体现明确的外部效果 Game/Interface/GMInterface_Script_City.cpp |
City:GetBattleNum(number)1 个返回值 |
实现体未体现明确的外部效果 Game/Interface/GMInterface_Script_City.cpp |
City:GetBuildingInfo(number, string)6 个返回值 |
操作客户端界面 Game/Interface/GMInterface_Script_City.cpp |
City:GetCityManageInfo(string)6 个返回值 |
实现体未体现明确的外部效果 Game/Interface/GMInterface_Script_City.cpp |
City:GetCityMissonMgrInfo(string, number)1 个返回值 |
实现体未体现明确的外部效果 Game/Interface/GMInterface_Script_City.cpp |
City:GetCityRoadInfo(string, number)4 个返回值 |
实现体未体现明确的外部效果 Game/Interface/GMInterface_Script_City.cpp |
City:GetCityShopInfo(number, string)1 个返回值 |
实现体未体现明确的外部效果 Game/Interface/GMInterface_Script_City.cpp |
City:GetCityTrend()7 个返回值 |
实现体未体现明确的外部效果 Game/Interface/GMInterface_Script_City.cpp |
City:GetEnemyNum(number)1 个返回值 |
实现体未体现明确的外部效果 Game/Interface/GMInterface_Script_City.cpp |
City:GetGuildBattleScore(string)1 个返回值 |
实现体未体现明确的外部效果 Game/Interface/GMInterface_Script_City.cpp |
City:GetPortInfo(number, string)1 个返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_City.cpp |
City:GetResearchInfo(string, number, number)6 个返回值 |
操作客户端界面;读取客户端本地数据 Game/Interface/GMInterface_Script_City.cpp |
City:InputCityName(number, number)无返回值 |
触发客户端事件 GE_CITY_SHOW_INPUT_NAME;读取客户端本地数据 Game/Interface/GMInterface_Script_City.cpp |
City:OpenAddBattleDlg()无返回值 |
触发客户端事件 GE_CITY_OPEN_ADDBATTLE_DLG;读取客户端本地数据 Game/Interface/GMInterface_Script_City.cpp |
City:OpenAddEnemyDlg()无返回值 |
触发客户端事件 GE_CITY_OPEN_ADDENEMY_DLG;读取客户端本地数据 Game/Interface/GMInterface_Script_City.cpp |
City:OpenGuildWarDlg()无返回值 |
触发客户端事件 GE_UI_COMMAND;读取客户端本地数据 Game/Interface/GMInterface_Script_City.cpp |
City:RebulidLegend()无返回值 |
实现体未体现明确的外部效果 Game/Interface/GMInterface_Script_City.cpp |
City:ReponseGuildBattle(number)无返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_City.cpp |
City:SelectGuildBattle(number)无返回值 |
触发客户端事件 GE_GUILD_SHOW_TIAOZHAN;读取客户端本地数据 Game/Interface/GMInterface_Script_City.cpp |
City:SendAddEnemyMsg(number)无返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_City.cpp |
City:SendAddGuildBattleMsg(number)无返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_City.cpp |
City:SendCityMissonMgr()无返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_City.cpp |
City:SetCityGuildFlag()无返回值 |
实现体未体现明确的外部效果 Game/Interface/GMInterface_Script_City.cpp |
City:SetCityMissonMgrInfo(string, number, number)无返回值 |
实现体未体现明确的外部效果 Game/Interface/GMInterface_Script_City.cpp |
多返回值方法
City:EnumCityShop→ 2 个返回值City:EnumResearch→ 3 个返回值City:GetBaseInfo→ 7 个返回值City:GetBuildingInfo→ 6 个返回值City:GetCityManageInfo→ 6 个返回值City:GetCityRoadInfo→ 4 个返回值City:GetCityTrend→ 7 个返回值City:GetResearchInfo→ 6 个返回值
脚本中的调用
以下是该对象在客户端界面脚本里的调用点(整理为注释,便于检索):
-- ConfraternityWar/ConfraternityWar.lua -- Research/Research.lua -- Interior/Interior.lua -- Research/Research.lua