waitlocalmessagehandler(msgid1,msgid2,...)[set(var,val)timeoutset(timeout,var,val)];
Inheritance: AbstractStoryCommand
Ejemplo n.º 1
0
        public override IStoryCommand Clone()
        {
            WaitLocalMessageHandlerCommand cmd = new WaitLocalMessageHandlerCommand();

            for (int i = 0; i < m_MsgIds.Count; i++)
            {
                cmd.m_MsgIds.Add(m_MsgIds[i].Clone());
            }
            cmd.m_SetVar        = m_SetVar.Clone();
            cmd.m_SetVal        = m_SetVal.Clone();
            cmd.m_TimeoutVal    = m_TimeoutVal.Clone();
            cmd.m_TimeoutSetVar = m_TimeoutSetVar.Clone();
            cmd.m_TimeoutSetVal = m_TimeoutSetVal.Clone();
            cmd.m_HaveSet       = m_HaveSet;
            return(cmd);
        }
Ejemplo n.º 2
0
 public override IStoryCommand Clone()
 {
     WaitLocalMessageHandlerCommand cmd = new WaitLocalMessageHandlerCommand();
     for (int i = 0; i < m_MsgIds.Count; i++) {
         cmd.m_MsgIds.Add(m_MsgIds[i].Clone());
     }
     cmd.m_SetVar = m_SetVar.Clone();
     cmd.m_SetVal = m_SetVal.Clone();
     cmd.m_TimeoutVal = m_TimeoutVal.Clone();
     cmd.m_TimeoutSetVar = m_TimeoutSetVar.Clone();
     cmd.m_TimeoutSetVal = m_TimeoutSetVal.Clone();
     cmd.m_HaveSet = m_HaveSet;
     return cmd;
 }