Пример #1
0
            internal static _AddExplicitClient AddExplicitClient()
            {
                if (_AddExplicitClientFunc == null)
                {
                    _AddExplicitClientFunc =
                        (_AddExplicitClient)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnafxChoreographer_addExplicitClient"), typeof(_AddExplicitClient));
                }

                return(_AddExplicitClientFunc);
            }
Пример #2
0
            internal static _AddExplicitClient AddExplicitClient()
            {
                if (_AddExplicitClientFunc == null)
                {
                    _AddExplicitClientFunc =
                        (_AddExplicitClient)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnafxChoreographer_addExplicitClient"), typeof(_AddExplicitClient));
                }

                return(_AddExplicitClientFunc);
            }