Files
sbox-public/engine/Sandbox.Tools/MapEditor/MapDoc/Selection.Native.cs
s&box team 71f266059a Open source release
This commit imports the C# engine code and game files, excluding C++ source code.

[Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
2025-11-24 09:05:18 +00:00

21 lines
872 B
C#

namespace NativeMapDoc;
internal enum SelectionConversionMethod_t
{
SELECTION_CONVERT_NONE,
SELECTION_CONVERT_STANDARD,
SELECTION_CONVERT_CONNECTED,
SELECTION_CONVERT_BOUNDRY
};
// Set of operations that may be used when applying a component to a selection set
internal enum SelectionOperation_t
{
SELECT_OP_NONE, // Do not modify the set
SELECT_OP_SET, // Clear the current set, making the new component the only selected component
SELECT_OP_ADD, // Add the component to the current set
SELECT_OP_REMOVE, // Remove the component from the current set
SELECT_OP_TOGGLE, // Remove the component if it is in the current set or add it to the set otherwise
SELECT_OP_SET_UNLESS_SELECTED // If the component is in the set do nothing, otherwise clear the set and add the component
};