Minor changes to help players see each other

This commit is contained in:
2024-02-28 15:35:47 -05:00
parent 0c126e62d6
commit 4495ae7133
8 changed files with 25 additions and 15 deletions

View File

@@ -112,10 +112,13 @@ private:
// When true, the items are sorted by ID.
// WARNING: setting this to false can create
// nondeterminism. Scans by lua should always be sorted.
// When sorting and 'include_near' are both specified,
// the near item is returned in its sorted order.
bool sorted_;
// The near ID, if nonzero, is either PREPENDED to the
// results, or OMITTED from the results, depending on include_near_.
// The near ID is omitted from the results if include_near is false.
// The near ID is included in the results if include_near is true.
// The near ID is ignored if near is zero.
int64_t near_;
bool include_near_;