highlightprompt(userguid,dictid,arg1,arg2,...);
Inheritance: StorySystem.AbstractStoryCommand
コード例 #1
0
        protected override IStoryCommand CloneCommand()
        {
            HighlightPromptCommand cmd = new HighlightPromptCommand();

            cmd.m_UserGuid = m_UserGuid.Clone();
            cmd.m_DictId   = m_DictId.Clone();
            for (int i = 0; i < m_DictArgs.Count; ++i)
            {
                IStoryValue val = m_DictArgs[i];
                cmd.m_DictArgs.Add(val.Clone());
            }
            return(cmd);
        }
コード例 #2
0
 public override IStoryCommand Clone()
 {
     HighlightPromptCommand cmd = new HighlightPromptCommand();
     cmd.m_ObjId = m_ObjId.Clone();
     cmd.m_DictId = m_DictId.Clone();
     for (int i = 0; i < m_DictArgs.Count; ++i) {
         IStoryValue<object> val = m_DictArgs[i];
         cmd.m_DictArgs.Add(val.Clone());
     }
     return cmd;
 }