Ejemplo n.º 1
0
        private void Start()
        {
            PlayerInvitationUI playerInvitationPanel = m_playerInvitationPanel;

            playerInvitationPanel.onInvitationSend = (Action <FightPlayerInfo>)Delegate.Combine(playerInvitationPanel.onInvitationSend, (Action <FightPlayerInfo>) delegate
            {
                UpdateInactivityTime();
            });
            PlayerInvitationUI playerInvitationPanel2 = m_playerInvitationPanel;

            playerInvitationPanel2.onInvitationCanceled = (Action <FightPlayerInfo>)Delegate.Combine(playerInvitationPanel2.onInvitationCanceled, (Action <FightPlayerInfo>) delegate
            {
                UpdateInactivityTime();
            });
        }
Ejemplo n.º 2
0
        private unsafe void Start()
        {
            //IL_0060: Unknown result type (might be due to invalid IL or missing references)
            //IL_006a: Expected O, but got Unknown
            //IL_007c: Unknown result type (might be due to invalid IL or missing references)
            //IL_0086: Expected O, but got Unknown
            PlayerInvitationUI playerInvitationPanel = m_playerInvitationPanel;

            playerInvitationPanel.onInvitationSend = (Action <FightPlayerInfo>)Delegate.Combine(playerInvitationPanel.onInvitationSend, (Action <FightPlayerInfo>) delegate
            {
                UpdateInactivityTime();
            });
            PlayerInvitationUI playerInvitationPanel2 = m_playerInvitationPanel;

            playerInvitationPanel2.onInvitationCanceled = (Action <FightPlayerInfo>)Delegate.Combine(playerInvitationPanel2.onInvitationCanceled, (Action <FightPlayerInfo>) delegate
            {
                UpdateInactivityTime();
            });
            m_launchMatchmakingButton.get_onClick().AddListener(new UnityAction((object)this, (IntPtr)(void *) /*OpCode not supported: LdFtn*/));
            m_cancelMatchmakingButton.get_onClick().AddListener(new UnityAction((object)this, (IntPtr)(void *) /*OpCode not supported: LdFtn*/));
            m_matchmakingButtonComponent.SetActive(ApplicationConfig.debugMode);
        }