Ejemplo n.º 1
0
        public GDERuneData DeepClone()
        {
            GDERuneData newClone = ShallowClone();

            newClone.attitube = attitube.DeepClone();
            return(newClone);
        }
Ejemplo n.º 2
0
        public GDERuneData ShallowClone()
        {
            string      newKey   = Guid.NewGuid().ToString();
            GDERuneData newClone = new GDERuneData(newKey);

            newClone.locked        = locked;
            newClone.Hashcode      = Hashcode;
            newClone.posInOwner    = posInOwner;
            newClone.quality       = quality;
            newClone.star          = star;
            newClone.level         = level;
            newClone.initalQuality = initalQuality;
            newClone.id            = id;
            newClone.ownerId       = ownerId;

            newClone.attitube = attitube;

            return(newClone);
        }