Beispiel #1
0
 public static void SaveProfile(ProfileModel profile)
 {
     JsonSerDer.SaveObject(profile, PathManager.GetProfilePath(profile.Id));
 }
Beispiel #2
0
 public static void SaveSession(int profileId, SessionModel session)
 {
     JsonSerDer.SaveObject(session, PathManager.GetSessionInfoPath(profileId, session.Id));
 }