Inheritance: AbstractStoryCommand
示例#1
0
        protected override void Load(Dsl.CallData callData)
        {
            m_LoadedArgs = new List <IStoryValue <object> >();
            int num = callData.GetParamNum();

            for (int i = 0; i < num; ++i)
            {
                StoryValue val = new StoryValue();
                val.InitFromDsl(callData.GetParam(i));
                m_LoadedArgs.Add(val);
            }
            IsCompositeCommand = true;
            if (null == m_LeadCommand)
            {
                m_LeadCommand = new CompositeCommandHelper(this);
            }
        }
 protected override void Load(Dsl.CallData callData)
 {
     m_LoadedArgs = new List<IStoryValue<object>>();
     int num = callData.GetParamNum();
     for (int i = 0; i < num; ++i) {
         StoryValue val = new StoryValue();
         val.InitFromDsl(callData.GetParam(i));
         m_LoadedArgs.Add(val);
     }
     IsCompositeCommand = true;
     if (null == m_LeadCommand) {
         m_LeadCommand = new CompositeCommandHelper(this);
     }
 }