using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Reflection; using XLua; namespace BFEditor { public static class HotfixCfg { [Hotfix] public static List Properties { get { var types = (from type in Assembly.Load("Assembly-CSharp").GetTypes() where type.Namespace == "BF" select type).ToList(); return types; } } [Hotfix] public static List Others = new List() { //typof(xxx) }; } }