internal static _ConnectLocal ConnectLocal()
            {
                if (_ConnectLocalFunc == null)
                {
                    _ConnectLocalFunc =
                        (_ConnectLocal)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnNetConnection_connectLocal"), typeof(_ConnectLocal));
                }

                return(_ConnectLocalFunc);
            }
Example #2
0
            internal static _ConnectLocal ConnectLocal()
            {
                if (_ConnectLocalFunc == null)
                {
                    _ConnectLocalFunc =
                        (_ConnectLocal)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnNetConnection_connectLocal"), typeof(_ConnectLocal));
                }

                return(_ConnectLocalFunc);
            }