Lua接口/客户端函数索引/StallBuy
来自天龙知识库
首页 · 客户端接口 · StallBuy · 窗口操作 · 客户端事件
StallBuy 对象方法
实现类
StallBuy · 19 个方法 · 脚本使用 64 处本页参数与返回值由客户端 C++ 绑定源码自动推断(参数取自
args[n] 与 lua_is* 的实际取值点,返回项数取自 return n),未经运行验证;用途摘要按实现体归纳,仅供参考。调用方式
调用形式:StallBuy:BuyItem(number, number)
对象名 StallBuy 是全局对象,可直接使用。
方法列表
| 方法 | 说明 |
|---|---|
StallBuy:BuyItem(number, number)number, number · 1 个返回值 · 脚本使用 3 处 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_StallBuy.cpp L140 |
StallBuy:BuyPet(number)number · 无返回值 · 脚本使用 1 处 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_StallBuy.cpp L286 |
StallBuy:CloseStallMessage()无参数 · 无返回值 · 脚本使用 6 处 |
触发客户端事件 GE_CLOSE_STALL_MESSAGE、GE_CLOSE_PET_LIST;读取客户端本地数据 Game/Interface/GMGameInterface_Script_StallBuy.cpp L224 |
StallBuy:EnumPet(number)number · 1 个返回值 · 脚本使用 6 处 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_StallBuy.cpp L256 |
StallBuy:GetAdvertise()无参数 · 1 个返回值 · 脚本使用 3 处 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_StallBuy.cpp L217 |
StallBuy:GetDefaultPage()无参数 · 1 个返回值 · 脚本使用 3 处 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_StallBuy.cpp L278 |
StallBuy:GetGuid()无参数 · 1 个返回值 · 脚本使用 4 处 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_StallBuy.cpp L232 |
StallBuy:GetItemName(number)number · 1 个返回值 · 脚本使用 2 处 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_StallBuy.cpp L310 |
StallBuy:GetPetNum()无参数 · 1 个返回值 · 脚本使用 4 处 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_StallBuy.cpp L250 |
StallBuy:GetPrice(string, number)string, number · 1 个返回值 · 脚本使用 6 处 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_StallBuy.cpp L111 |
StallBuy:GetStallerName()无参数 · 1 个返回值 · 脚本使用 2 处 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_StallBuy.cpp L244 |
StallBuy:GetStallName()无参数 · 1 个返回值 · 脚本使用 2 处 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_StallBuy.cpp L209 |
StallBuy:GetStallType()无参数 · 1 个返回值 · 脚本使用 6 处 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_StallBuy.cpp L327 |
StallBuy:GetTradeTax()无参数 · 1 个返回值 · 脚本使用 2 处 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_StallBuy.cpp L56 |
StallBuy:IsHaveObject(string)string · 1 个返回值 · 脚本使用 2 处 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_StallBuy.cpp L346 |
StallBuy:IsPresent()无参数 · 1 个返回值 · 脚本使用 6 处 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_StallBuy.cpp L37 |
StallBuy:OpenMessageBuy()无参数 · 无返回值 · 脚本使用 2 处 |
触发客户端事件 GE_CLOSE_STALL_MESSAGE;操作客户端界面;读取客户端本地数据 Game/Interface/GMGameInterface_Script_StallBuy.cpp L184 |
StallBuy:OpenMessageFrame()无参数 · 无返回值 · 脚本使用 1 处 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_StallBuy.cpp L376 |
StallBuy:OpenStall()无参数 · 无返回值 · 脚本使用 3 处 |
触发客户端事件 GE_NEW_DEBUGMESSAGE;读取客户端本地数据 Game/Interface/GMGameInterface_Script_StallBuy.cpp L62 |
脚本中的调用
以下是该对象在客户端界面脚本里的调用点(整理为注释,便于检索):
-- PlayerShop:BuyItem ← PS_Shop/PS_Shop.lua -- StallBuy:BuyPet ← StallBuy/StallBuy.lua -- StallSale:CloseStallMessage ← MessageBox_Self/MessageBox_Self.lua -- Exchange:EnumPet ← Exchange/Exchange.lua