Files
sbox-public/engine/Sandbox.Tools/Events/EditorEvent.MapEditor.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

24 lines
732 B
C#

using Sandbox;
namespace Editor;
public static partial class EditorEvent
{
/// <summary>
/// Events that happen within the map editor.
/// </summary>
public static class MapEditor
{
/// <summary>
/// Called when the user selects / deselects any object in the map and <see cref="Editor.MapEditor.Selection.All"></see> is changed.
/// </summary>
public class SelectionChanged : EventAttribute { public SelectionChanged() : base( "hammer.selection.changed" ) { } }
/// <summary>
/// Called when the map view is right clicked, <see cref="Editor.Menu"/> is passed.
/// </summary>
public class MapViewContextMenu : EventAttribute { public MapViewContextMenu() : base( "hammer.mapview.contextmenu" ) { } }
}
}