// // GameApp.cs // Create: // 2019-10-29 // Description: // 数据对象 接口 // Author: // 薛林强 <545626463@qq.com> // // Copyright (c) 2026 虚幻骑士科技 using ILRuntime.Other; using System; using System.Collections.Generic; using System.IO; using System.Text; namespace Skyunion { public interface ITable { T QueryRecord(int id); List QueryRecords(); } public enum DataMode { Binary, SQLite, Excel, } public interface IDataService : IModule { DataMode GetDataMode(); T QueryRecord(int id); List QueryRecords(); ITable QueryTable(); // 下面是给ILRuntime使用的 T QueryRecord(int id, Type type); List QueryRecords(Type type); ITable QueryTable(Type type); } }