薛之猫大王
17 hours ago da45ccae4c4b03fa50308b442a04ccfd3de160e0
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
31
32
33
34
35
//
// GameApp.cs
// Create:
//      2019-10-29
// Description:
//      热更新 服务接口
// Author:
//      薛林强 <545626463@qq.com>
//
// Copyright (c) 2026 虚幻骑士科技
 
using System;
 
namespace Skyunion
{
    public enum HotfixMode
    {
        Reflect,
        ILRT,
        NativeCode,
        IFix,
    }
    public interface IHotFixService : IModule
    {
        HotfixMode GetHotfixMode();
        IHotfixObject Instantiate(string rTypeName, params object[] rArgs);
        T Instantiate<T>(string rTypeName, params object[] rArgs);
        T Instantiate<T>(Type type);
        object Instantiate(Type type);
        object Invoke(IHotfixObject rHotfixObj, string rMethodName, params object[] rArgs);
        object InvokeParent(IHotfixObject rHotfixObj, string rParentType, string rMethodName, params object[] rArgs);
        object InvokeStatic(string rTypeName, string rMethodName, params object[] rArgs);
        object GetAppdomain();
    }
}