示例#1
0
            internal static _IsRegisteredEvent IsRegisteredEvent()
            {
                if (_IsRegisteredEventFunc == null)
                {
                    _IsRegisteredEventFunc =
                        (_IsRegisteredEvent)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnEventManager_isRegisteredEvent"), typeof(_IsRegisteredEvent));
                }

                return(_IsRegisteredEventFunc);
            }
示例#2
0
            internal static _IsRegisteredEvent IsRegisteredEvent()
            {
                if (_IsRegisteredEventFunc == null)
                {
                    _IsRegisteredEventFunc =
                        (_IsRegisteredEvent)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnEventManager_isRegisteredEvent"), typeof(_IsRegisteredEvent));
                }

                return(_IsRegisteredEventFunc);
            }