Esempio n. 1
0
        public Action(string line)
        {
            string str;
            string str2;

            this.m_Line = line;
            int index = line.IndexOf(' ');

            if (index >= 0)
            {
                str  = line.Substring(0, index);
                str2 = line.Substring(index + 1);
            }
            else
            {
                str  = line;
                str2 = "";
            }
            this.m_Action = ActionHandler.Find(str);
            this.m_Param  = str2;
        }