薛之猫大王
17 hours ago aa2f44839b78e3d339ef6487a83d9f3371f8d57e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//
// GameApp.cs
// Create:
//      2019-10-29
// Description:
//      插件管理器接口
// Author:
//      薛林强 <545626463@qq.com>
//
// Copyright (c) 2026 虚幻骑士科技
 
using System;
 
namespace Skyunion
{
    public interface IPluginManager : IModule
    {
        //------------- 接口 -------------------//
        T FindModule<T>() where T : IModule;
        IModule FindModule(string strModuleName);
        void Registered(IPlugin plugin);
        void UnRegistered(IPlugin plugin);
        void AddModule(string strModuleName, IModule pModule);
        void RemoveModule(string strModuleName);
        void RemoveModule<T>() where T : IModule;
 
        Int64 GetInitTime();
        Int64 GetNowTime();
    };
}