Battle Talent
V11
|
Public Member Functions | |
delegate void | loadCompleted (bool isSuc) |
List< ModInfo > | GetModInfos () |
void | Init () |
void | InitialLoad () |
bool | IsReadyToLoadAgain () |
void | ClearMods () |
void | OnModInstalled (ModfileIdPair idPair) |
void | OnModUnInstalled (ModfileIdPair[] idPairs) |
void | DiscoverMods () |
void | LoadMods (loadCompleted cb=null) |
void | LoadModScene (string sceneKey) |
void | TryLoadModByPath (string path) |
void | OnModDisable (string name) |
void | OnModEnable (string name) |
IResourceLocation | FindAssetInMod< T > (string key, IResourceLocator modLocator) |
bool | IsEntryLocation (string key) |
bool | IsScriptLocation (string key) |
void | RemoveAllMods () |
Static Public Member Functions | |
static void | AddItemInfo (ItemInfoConfig cfg, ModInfo modInfo) |
static void | SaveLuaEnableFunc (XLua.LuaFunction luaFunc) |
static void | SaveModInfo (string path, string name) |
static string | GetNameByPath (string path) |
static bool | IsModItemEnable (string name) |
static GameObject | TryGetHandPosePreset (string name, int idx) |
Static Public Attributes | |
static ModManager | Instance = new ModManager() |
static Dictionary< string, HandPose > | handPoseDic = new Dictionary<string, HandPose>() |
static ModInfo | loadingMod = null |
static Dictionary< string, XLua.LuaFunction > | disableFuncDic = new Dictionary<string, XLua.LuaFunction>() |
Events | |
System.Action | OnModChanged |