| 123456789101112131415161718192021222324252627 | 
							- using System;
 
- using System.Collections.Generic;
 
- namespace GFGGame
 
- {
 
-     [System.Serializable]
 
-     public class AccountData
 
-     {
 
-         public string username;
 
-         public string encryptedPassword; // 存储的是加密后的字符串
 
-         public string timestamp; // 用于记录时间,决定“最近”顺序
 
-         public AccountData(string user, string encryptedPwd)
 
-         {
 
-             username = user;
 
-             encryptedPassword = encryptedPwd;
 
-             timestamp = DateTime.UtcNow.ToString("yyyyMMddHHmmss"); // 使用UTC时间避免时区问题
 
-         }
 
-     }
 
-     // 可序列化的账号列表包装器,用于JSON处理
 
-     [System.Serializable]
 
-     public class AccountDataList
 
-     {
 
-         public List<AccountData> accounts = new List<AccountData>();
 
-     }
 
- }
 
 
  |