From 3bbd1edf061a2635996567366c7418016a1c3709 Mon Sep 17 00:00:00 2001 From: 2dust <31833384+2dust@users.noreply.github.com> Date: Wed, 12 Feb 2025 19:18:59 +0800 Subject: [PATCH] Update V2rayConfig.cs --- v2rayN/ServiceLib/Models/V2rayConfig.cs | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/v2rayN/ServiceLib/Models/V2rayConfig.cs b/v2rayN/ServiceLib/Models/V2rayConfig.cs index c7e48bd1..b6ecf52b 100644 --- a/v2rayN/ServiceLib/Models/V2rayConfig.cs +++ b/v2rayN/ServiceLib/Models/V2rayConfig.cs @@ -4,23 +4,15 @@ namespace ServiceLib.Models { public class V2rayConfig { - public string? remarks { get; set; } - public Log4Ray log { get; set; } - - public List inbounds { get; set; } - - public List outbounds { get; set; } - - public Stats4Ray? stats { get; set; } - - public Metrics4Ray? metrics { get; set; } - - public Policy4Ray? policy { get; set; } - public object dns { get; set; } - + public List inbounds { get; set; } + public List outbounds { get; set; } public Routing4Ray routing { get; set; } + public Metrics4Ray? metrics { get; set; } + public Policy4Ray? policy { get; set; } + public Stats4Ray? stats { get; set; } + public string? remarks { get; set; } } public class Stats4Ray @@ -398,4 +390,4 @@ namespace ServiceLib.Models public string? length { get; set; } public string? interval { get; set; } } -} \ No newline at end of file +}