update for version 3.1.5x
This commit is contained in:
@@ -23,11 +23,11 @@
|
||||
|
||||
context.Response.StatusCode = HttpStatusCode.OK;
|
||||
context.Response.ContentType = "text/plain";
|
||||
await context.Response.WriteAllAsync(Convert.ToBase64String(ProtobufUtil.Serialize(new RegionList
|
||||
await context.Response.WriteAllAsync(Convert.ToBase64String(ProtobufUtil.Serialize(new DispatchRegionData()
|
||||
{
|
||||
Retcode = 0,
|
||||
TopServerRegionName = RegionManager.GetTopServerRegionName(),
|
||||
RegionInfoLists = { RegionManager.GetRegionList() }
|
||||
TopSeverRegionName = RegionManager.GetTopServerRegionName(),
|
||||
RegionLists = { RegionManager.GetRegionList() }
|
||||
})));
|
||||
|
||||
return true;
|
||||
|
||||
@@ -14,24 +14,22 @@
|
||||
await context.Response.WriteAllAsync(Convert.ToBase64String(ProtobufUtil.Serialize(new Gateserver
|
||||
{
|
||||
Retcode = 0,
|
||||
Msg0 = "OK",
|
||||
Msg = "OK",
|
||||
Ip = "127.0.0.1",
|
||||
RegionName = "FreeSR",
|
||||
Port = 22301,
|
||||
B1 = true,
|
||||
B2 = true,
|
||||
B3 = true,
|
||||
B4 = true,
|
||||
B5 = true,
|
||||
B6 = true,
|
||||
B7 = true,
|
||||
B8 = true,
|
||||
useTcp = true,
|
||||
//MdkResVersion = "5335706",
|
||||
AssetBundleUrl = "https://autopatchos.starrails.com/asb/BetaLive/output_6510636_cb4da670a18a",
|
||||
ExResourceUrl = "https://autopatchos.starrails.com/design_data/BetaLive/output_6519585_2be8ac313835",
|
||||
IfixVersion = "https://autopatchos.starrails.com/ifix/BetaLive/output_6523427_28cc5c21c689",
|
||||
LuaUrl = "https://autopatchos.starrails.com/lua/BetaLive/output_6516960_dede96733b5b",
|
||||
UseTcp = true,
|
||||
EnableWatermark = true,
|
||||
EnableCdnIpv6 = 1,
|
||||
EnableVersionUpdate = true,
|
||||
EnableAndroidMiddlePackage = true,
|
||||
EnableDesignDataVersionUpdate = true,
|
||||
EnableUploadBattleLog = true,
|
||||
EnableSaveReplayFile = true,
|
||||
AssetBundleUrl = "",
|
||||
ExResourceUrl = "",
|
||||
IfixVersion = "",
|
||||
LuaUrl = "",
|
||||
})));
|
||||
|
||||
return true;
|
||||
|
||||
@@ -12,9 +12,9 @@
|
||||
s_configuration = configuration;
|
||||
}
|
||||
|
||||
public static RegionInfo GetRegionList()
|
||||
public static RegionEntry GetRegionList()
|
||||
{
|
||||
var region = new RegionInfo
|
||||
var region = new RegionEntry
|
||||
{
|
||||
EnvType = s_configuration.EnvType,
|
||||
DispatchUrl = s_configuration.DispatchUrl,
|
||||
|
||||
Reference in New Issue
Block a user