==== Button Actions ====
…
2 KB(45个字) - 2022年8月3日 (三) 08:38
| RName = Button
| UserAlias = Button,AButtton
…
2 KB(25个字) - 2023年1月1日 (日) 00:41
每一个自定义按钮行为都应被封装到 <code>ButtonActionContainer</code> (按钮行为容器)。
这个 container 需要在模组中初始化注册到 <code>ButtonActionRegistry</code>。
…
9 KB(552个字) - 2022年11月22日 (二) 15:34
…前缀(btn是button的缩写)。<br>你只需要数字部分。<br>那么现在把菜单标识符和按钮ID掺和一起:<br>menu_identifier:button_id<br>这就是你的按钮定位器了,使用它作为模仿的按钮行
…
5 KB(243个字) - 2022年11月22日 (二) 15:35
用户可以点击一个"input string button"来输入输入字符串。
//This method gets called on game start and when the reload button gets pressed.
…
42 KB(3,261个字) - 2022年11月22日 (二) 16:45
//This button will be part of the right-click context menu of the element and is used to
AdvancedButton someFieldButton = new AdvancedButton(0, 0, 0, 0, "Set Some Field", (press) -> {
…
27 KB(2,025个字) - 2022年11月22日 (二) 15:34