예제 #1
0
        public GDEuser_infoData ShallowClone()
        {
            string           newKey   = Guid.NewGuid().ToString();
            GDEuser_infoData newClone = new GDEuser_infoData(newKey);

            newClone.nickname = nickname;

            newClone.ln_play_score = new List <float>(ln_play_score);
            newClone.Set_ln_play_score();
            newClone.ln_gold = new List <float>(ln_gold);
            newClone.Set_ln_gold();

            return(newClone);
        }
예제 #2
0
        public GDEuser_infoData DeepClone()
        {
            GDEuser_infoData newClone = ShallowClone();

            return(newClone);
        }