fix:1、添加H5
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Newtonsoft.Json;
|
||||
using SGModule.ConfigLoader;
|
||||
|
||||
namespace RedHotRoast
|
||||
{
|
||||
public class GameUrlsModel
|
||||
{
|
||||
public static GameUrls GetData(int id) {
|
||||
return ConfigSystem.GetConfig<GameUrls>().FirstOrDefault(makeup => makeup.id == id);
|
||||
}
|
||||
}
|
||||
|
||||
[ConfigKey("GameUrls")]
|
||||
public class GameUrls
|
||||
{
|
||||
[JsonProperty("id")]
|
||||
public int id;
|
||||
[JsonProperty("webLink")]
|
||||
public string webLink;
|
||||
[JsonProperty("webType")]
|
||||
public int webType;
|
||||
[JsonProperty("probability")]
|
||||
public int probability;
|
||||
[JsonProperty("refreshMax")]
|
||||
public int refreshMax;
|
||||
[JsonProperty("darkWebTimesCT")]
|
||||
public int darkWebTimesCT;
|
||||
[JsonProperty("wvType")]
|
||||
public int wvType;
|
||||
[JsonProperty("wvthrough")]
|
||||
public int wvthrough;
|
||||
[JsonProperty("isMagic")]
|
||||
public int isMagic;
|
||||
[JsonProperty("darkWebTimesCT2")]
|
||||
public int darkWebTimesCT2;
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user