Пример #1
0
            internal static _IsStopped IsStopped()
            {
                if (_IsStoppedFunc == null)
                {
                    _IsStoppedFunc =
                        (_IsStopped)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnSFXSource_isStopped"), typeof(_IsStopped));
                }

                return(_IsStoppedFunc);
            }
Пример #2
0
            internal static _IsStopped IsStopped()
            {
                if (_IsStoppedFunc == null)
                {
                    _IsStoppedFunc =
                        (_IsStopped)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnSFXSource_isStopped"), typeof(_IsStopped));
                }

                return(_IsStoppedFunc);
            }