Lua接口/客户端函数索引/Guild:修订间差异
来自天龙知识库
跳到导航跳到搜索
新建客户端 Lua 接口页:全局函数、对象方法、窗口操作与客户端事件 |
新建客户端 Lua 接口页:全局函数、对象方法、窗口操作与客户端事件 |
||
| 第14行: | 第14行: | ||
== 方法列表 == | == 方法列表 == | ||
{| class="wikitable" style="width:100%;table-layout:fixed;border-collapse:collapse;font-size:13px;" | {| class="wikitable" style="width:100%;table-layout:fixed;border-collapse:collapse;font-size:13px;" | ||
! scope="col" style="text-align:left;background:#edf3f2;padding:8px;width: | ! scope="col" style="text-align:left;background:#edf3f2;padding:8px;width:46%;" | 方法 | ||
! scope="col" style="text-align:left;background:#edf3f2;padding:8px;" | 说明 | ! scope="col" style="text-align:left;background:#edf3f2;padding:8px;" | 说明 | ||
|- | |- | ||
2026年9月19日 (六) 09:05的版本
首页 · 客户端接口 · Guild · 窗口操作 · 客户端事件
Guild 对象方法
实现类
Guild · 54 个方法本页信息由客户端 C++ 绑定源码与 230 个界面脚本自动整理:参数取实现体的
args[n] 取值点(对象方法已扣除 self 占用的栈位),调用示例取脚本中的真实调用,未经运行验证;用途摘要按实现体归纳,仅供参考。调用方式
对象方法以 Guild:方法名(参数) 形式调用,例如 Guild:GetMyGuildDetailInfo(string)。各方法的参数见下表,点方法名进入独立页。
对象名 Guild 是全局对象,可直接使用。
方法列表
| 方法 | 说明 |
|---|---|
Guild:AdjustMemberAuth(number)无返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:AskAnyGuildDetailInfo(number)无返回值 |
触发客户端事件 GE_GUILD_ID_FORDETAILINFO2;读取客户端本地数据 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:AskAnyGuildMembersInfo(number, number)无返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:AskCurCustomPositionName()无返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:AskGuildAppointPosInfo(number)无返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:AskGuildDetailInfo()无返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:AskGuildLeaveWord()无返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:AskGuildList4Page(number)无返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:AskGuildMembersInfo()无返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:AskGuildNameList()无返回值 |
触发客户端事件 GE_PLAYERLIST_SHOW;读取客户端本地数据 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:AskModifyCustomPositionName(number, string, number)1 个返回值 |
操作客户端界面;读取客户端本地数据 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:CityRnameCheck(string)1 个返回值 |
触发客户端事件 GE_NEW_DEBUGMESSAGE、GE_UI_COMMAND;操作客户端界面;读取客户端本地数据 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:CityRnameConfirm(string)无返回值 |
触发客户端事件 GE_CITY_RANAME_CONFIRM;读取客户端本地数据 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:ClearCustomPositionName()无返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:CloseKickGuildBox()无返回值 |
触发客户端事件 GE_CLOSE_KICK_MEMBER_MSGBOX;读取客户端本地数据 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:CreateGuild(string, string)1 个返回值 |
触发客户端事件 GE_GUILD_CREATE_CONFIRM;操作客户端界面;读取客户端本地数据 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:CreateGuildConfirm(number)无返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:DemisGuild()无返回值 |
触发客户端事件 GE_GUILD_DEMIS_CONFIRM;读取客户端本地数据 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:DemisGuildOK()无返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:DestoryGuild()无返回值 |
触发客户端事件 GE_GUILD_DESTORY_CONFIRM;读取客户端本地数据 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:ExchangeBangGong(number, number)无返回值 |
触发客户端事件 GE_EXCHANGE_BANGGONG;读取客户端本地数据 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:FixGuildInfo(string, string)无返回值 |
触发客户端事件 GE_GUILD_UPDATE_MEMBERINFO;操作客户端界面;读取客户端本地数据 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:GetAnyGuildMembersInfo(number, string)2 个返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:GetCurCustomPositionName(number)1 个返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:GetGuildContri()1 个返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:GetGuildInfo(number, string)1 个返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:GetGuildLeaveWord()1 个返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:GetGuildNum()1 个返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:GetGuildNumCurPage()1 个返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:GetMemberBak()1 个返回值 |
实现体未体现明确的外部效果 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:GetMembersInfo(number, string)2 个返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:GetMembersNum(number)1 个返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:GetMyGuildDetailInfo(string)1 个返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:GetMyGuildInfo(string, number)1 个返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:GetMyGuildPower()1 个返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:GetMyPosition()1 个返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:GetShowMembersIdx(number)1 个返回值 |
实现体未体现明确的外部效果 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:GetShowTraineesIdx(number)1 个返回值 |
实现体未体现明确的外部效果 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:InviteToGuild(string)1 个返回值 |
触发客户端事件 GE_NEW_DEBUGMESSAGE;读取客户端本地数据 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:IsGuildKeptOneWeed(number)1 个返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:JoinGuild(number)无返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:KickGuild(number)无返回值 |
触发客户端事件 GE_KICK_MEMBER_MSGBOX;读取客户端本地数据 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:ModifyGuildLeaveWord(number)1 个返回值 |
触发客户端事件 GE_GUILD_LEAVE_WORD、GE_NEW_DEBUGMESSAGE;操作客户端界面;读取客户端本地数据 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:PrepareMembersInfomation()无返回值 |
实现体未体现明确的外部效果 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:PutGuildMoney(number, number)无返回值 |
触发客户端事件 GE_PUT_GUILDMONEY;读取客户端本地数据 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:QuitGuild()无返回值 |
触发客户端事件 GE_GUILD_QUIT_CONFIRM;读取客户端本地数据 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:RecruitGuild(number)无返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:SendCityRnameMsg(string)无返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:Show_OfficialPopMenu(number)无返回值 |
触发客户端事件 GE_SHOW_CONTEXMENU;读取客户端本地数据 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:Show_PopMemu(number, number)无返回值 |
触发客户端事件 GE_SHOW_CONTEXMENU;读取客户端本地数据 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:Sort2UnSortIndex(number)1 个返回值 |
实现体未体现明确的外部效果 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:SortAnyGuildMembersByPosition()无返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:SureKickGuild(number)无返回值 |
读取客户端本地数据 Game/Interface/GMInterface_Script_Guild.cpp |
Guild:ToggleGuildDetailInfo()无返回值 |
触发客户端事件 GE_GUILD_SELFEQUIP_CLICK;读取客户端本地数据 Game/Interface/GMInterface_Script_Guild.cpp |
多返回值方法
Guild:GetAnyGuildMembersInfo→ 2 个返回值Guild:GetMembersInfo→ 2 个返回值
脚本中的调用
以下是该对象在客户端界面脚本里的调用点(整理为注释,便于检索):
-- ConfraternityPosition/ConfraternityPosition.lua -- ConfraternityList/ConfraternityList.lua -- ConfraternityList/ConfraternityList.lua -- ConfraternityManage/ConfraternityManage.lua