13 changed files with 46 additions and 31 deletions
@ -1,20 +0,0 @@ |
|||||||
namespace EGFramework{ |
|
||||||
public interface ITableData |
|
||||||
{ |
|
||||||
/// <summary> |
|
||||||
/// Get the data of the table. |
|
||||||
/// </summary> |
|
||||||
/// <returns></returns> |
|
||||||
string[][] GetTableData(); |
|
||||||
/// <summary> |
|
||||||
/// Get the header of the table. |
|
||||||
/// </summary> |
|
||||||
/// <returns></returns> |
|
||||||
string[] GetTableHeader(); |
|
||||||
} |
|
||||||
|
|
||||||
public interface ITableRowData |
|
||||||
{ |
|
||||||
string[] GetRowData(); |
|
||||||
} |
|
||||||
} |
|
@ -0,0 +1,16 @@ |
|||||||
|
namespace EGFramework |
||||||
|
{ |
||||||
|
public class EGGenerate : EGModule |
||||||
|
{ |
||||||
|
public override void Init() |
||||||
|
{ |
||||||
|
|
||||||
|
} |
||||||
|
|
||||||
|
public T GenerateUI<T>(object data) where T : new() |
||||||
|
{ |
||||||
|
T ui = new T(); |
||||||
|
return ui; |
||||||
|
} |
||||||
|
} |
||||||
|
} |
@ -1,6 +1,34 @@ |
|||||||
namespace EGFramework{ |
namespace EGFramework |
||||||
public interface IGenerateToolsInterface |
{ |
||||||
|
public interface IGenerateToolsInterface |
||||||
{ |
{ |
||||||
public string GenerateCode<T>(); |
public string GenerateCode<T>(); |
||||||
} |
} |
||||||
|
public interface IGodotTable |
||||||
|
{ |
||||||
|
|
||||||
|
} |
||||||
|
public interface IGodotRowData |
||||||
|
{ |
||||||
|
|
||||||
|
} |
||||||
|
|
||||||
|
public interface ITableData |
||||||
|
{ |
||||||
|
/// <summary> |
||||||
|
/// Get the data of the table. |
||||||
|
/// </summary> |
||||||
|
/// <returns></returns> |
||||||
|
string[][] GetTableData(); |
||||||
|
/// <summary> |
||||||
|
/// Get the header of the table. |
||||||
|
/// </summary> |
||||||
|
/// <returns></returns> |
||||||
|
string[] GetTableHeader(); |
||||||
|
} |
||||||
|
|
||||||
|
public interface ITableRowData |
||||||
|
{ |
||||||
|
string[] GetRowData(); |
||||||
|
} |
||||||
} |
} |
@ -1,9 +0,0 @@ |
|||||||
namespace EGFramework{ |
|
||||||
public interface IGodotTable |
|
||||||
{ |
|
||||||
|
|
||||||
} |
|
||||||
public interface IGodotRowData{ |
|
||||||
|
|
||||||
} |
|
||||||
} |
|
Loading…
Reference in new issue