Lua接口/客户端/Window/GetSubItem
来自天龙知识库
Window:GetSubItem
实现体未体现明确的外部效果 · 实现于 CEGUISystem/UILuaControl_NotSuperList.inl
调用方式
Window:GetSubItem(string)
控件方法由界面管理器创建的对象提供,没有固定的全局对象名:脚本里的 this 就是当前窗口,this 或持有的控件变量可直接以冒号调用。所属控件类 Window。
界面脚本中共 254 处调用,实参个数出现过:1 个(254 处)。
参数
| 序号 | 类型 | 说明 |
|---|---|---|
| 1 | string
|
调用点实参:"NewExterior_PetSoul_SuperListItemAction"(5 处)、"NewExterior_Ride_SuperListItemAction"(5 处)、"NewExterior_Ride_SuperListItemActionTime"(5 处)
|
返回值
返回 1 个值。
脚本中的调用
以下是界面脚本里的真实调用点(同一形态只列一次):
-- AutoPickUpSet/AutoPickUpSet.lua
Window:GetSubItem("AutoPickUpSet_HeaderButton")
-- AutoPickUpSet/AutoPickUpSet.lua
Window:GetSubItem("AutoPickUpSet_Label")
-- AutoPickUpSet/AutoPickUpSet.lua
Window:GetSubItem("AutoPickUpSet_Check")
-- ChongLou_GemEffectStyle/ChongLou_GemEffectStyle.lua
Window:GetSubItem("ChongLou_GemEffectStyle_StyleName")
-- ChongLou_GemEffectStyle/ChongLou_GemEffectStyle.lua
Window:GetSubItem("ChongLou_GemEffectStyleSkill1_BKG_Mask")
-- ChongLou_GemEffectStyle/ChongLou_GemEffectStyle.lua
Window:GetSubItem("ChongLou_GemEffectStyleSuperListItemActionDef1")