11namespace ServiceLib . Models ;
22
33[ Serializable ]
4- public class ProfileItem : ReactiveObject
4+ public class ProfileItem
55{
66 private ProtocolExtraItem ? _protocolExtraCache ;
77
@@ -10,6 +10,7 @@ public ProfileItem()
1010 IndexId = string . Empty ;
1111 ConfigType = EConfigType . VMess ;
1212 ConfigVersion = 3 ;
13+ Subid = string . Empty ;
1314 Address = string . Empty ;
1415 Port = 0 ;
1516 Password = string . Empty ;
@@ -21,7 +22,6 @@ public ProfileItem()
2122 Path = string . Empty ;
2223 StreamSecurity = string . Empty ;
2324 AllowInsecure = string . Empty ;
24- Subid = string . Empty ;
2525 }
2626
2727 #region function
@@ -148,26 +148,26 @@ public ProtocolExtraItem GetProtocolExtra()
148148 public string IndexId { get ; set ; }
149149
150150 public EConfigType ConfigType { get ; set ; }
151+ public ECoreType ? CoreType { get ; set ; }
151152 public int ConfigVersion { get ; set ; }
153+ public string Subid { get ; set ; }
154+ public bool IsSub { get ; set ; } = true ;
155+ public int ? PreSocksPort { get ; set ; }
156+ public bool DisplayLog { get ; set ; } = true ;
157+ public string Remarks { get ; set ; }
152158 public string Address { get ; set ; }
153159 public int Port { get ; set ; }
154160 public string Password { get ; set ; }
155161 public string Username { get ; set ; }
156162 public string Network { get ; set ; }
157- public string Remarks { get ; set ; }
158163 public string HeaderType { get ; set ; }
159164 public string RequestHost { get ; set ; }
160165 public string Path { get ; set ; }
161166 public string StreamSecurity { get ; set ; }
162167 public string AllowInsecure { get ; set ; }
163- public string Subid { get ; set ; }
164- public bool IsSub { get ; set ; } = true ;
165168 public string Sni { get ; set ; }
166169 public string Alpn { get ; set ; } = string . Empty ;
167- public ECoreType ? CoreType { get ; set ; }
168- public int ? PreSocksPort { get ; set ; }
169170 public string Fingerprint { get ; set ; }
170- public bool DisplayLog { get ; set ; } = true ;
171171 public string PublicKey { get ; set ; }
172172 public string ShortId { get ; set ; }
173173 public string SpiderX { get ; set ; }
0 commit comments