internal static _CheckMaxRate CheckMaxRate()
            {
                if (_CheckMaxRateFunc == null)
                {
                    _CheckMaxRateFunc =
                        (_CheckMaxRate)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnNetConnection_checkMaxRate"), typeof(_CheckMaxRate));
                }

                return(_CheckMaxRateFunc);
            }
Beispiel #2
0
            internal static _CheckMaxRate CheckMaxRate()
            {
                if (_CheckMaxRateFunc == null)
                {
                    _CheckMaxRateFunc =
                        (_CheckMaxRate)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnNetConnection_checkMaxRate"), typeof(_CheckMaxRate));
                }

                return(_CheckMaxRateFunc);
            }