示例#1
0
    private void method_11()
    {
        if (this.commandDispatcher_1 == null)
        {
            this.commandDispatcher_1 = new CommandDispatcher();
            this.commandDispatcher_1.method_1 <GClass266>(new Action <GClass266>(this.method_27));
            this.commandDispatcher_1.method_1 <GClass217>(new Action <GClass217>(this.method_28));
            this.commandDispatcher_1.method_1 <GClass284>(new Action <GClass284>(this.method_29));
            this.commandDispatcher_1.method_1 <GClass255>(new Action <GClass255>(this.method_30));
            this.commandDispatcher_1.method_1 <GClass273>(new Action <GClass273>(this.method_12));
        }
        GameManager          gameManager = this.gameManager_0;
        Action <GInterface0> d;

        if (gameManager != null)
        {
            ConnectionManager connection = gameManager.Connection;
            if (connection != null)
            {
                GClass93 socket = connection.Socket;
                if (socket != null)
                {
                    GClass84 <GClass805> gclass = socket.method_5();
                    if (gclass != null)
                    {
                        if ((d = gclass.method_0()) != null)
                        {
                            goto IL_CC;
                        }
                    }
                }
            }
        }
        d = new Action <GInterface0>(this.method_7);
IL_CC:
        if (d != new Action <GInterface0>(this.method_7))
        {
            this.gameManager_0.Connection.Socket.method_5().method_1(new Action <GInterface0>(this.method_7));
            this.method_16();
        }
    }
示例#2
0
    private void method_12()
    {
        if (this.commandDispatcher_1 == null)
        {
            this.commandDispatcher_1 = new CommandDispatcher();
            this.commandDispatcher_1.method_1 <GClass261>(new Action <GClass261>(this.method_24));
            this.commandDispatcher_1.method_1 <GClass280>(new Action <GClass280>(this.method_25));
            this.commandDispatcher_1.method_1 <GClass269>(new Action <GClass269>(this.method_13));
        }
        GameManager          gameManager = this.gameManager_0;
        Action <GInterface0> d;

        if (gameManager != null)
        {
            ConnectionManager connection = gameManager.Connection;
            if (connection != null)
            {
                GClass93 socket = connection.Socket;
                if (socket != null)
                {
                    GClass84 <GClass854> gclass = socket.method_5();
                    if (gclass != null)
                    {
                        if ((d = gclass.method_0()) != null)
                        {
                            goto IL_9E;
                        }
                    }
                }
            }
        }
        d = new Action <GInterface0>(this.method_8);
IL_9E:
        if (d != new Action <GInterface0>(this.method_8))
        {
            this.gameManager_0.Connection.Socket.method_5().method_1(new Action <GInterface0>(this.method_8));
            this.method_16();
        }
    }