Пример #1
0
        public new iRmDbObject Clone()
        {
            Rm_DataBase_Item newObj = new Rm_DataBase_Item();

            newObj.id          = this.id;
            newObj.animationId = this.animationId;
            newObj.consumable  = this.consumable;
            newObj.description = this.description;
            newObj.damage      = this.damage;
            newObj.effects     = this.effects;
            newObj.hitType     = this.hitType;
            newObj.iconIndex   = this.iconIndex;
            newObj.itypeId     = this.itypeId;
            newObj.name        = this.name;
            newObj.note        = this.note;
            newObj.occasion    = this.occasion;
            newObj.price       = this.price;
            newObj.repeats     = this.repeats;
            newObj.scope       = this.scope;
            newObj.speed       = this.speed;
            newObj.successRate = this.successRate;
            newObj.tpGain      = this.tpGain;

            return(newObj);
        }
Пример #2
0
        public iRmDbObject Clone()
        {
            Rm_DataBase_Item newObj = new Rm_DataBase_Item();

            newObj.id          = this.id;
            newObj.description = this.description;
            newObj.iconIndex   = this.iconIndex;
            newObj.name        = this.name;
            newObj.note        = this.note;
            newObj.price       = this.price;

            return(newObj);
        }