1
This commit is contained in:
parent
2bf10f47c4
commit
8769e2231f
@ -1,4 +1,5 @@
|
|||||||
using System;
|
using System;
|
||||||
|
using System.IO;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
@ -110,7 +111,14 @@ namespace F6
|
|||||||
|
|
||||||
public virtual void Load()
|
public virtual void Load()
|
||||||
{
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
string fileContent = File.ReadAllText(this.fileName);
|
||||||
|
int i = 0;
|
||||||
|
}catch(Exception e)
|
||||||
|
{
|
||||||
|
int i = 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
protected virtual void LoadPost()
|
protected virtual void LoadPost()
|
||||||
|
@ -24,6 +24,7 @@ public class BattleMgr
|
|||||||
//CUILoading.OpenLoading();
|
//CUILoading.OpenLoading();
|
||||||
//CUILoading.SetLoading(0);
|
//CUILoading.SetLoading(0);
|
||||||
string path = Application.dataPath;
|
string path = Application.dataPath;
|
||||||
|
Mt.Table.Load();
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var test = Newtonsoft.Json.JsonConvert.DeserializeObject<Dictionary<string, string>>("{\"id\":123423.45454, \"Name\":\"Test\", \"age\":38.4344}");
|
var test = Newtonsoft.Json.JsonConvert.DeserializeObject<Dictionary<string, string>>("{\"id\":123423.45454, \"Name\":\"Test\", \"age\":38.4344}");
|
||||||
|
@ -4,7 +4,7 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace cfclient.Mt
|
namespace Mt
|
||||||
{
|
{
|
||||||
class Equip : Mtb.Equip
|
class Equip : Mtb.Equip
|
||||||
{
|
{
|
||||||
|
@ -4,11 +4,16 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace cfclient.Mt
|
namespace Mt
|
||||||
{
|
{
|
||||||
class Table
|
class Table
|
||||||
{
|
{
|
||||||
public static EquipTable Equip = new EquipTable("", "");
|
public static EquipTable Equip = new EquipTable(@"D:\opensource\pubgv4\branch\config_v4_dev3d_10_9\upload_files\equip@equip.json", "id");
|
||||||
|
|
||||||
|
public static void Load()
|
||||||
|
{
|
||||||
|
Equip.Load();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,7 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace cfclient.Mtb
|
namespace Mtb
|
||||||
{
|
{
|
||||||
class Equip : F6.BaseTable
|
class Equip : F6.BaseTable
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user