RefreshItem » 历史记录 » 版本 4
tejie, 2025-05-16 10:48
| 1 | 3 | tejie | h4. _*{color:green}refreshItem*_ |
|---|---|---|---|
| 2 | 1 | yangdefeng | 单元组列表指定单元刷新 |
| 3 | 支持以下单元组列表 |
||
| 4 | [[dlg_itemList_|itemList]] |
||
| 5 | [[dlg_itemGrid_|itemGrid]] |
||
| 6 | [[dlg_iconGrid_|iconGrid]] |
||
| 7 | 4 | tejie | [[Dlg_circleList_|circleList]] |
| 8 | 1 | yangdefeng | |
| 9 | 标签:命令定义|dlg_refreshItem |
||
| 10 | |||
| 11 | *格式* |
||
| 12 | |_.命令名 |_.参数1 |_.参数2 |_.参数3 |_.参数4 | |
||
| 13 | |refreshItem |列表名称|刷新单元序号|刷新单元内容|刷新位置| |
||
| 14 | |||
| 15 | - |
||
| 16 | - |
||
| 17 | |||
| 18 | *说明* |
||
| 19 | 4 | tejie | |参数1|刷新列表名称| |
| 20 | |参数2|刷新单元序号| |
||
| 21 | |参数3|刷新单元内容| |
||
| 22 | |^.参数4|刷新位置 |
||
| 23 | 缺省 当前位置 |
||
| 24 | 0 当前位置 |
||
| 25 | 1 列表最前 |
||
| 26 | 2 列表最后| |
||
| 27 | 1 | yangdefeng | |
| 28 | - |
||
| 29 | - |
||
| 30 | |||
| 31 | 2 | tejie | h4. *%{color:deepskyblue}特戒引擎脚本示例:%* |
| 32 | 1 | yangdefeng | |
| 33 | *使用前提1* |
||
| 34 | 请开启配置开关\"isUseCustomOKPanel\" |
||
| 35 | |配置文件|...\Mir200\Tejieconfig\Tejieconfig.txt | |
||
| 36 | |配置节点|[tjconfig] | |
||
| 37 | |配置项 |isUseCustomOkPanel=1 | |
||
| 38 | |||
| 39 | |||
| 40 | *使用前提2* |
||
| 41 | 请配置补丁资源\"lc\",即找到以下配置项,加入 %{color:deeppink}lc% |
||
| 42 | |配置文件|...\Mir200\Tejieconfig\Tejieconfig.txt | |
||
| 43 | |配置节点|[tjconfig] | |
||
| 44 | |配置项 |patch=aa,bb,lc | |
||
| 45 | |||
| 46 | - |
||
| 47 | - |
||
| 48 | |||
| 49 | bq. [@item初始化] |
||
| 50 | #act |
||
| 51 | [[mov]] s$活动名称 特戒天魔降临 |
||
| 52 | mov s$item1 |
||
| 53 | [[inc]] s$item1 ( |
||
| 54 | inc s$item1 <[[dlg_itemIndex_|itemIndex]]:1> |
||
| 55 | inc s$item1 <[[dlg_img_|img]]:zd_7_5:0:0:1:2.5> |
||
| 56 | inc s$item1 <[[dlg_itemShow_|itemShow]]:4:0:350:80:1:0> |
||
| 57 | inc s$item1 <[[dlg_text_|text]]:<$str(s$活动名称)>{scolor=150}:30:40> |
||
| 58 | inc s$item1 <text:奖励预览:340:40> |
||
| 59 | inc s$item1 <text:开启时间:30:100> |
||
| 60 | inc s$item1 <text:~~~10:00-11:00~~~:160:100> |
||
| 61 | inc s$item1 <text:开启条件:30:160> |
||
| 62 | inc s$item1 <text:60级:160:160> |
||
| 63 | inc s$item1 <text:击杀天外魔君,想要奖励就来找我{scolor=248}:30:240> |
||
| 64 | inc s$item1 ) |
||
| 65 | |
||
| 66 | mov s$item2 |
||
| 67 | inc s$item2 ( |
||
| 68 | inc s$item2 <itemIndex:2> |
||
| 69 | inc s$item2 <img:zd_7_5:0:0:1:2.5> |
||
| 70 | inc s$item2 <itemShow:4:0:350:80:1:0> |
||
| 71 | inc s$item2 <text:<$str(s$活动名称)>{scolor=150}:30:40> |
||
| 72 | inc s$item2 <text:奖励预览:340:40> |
||
| 73 | inc s$item2 <text:开启时间:30:100> |
||
| 74 | inc s$item2 <text:~~~10:00-11:00~~~:160:100> |
||
| 75 | inc s$item2 <text:开启条件:30:160> |
||
| 76 | inc s$item2 <text:60级:160:160> |
||
| 77 | inc s$item2 <text:击杀天外魔君,想要奖励就来找我{scolor=248}:30:240> |
||
| 78 | inc s$item2 ) |
||
| 79 | |
||
| 80 | mov s$活动列表 |
||
| 81 | inc s$活动列表 s$item1 |
||
| 82 | inc s$活动列表 s$item2 |
||
| 83 | |
||
| 84 | [<notextile>@</notextile>main] |
||
| 85 | #act |
||
| 86 | goto <notextile>@</notextile>item初始化 |
||
| 87 | [[openMerchantBigDlg]] ok_di 0 0 0 1 0 0 |
||
| 88 | #say |
||
| 89 | 2 | tejie | <[[dlg_panelSize_|panelSize2]]:1000:700>\ |
| 90 | 1 | yangdefeng | <[[dlg_itemGrid_|itemGrid]]:<$str(s$活动列表)>:特戒日常,1,0,1:0:0:500,270:1,2,270,0:0>\ |
| 91 | <text:刷新:100:300/<notextile>@@</notextile>inputString1(请输入刷新的活动名称)>\ |
||
| 92 | <text:点击刷新按钮,可刷新活动1名称{scolor=254}:30:350>\ |
||
| 93 | |
||
| 94 | [<notextile>@</notextile>inputString1] |
||
| 95 | #act |
||
| 96 | [[ansiReplaceText]] s$item1 s$活动名称 s1 |
||
| 97 | mov s$活动名称 <$str(s1)> |
||
| 98 | *{color:green}refreshItem* 特戒日常 1 s$item1 0 |
||
| 99 | [[messageBox]] 活动1的名称刷新完毕 |