From 4d0ee652d8b61a77e3c708ec6d0b1484b068e7f8 Mon Sep 17 00:00:00 2001 From: 2dust <31833384+2dust@users.noreply.github.com> Date: Sat, 3 Feb 2024 10:26:37 +0800 Subject: [PATCH] Bug fix --- v2rayN/v2rayN/Mode/V2rayConfig.cs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/v2rayN/v2rayN/Mode/V2rayConfig.cs b/v2rayN/v2rayN/Mode/V2rayConfig.cs index 957af112..9f1d7050 100644 --- a/v2rayN/v2rayN/Mode/V2rayConfig.cs +++ b/v2rayN/v2rayN/Mode/V2rayConfig.cs @@ -3,8 +3,7 @@ namespace v2rayN.Mode { /// - /// v2ray配置文件实体类 - /// 例子SampleConfig.txt + /// v2ray配置文件实体类 例子SampleConfig.txt /// public class V2rayConfig { @@ -32,7 +31,7 @@ namespace v2rayN.Mode public API4Ray api { get; set; } /// - public Policy4Ray policy; + public Policy4Ray policy { get; set; } /// /// DNS 配置 @@ -56,13 +55,13 @@ namespace v2rayN.Mode public class Policy4Ray { - public SystemPolicy4Ray system; + public SystemPolicy4Ray system { get; set; } } public class SystemPolicy4Ray { - public bool statsOutboundUplink; - public bool statsOutboundDownlink; + public bool statsOutboundUplink { get; set; } + public bool statsOutboundDownlink { get; set; } } public class Log4Ray