Skip to content

Commit

Permalink
* Better check key
Browse files Browse the repository at this point in the history
* Add Development Tool for UA
* Add UA Patch with Metode Online
* Add check if http or https
* Add check if server not hybrid
* Discord Rich Presence on by default
  • Loading branch information
akbaryahya committed Oct 5, 2022
1 parent 249572f commit 38f9593
Show file tree
Hide file tree
Showing 7 changed files with 581 additions and 299 deletions.
4 changes: 3 additions & 1 deletion Game/Genshin/Settings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,9 @@ public enum ServerRegionID
os_usa = 0,
os_euro = 1,
os_asia = 2,
os_cht = 3
os_cht = 3,
// BETA?
sg1 = 4
}

public class GeneralDataProp
Expand Down
495 changes: 305 additions & 190 deletions Main.Designer.cs

Large diffs are not rendered by default.

352 changes: 259 additions & 93 deletions Main.cs

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions Main.resx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,4 @@
<metadata name="CheckProxyRun.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>280, 17</value>
</metadata>
<metadata name="$this.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
</root>
4 changes: 2 additions & 2 deletions YuukiPS Launcher.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

<ApplicationManifest>Properties\app.manifest</ApplicationManifest>

<AssemblyVersion>2022.10.1.0717</AssemblyVersion>
<FileVersion>2022.10.1.0717</FileVersion>
<AssemblyVersion>2022.10.5.0815</AssemblyVersion>
<FileVersion>2022.10.5.0815</FileVersion>

<EnableWindowsTargeting>true</EnableWindowsTargeting>
<AssemblyName>YuukiPS</AssemblyName>
Expand Down
15 changes: 8 additions & 7 deletions json/ServerList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@
{
public class ServerList
{
public string time { get; set; }
public List<List> list { get; set; }
public string time { get; set; } = "123";
public List<List> list { get; set; } = new List<List>();
}

public class List
{
public string name { get; set; }
public string host { get; set; }
public string game { get; set; }
public int port { get; set; }
public string version { get; set; }
public string name { get; set; } = "localhost";
public string host { get; set; } = "localhost";
public string game { get; set; } = "GS";
public int port { get; set; } = 80;
public bool https { get; set; } = false;
public string version { get; set; } = "unknown";
}
}
7 changes: 4 additions & 3 deletions json/VersionServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
public class VersionServer
{
public int retcode { get; set; }
public Status status { get; set; }
public Status status { get; set; } = new Status();
}

public class Status
Expand All @@ -18,7 +18,8 @@ public class Status
public int TotalAccount { get; set; }
public int playerCount { get; set; }
public int maxPlayer { get; set; }
public string DockerGS { get; set; }
public string Version { get; set; }
public string DockerGS { get; set; } = "unknown";
public string Version { get; set; } = "unknown";
public string runMode { get; set; } = "HYBRID";
}
}

0 comments on commit 38f9593

Please sign in to comment.