mirror of
https://github.com/Facepunch/sbox-public.git
synced 2026-01-13 16:59:38 -05:00
This commit imports the C# engine code and game files, excluding C++ source code. [Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
24 lines
732 B
C#
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" ) { } }
|
|
|
|
}
|
|
}
|