internal static Training FromString(string base64String) { TrainingBase trainingBase = TrainingBase.FromString(base64String, "Training"); return(new Training((Training.TrainingType)trainingBase.EnumValue) { Level = trainingBase.Level, ShadowCloneCount = trainingBase.ShadowCloneCount, CurrentDuration = trainingBase.CurrentDuration }); }
internal static Fight FromString(string base64String) { TrainingBase trainingBase = TrainingBase.FromString(base64String, "Fight"); return(new Fight((Fight.FightType)trainingBase.EnumValue) { Level = trainingBase.Level, ShadowCloneCount = trainingBase.ShadowCloneCount, CurrentDuration = trainingBase.CurrentDuration }); }