MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / Sort

Method Sort

engine/Poseidon/UI/DisplayUIMultiplayer.cpp:610–623  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

608 SortPreservingSelection(
609 [&]
610 {
611 CmpModsContext ctx;
612 ctx.column = column;
613 ctx.ascending = ascending;
614 QSort(_modRows.Data(), _modRows.Size(), ctx, CmpMods);
615 // _visible holds actual row indices into the just-reordered _modRows.
616 if (IsFilterActive())
617 RebuildVisibleRows();
618 });
619}
620
621// The checked rows' @modId joined by ',' (selection order), "" if none. This is
622// the human/harness-readable view of the active set (triAssertModsActiveSet); the
623// comma — not the path separator ';' — keeps it embeddable in a tri .sqf string,
624// whose runner splits statements on ';'. BuildModPath produces the real ';'-joined
625// path the re-mount consumes.
626RString CModsList::CheckedModIds() const

Callers 9

OnButtonClickedMethod · 0.45
UpdateServerListMethod · 0.45
SeedTestSessionsMethod · 0.45
SeedTestModsMethod · 0.45
OnButtonClickedMethod · 0.45
ApplyInitialSortMethod · 0.45
MergeWorkshopModsMethod · 0.45
TriSortModsFunction · 0.45

Calls 3

QSortFunction · 0.85
DataMethod · 0.45
SizeMethod · 0.45

Tested by 1

TriSortModsFunction · 0.36