public GDEgoddessData DeepClone() { GDEgoddessData newClone = ShallowClone(); newClone.attitube = attitube.DeepClone(); return(newClone); }
public GDEgoddessData ShallowClone() { string newKey = Guid.NewGuid().ToString(); GDEgoddessData newClone = new GDEgoddessData(newKey); newClone.star = star; newClone.volume = volume; newClone.exp = exp; newClone.rune0 = rune0; newClone.rune1 = rune1; newClone.rune2 = rune2; newClone.rune3 = rune3; newClone.index = index; newClone.skillGrade = skillGrade; newClone.id = id; newClone.NAME = NAME; newClone.attitube = attitube; newClone.UseTeamId = new List <int>(UseTeamId); newClone.Set_UseTeamId(); return(newClone); }