reduceitem(guid, itemid, num);
Inheritance: StorySystem.AbstractStoryCommand
Exemple #1
0
        protected override IStoryCommand CloneCommand()
        {
            ReduceItemCommand cmd = new ReduceItemCommand();

            cmd.m_UserGuid = m_UserGuid.Clone();
            cmd.m_ItemId   = m_ItemId.Clone();
            cmd.m_ItemNum  = m_ItemNum.Clone();
            return(cmd);
        }
 public override IStoryCommand Clone()
 {
     ReduceItemCommand cmd = new ReduceItemCommand();
     cmd.m_UserGuid = m_UserGuid.Clone();
     cmd.m_ItemId = m_ItemId.Clone();
     cmd.m_ItemNum = m_ItemNum.Clone();
     return cmd;
 }