8 changed files with 112 additions and 19 deletions
@ -0,0 +1,26 @@
@@ -0,0 +1,26 @@
|
||||
using Godot; |
||||
using static Godot.GD; |
||||
using System; |
||||
namespace EGFramework{ |
||||
public partial class EGThread : Node{ |
||||
public override void _Ready() |
||||
{ |
||||
base._Ready(); |
||||
} |
||||
|
||||
public override void _Process(double delta) |
||||
{ |
||||
base._Process(delta); |
||||
} |
||||
} |
||||
public static class EGThreadExtension |
||||
{ |
||||
public static void ExecuteInMainThread(this Node self, Action action){ |
||||
//action.Invoke(); |
||||
} |
||||
|
||||
public static void ExecuteAfterSecond(this Node self, Action action,float delay){ |
||||
|
||||
} |
||||
} |
||||
} |
@ -0,0 +1,39 @@
@@ -0,0 +1,39 @@
|
||||
using System; |
||||
using System.Collections.Generic; |
||||
using System.Data.Common; |
||||
using System.Linq.Expressions; |
||||
|
||||
//ORM Save tools. First support SQLite and MySQL,In future we will support other Database who implement DBConnection. |
||||
namespace EGFramework{ |
||||
public class EGDapper : IEGSave, IEGSaveData |
||||
{ |
||||
/// <summary> |
||||
/// |
||||
/// </summary> |
||||
/// <param name="conn">files conn Str or address ip port,username and passwd</param> |
||||
public void InitSaveFile(string conn) |
||||
{ |
||||
throw new System.NotImplementedException(); |
||||
} |
||||
|
||||
public IEnumerable<TData> FindData<TData>(string dataKey, Expression<Func<TData, bool>> expression) where TData : new() |
||||
{ |
||||
throw new NotImplementedException(); |
||||
} |
||||
|
||||
public IEnumerable<TData> GetAll<TData>(string dataKey) where TData : new() |
||||
{ |
||||
throw new NotImplementedException(); |
||||
} |
||||
|
||||
public TData GetData<TData>(string dataKey, object id) where TData : new() |
||||
{ |
||||
throw new NotImplementedException(); |
||||
} |
||||
|
||||
public void SetData<TData>(string dataKey, TData data, object id) |
||||
{ |
||||
throw new NotImplementedException(); |
||||
} |
||||
} |
||||
} |
Loading…
Reference in new issue