fix:1、添加H5
This commit is contained in:
@@ -35,7 +35,8 @@ namespace RedHotRoast
|
||||
public static uint PlayUI_Close = ++cursor_OpenClose;
|
||||
public static uint NewTaskUI_Close = ++cursor_OpenClose;
|
||||
|
||||
|
||||
public static uint H5UI_Open = ++cursor_OpenClose;
|
||||
public static uint H5UI_Close = ++cursor_OpenClose;
|
||||
public static uint PrivacyUI_Open = ++cursor_OpenClose;
|
||||
public static uint PrivacyUI_Close = ++cursor_OpenClose;
|
||||
public static uint PlayUIFX = ++cursor_OpenClose;
|
||||
|
||||
@@ -66,5 +66,21 @@ namespace RedHotRoast
|
||||
public int eggCD;
|
||||
public string ResVersion1;
|
||||
public int IsOrganic;
|
||||
|
||||
public int propswitch;
|
||||
public int flyswitch;
|
||||
public int[] WVOffset;
|
||||
public int[] darkWVRefreshtime2;
|
||||
public int[] darkWVRefreshtime;
|
||||
public int[] propCoord;
|
||||
public int[] darkWVDailyrefreshtimes;
|
||||
public int WVswitch;
|
||||
public int[] WVClickAddTime;
|
||||
public int flyCtRate;
|
||||
public int otherH5switch;
|
||||
public int H5Refreshtime;
|
||||
public int darkThoughProbability;
|
||||
public int Dailyrefreshtimes;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 05307e911b8f647ba99a5902a28e66e7
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user