public GDEunitTeamData ShallowClone() { string newKey = Guid.NewGuid().ToString(); GDEunitTeamData newClone = new GDEunitTeamData(newKey); newClone.badge = badge; newClone.goddess = goddess; newClone.id = id; newClone.teamName = teamName; return(newClone); }
public GDEunitTeamData DeepClone() { GDEunitTeamData newClone = ShallowClone(); return(newClone); }