30 lines
676 B
C#
30 lines
676 B
C#
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<Type> 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<Type> Others = new List<Type>()
|
|
{
|
|
//typof(xxx)
|
|
};
|
|
}
|
|
} |