コード例 #1
0
 public MojangLauncherProfileFile()
 {
     AnalyticsFailCount     = 0;
     AnalyticsToken         = "3c3caaf33160cbfcb3c281cebf62a32f";
     AuthenticationDatabase = new Dictionary <string, LauncherProfileAuthenticationPackage>();
     ClientToken            = "f1f216107a33f9014333ca06cbf25785";
     LauncherVersion        = new LauncherProfileLauncherVersion();
     Profiles     = new Dictionary <string, LauncherProfile>();
     SelectedUser = new LauncherProfileSelectedUser();
     Settings     = new LauncherProfileSettings();
     CreateTestData();
 }
コード例 #2
0
 public MojangLauncherProfileFile(int analyticsFailCount, string analyticsToken, Dictionary <string, LauncherProfileAuthenticationPackage> authenticationDatabase,
                                  string clientToken, LauncherProfileLauncherVersion launcherVersion, Dictionary <string, LauncherProfile> profiles,
                                  LauncherProfileSelectedUser selectedUser, LauncherProfileSettings settings)
 {
     AnalyticsFailCount     = analyticsFailCount;
     AnalyticsToken         = analyticsToken;
     AuthenticationDatabase = new Dictionary <string, LauncherProfileAuthenticationPackage>(authenticationDatabase);
     ClientToken            = clientToken;
     LauncherVersion        = launcherVersion;
     Profiles     = new Dictionary <string, LauncherProfile>(profiles);
     SelectedUser = selectedUser;
     Settings     = settings;
 }