예제 #1
0
            internal static _GetRowCount GetRowCount()
            {
                if (_GetRowCountFunc == null)
                {
                    _GetRowCountFunc =
                        (_GetRowCount)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiGameListMenuCtrl_getRowCount"), typeof(_GetRowCount));
                }

                return(_GetRowCountFunc);
            }
예제 #2
0
            internal static _GetRowCount GetRowCount()
            {
                if (_GetRowCountFunc == null)
                {
                    _GetRowCountFunc =
                        (_GetRowCount)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiGameListMenuCtrl_getRowCount"), typeof(_GetRowCount));
                }

                return(_GetRowCountFunc);
            }