Esempio n. 1
0
            internal static _GetPing GetPing()
            {
                if (_GetPingFunc == null)
                {
                    _GetPingFunc =
                        (_GetPing)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnNetConnection_getPing"), typeof(_GetPing));
                }

                return(_GetPingFunc);
            }
Esempio n. 2
0
            internal static _GetPing GetPing()
            {
                if (_GetPingFunc == null)
                {
                    _GetPingFunc =
                        (_GetPing)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnNetConnection_getPing"), typeof(_GetPing));
                }

                return(_GetPingFunc);
            }