Exemplo n.º 1
0
            internal static _OnMessageSelected OnMessageSelected()
            {
                if (_OnMessageSelectedFunc == null)
                {
                    _OnMessageSelectedFunc =
                        (_OnMessageSelected)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "cbGuiConsole_onMessageSelected"), typeof(_OnMessageSelected));
                }

                return(_OnMessageSelectedFunc);
            }
Exemplo n.º 2
0
            internal static _OnMessageSelected OnMessageSelected()
            {
                if (_OnMessageSelectedFunc == null)
                {
                    _OnMessageSelectedFunc =
                        (_OnMessageSelected)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "cbGuiConsole_onMessageSelected"), typeof(_OnMessageSelected));
                }

                return(_OnMessageSelectedFunc);
            }