Esempio n. 1
0
            internal static _OnDNSResolved OnDNSResolved()
            {
                if (_OnDNSResolvedFunc == null)
                {
                    _OnDNSResolvedFunc =
                        (_OnDNSResolved)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "cbTCPObject_onDNSResolved"), typeof(_OnDNSResolved));
                }

                return(_OnDNSResolvedFunc);
            }
Esempio n. 2
0
            internal static _OnDNSResolved OnDNSResolved()
            {
                if (_OnDNSResolvedFunc == null)
                {
                    _OnDNSResolvedFunc =
                        (_OnDNSResolved)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "cbTCPObject_onDNSResolved"), typeof(_OnDNSResolved));
                }

                return(_OnDNSResolvedFunc);
            }