Ejemplo n.º 1
0
    void MBusinessKeyEnter()
    {
        CPACK_TransactionVerifyPw m_Data = new CPACK_TransactionVerifyPw();

        m_Data.m_strPw = Business_Control.PassKeyString;

        MainConnet.m_oMainClient.Send(ENUM_GAME_FRAME.Common, (uint)ENUM_COMMON_PACKID_GC.C2G_Transaction_ReqVerifyPwBeginTransaction,
                                      MainConnet.m_oMainClient.DoSerialize <CPACK_TransactionVerifyPw>(m_Data));
        Business_Control.PassEnter = true;
        BankButtonClick2           = true;
        Debug.Log("密碼: " + m_Data.m_strPw);
    }
Ejemplo n.º 2
0
    void MBusinessFirstEnter()
    {
        if (Business_Control.FirstNewKeyString.Length == 4)
        {
            CPACK_TransactionVerifyPw m_Data = new CPACK_TransactionVerifyPw();
            m_Data.m_strPw = Business_Control.FirstNewKeyString;

            MainConnet.m_oMainClient.Send(ENUM_GAME_FRAME.Common, (uint)ENUM_COMMON_PACKID_GC.C2G_Transaction_ReqVerifyPwBeginTransaction,
                                          MainConnet.m_oMainClient.DoSerialize <CPACK_TransactionVerifyPw>(m_Data));
            Business_Control.PassEnter = true;
            BankButtonClick2           = true;
            Debug.Log("密碼: " + m_Data.m_strPw);
        }
        else
        {
            BankMessageBox.m_MsessageBoxStatus  = (ushort)ENUM_BANK_MESSAGE_STATUS.OneAbove;
            BankMessageBox.m_BankMessageBoxOpen = true;
        }
    }