internal static void sort(IntPtr thisPtr) { if (_sortFunc == null) { _sortFunc = (_sort)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle, "fn_GuiPopUpMenuCtrl_sort"), typeof(_sort)); } _sortFunc(thisPtr); }
internal static void sort(IntPtr thisPtr, bool ascending) { if (_sortFunc == null) { _sortFunc = (_sort)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle, "fn_ArrayObject_sort"), typeof(_sort)); } _sortFunc(thisPtr, ascending); }
internal static void sort(IntPtr thisPtr, int columnId, bool increasing) { if (_sortFunc == null) { _sortFunc = (_sort)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle, "fn_GuiTextListCtrl_sort"), typeof(_sort)); } _sortFunc(thisPtr, columnId, increasing); }
internal static void sort(IntPtr thisPtr, [MarshalAs(UnmanagedType.LPWStr)] string callbackFunction) { if (_sortFunc == null) { _sortFunc = (_sort)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle, "fn_SimSet_sort"), typeof(_sort)); } _sortFunc(thisPtr, callbackFunction); }