Lua接口/客户端函数索引/StallSale
来自天龙知识库
首页 · 客户端接口 · StallSale · 窗口操作 · 客户端事件
StallSale 对象方法
实现类
StallSale · 28 个方法调用方式
对象方法以 StallSale:方法名(参数) 形式调用,例如 StallSale:CloseStall(string)。各方法的参数见下表,点方法名进入独立页。
对象名 StallSale 是全局对象,可直接使用。
方法列表
| 方法 | 说明 |
|---|---|
StallSale:AgreeBeginStall()无返回值 |
触发客户端事件 GE_NEW_DEBUGMESSAGE;读取客户端本地数据 Game/Interface/GMGameInterface_Script_StallSale.cpp |
StallSale:ApplyAd(string)1 个返回值 |
触发客户端事件 GE_GAMELOGIN_SHOW_SYSTEM_INFO、GE_NEW_DEBUGMESSAGE;操作客户端界面;读取客户端本地数据 Game/Interface/GMGameInterface_Script_StallSale.cpp |
StallSale:CloseStall(string)无返回值 |
触发客户端事件 GE_OPEN_SAVE_STALL_INFO;读取客户端本地数据 Game/Interface/GMGameInterface_Script_StallSale.cpp |
StallSale:CloseStallMessage()无返回值 |
触发客户端事件 GE_CLOSE_STALL_MESSAGE、GE_CLOSE_INPUT_MONEY、GE_CLOSE_PET_LIST;读取客户端本地数据 Game/Interface/GMGameInterface_Script_StallSale.cpp |
StallSale:ConfirmRemoveStall()无返回值 |
触发客户端事件 GE_OPEN_REMOVE_STALL;读取客户端本地数据 Game/Interface/GMGameInterface_Script_StallSale.cpp |
StallSale:DeleteItem(string, number)无返回值 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_StallSale.cpp |
StallSale:EnumPet(number)1 个返回值 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_StallSale.cpp |
StallSale:GetAdvertise()1 个返回值 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_StallSale.cpp |
StallSale:GetDefaultPage()1 个返回值 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_StallSale.cpp |
StallSale:GetGuid()1 个返回值 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_StallSale.cpp |
StallSale:GetPetNum()1 个返回值 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_StallSale.cpp |
StallSale:GetPosTax()1 个返回值 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_StallSale.cpp |
StallSale:GetPrice(string, number)4 个返回值 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_StallSale.cpp |
StallSale:GetStallName()1 个返回值 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_StallSale.cpp |
StallSale:GetStallType()1 个返回值 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_StallSale.cpp |
StallSale:GetTradeTax()1 个返回值 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_StallSale.cpp |
StallSale:IsPresent()1 个返回值 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_StallSale.cpp |
StallSale:ItemReprice(number, number, number)无返回值 |
触发客户端事件 GE_NEW_DEBUGMESSAGE;读取客户端本地数据 Game/Interface/GMGameInterface_Script_StallSale.cpp |
StallSale:ModifItemPrice(string)无返回值 |
触发客户端事件 GE_TOGLE_INPUT_MONEY;读取客户端本地数据 Game/Interface/GMGameInterface_Script_StallSale.cpp |
StallSale:ModifStallName(string)无返回值 |
触发客户端事件 GE_GAMELOGIN_SHOW_SYSTEM_INFO;操作客户端界面;读取客户端本地数据 Game/Interface/GMGameInterface_Script_StallSale.cpp |
StallSale:OpenMessageSale()无返回值 |
触发客户端事件 GE_CLOSE_STALL_MESSAGE;操作客户端界面;读取客户端本地数据 Game/Interface/GMGameInterface_Script_StallSale.cpp |
StallSale:PetReprice(number)无返回值 |
触发客户端事件 GE_NEW_DEBUGMESSAGE;读取客户端本地数据 Game/Interface/GMGameInterface_Script_StallSale.cpp |
StallSale:PetUpStall(number)无返回值 |
触发客户端事件 GE_NEW_DEBUGMESSAGE;读取客户端本地数据 Game/Interface/GMGameInterface_Script_StallSale.cpp |
StallSale:ReferItemPrice(number)无返回值 |
触发客户端事件 GE_NEW_DEBUGMESSAGE、GE_PACKAGE_ITEM_CHANGED;读取客户端本地数据 Game/Interface/GMGameInterface_Script_StallSale.cpp |
StallSale:SetDefaultPage(number)无返回值 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_StallSale.cpp |
StallSale:SetSelectPet(number)无返回值 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_StallSale.cpp |
StallSale:UnlockSelItem()无返回值 |
触发客户端事件 GE_PACKAGE_ITEM_CHANGED;读取客户端本地数据 Game/Interface/GMGameInterface_Script_StallSale.cpp |
StallSale:ViewPetDesc(string, number)无返回值 |
触发客户端事件 GE_VIEW_EXCHANGE_PET;读取客户端本地数据 Game/Interface/GMGameInterface_Script_StallSale.cpp |
多返回值方法
StallSale:GetPrice→ 4 个返回值
脚本中的调用
以下是该对象在客户端界面脚本里的调用点(整理为注释,便于检索):
-- MessageBox_Self/MessageBox_Self.lua -- StallMessage/StallMessage.lua -- MessageBox_Self/MessageBox_Self.lua -- MessageBox_Self/MessageBox_Self.lua