| 12345678910111213141516171819 |
- using System;
- using System.Collections.Generic;
- namespace ET
- {
- /// <summary>
- /// Config组件会扫描所有的有ConfigAttribute标签的配置,加载进来
- /// </summary>
- public class ConfigComponent: Entity
- {
- public static Action<Dictionary<string, byte[]>> GetAllConfigBytes;
-
- public static Func<string, byte[]> GetOneConfigBytes;
-
- public static ConfigComponent Instance;
-
- public Dictionary<Type, object> AllConfig = new Dictionary<Type, object>();
- }
- }
|