Beispiel #1
0
        public static void ExecuteChatHandler2(string chatCommand, WorldClass2 session)
        {
            string[] array = ChatCommandParser.smethod_5(chatCommand, new string[]
            {
                Module.smethod_36 <string>(2793817990u)
            }, StringSplitOptions.None);
            string key = ChatCommandParser.smethod_6(array[0], 0, 1);

            if (ChatCommandParser.ChatCommands2.ContainsKey(key))
            {
                while (true)
                {
IL_75:
                    uint arg_5D_0 = 2930766986u;
                    while (true)
                    {
                        uint num;
                        switch ((num = (arg_5D_0 ^ 4278760877u)) % 3u)
                        {
                        case 0u:
                            goto IL_75;

                        case 1u:
                            ChatCommandParser.ChatCommands2[key](array, session);
                            arg_5D_0 = (num * 1871045308u ^ 4256713516u);
                            continue;
                        }
                        goto Block_2;
                    }
                }
                Block_2 :;
            }
        }
Beispiel #2
0
        public static void ExecuteChatHandler(string chatCommand, WorldClass session)
        {
            string[] array = ChatCommandParser.smethod_5(chatCommand, new string[]
            {
                Module.smethod_34 <string>(1210918633u)
            }, StringSplitOptions.None);
            string key = ChatCommandParser.smethod_6(array[0], 0, 1);

            while (true)
            {
IL_9A:
                uint arg_7E_0 = 4290933796u;
                while (true)
                {
                    uint num;
                    switch ((num = (arg_7E_0 ^ 3881183605u)) % 4u)
                    {
                    case 1u:
                        arg_7E_0 = ((ChatCommandParser.ChatCommands.ContainsKey(key) ? 1983062844u : 1891696354u) ^ num * 4159093623u);
                        continue;

                    case 2u:
                        ChatCommandParser.ChatCommands[key](array, session);
                        arg_7E_0 = (num * 4266578640u ^ 2567288869u);
                        continue;

                    case 3u:
                        goto IL_9A;
                    }
                    return;
                }
            }
        }