yyl
2025-10-31 39001a600fcae2bcf27c225df8752d75fb92fef4
Main/System/GMCommand/GMInputWin.cs
@@ -36,18 +36,23 @@
    private List<string> recordCmdlist;
    GMCmdManager cmdModel { get { return GMCmdManager.Instance; } }
    protected override void OnPreOpen()
    protected override void InitComponent()
    {
        base.OnPreOpen();
        _cmdCtrl.OnRefreshCell += RefreshCmdCell;
        _closeBtn.onClick.AddListener(OnClickCloseBtn);
        _lookBtn.onClick.AddListener(OnClickLookBtn);
        _sendBtn.onClick.AddListener(() => { OnClickSendBtn(); });
        _gmInfoBtn.onClick.AddListener(OnClickGMInfoBtn);
        _clearBtn.onClick.AddListener(OnClickClearBtn);
        achieveJumpTestBtn.AddListener(ClickAchieveJumpBtn);
    }
    protected override void OnPreOpen()
    {
        base.OnPreOpen();
        _cmdCtrl.OnRefreshCell += RefreshCmdCell;
        _cmdContent.SetActive(false);
    }
@@ -116,11 +121,12 @@
        if (_inputCmd.text == null || _inputCmd.text == "" || _inputCmd.text == string.Empty)
            return;
        // if (_inputCmd.text == "HappyXB")
        // {
        //     WindowCenter.Instance.Open<HappyXBWin>();
        //     return;
        // }
        if (_inputCmd.text.StartsWith("GuildID"))
        {
            var id = GuildManager.Instance.DecryptGuildID(_inputCmd.text.Substring(8));
            ServerTipDetails.ReceivePackage("公会ID:" + id);
            return;
        }
        // else if (_inputCmd.text == "TreasureFindHost")
        // {
        //     WindowCenter.Instance.Open<TreasureFindHostWin>();