コード例 #1
0
        static WorkerBackgroundServiceProxy()
        {
            var wim = typeof(WorkerInstanceManager);

            InitEndPoint =
                MonoTypeHelper.GetStaticMethodId <WorkerInstanceManager>(nameof(WorkerInstanceManager.Init));
            EndInvokeCallBackEndpoint =
                MonoTypeHelper.GetStaticMethodId <JSInvokeService>(nameof(JSInvokeService.EndInvokeCallBack));
        }
コード例 #2
0
        static CoreInstanceService()
        {
            initEndpointID =
                MonoTypeHelper.GetStaticMethodId <WorkerSimpleInstanceService>(nameof(WorkerSimpleInstanceService.Init));
            endInvokeCallBackEndpointID =
                MonoTypeHelper.GetStaticMethodId <JSInvokeService>(nameof(JSInvokeService.EndInvokeCallBack));
#if DEBUG
            Console.WriteLine($"{nameof(CoreInstanceService)}(): {initEndpointID}, {endInvokeCallBackEndpointID}");
#endif
        }