mirror of
https://github.com/Facepunch/sbox-public.git
synced 2026-01-18 03:09:45 -05:00
This commit imports the C# engine code and game files, excluding C++ source code. [Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
21 lines
464 B
Modula-2
21 lines
464 B
Modula-2
|
|
#include "toolentity.h"
|
|
|
|
managed class Editor.MapEditor.IEntityTool
|
|
{
|
|
void CreateUI( QWidget container );
|
|
string GetCurrentEntityClassName();
|
|
}
|
|
|
|
// Glue for the entity tool, we could do the entire thing in C# with some more APIs exposed and avoid all this.
|
|
managed static class Editor.MapEditor.EntityToolGlue
|
|
{
|
|
Editor.MapEditor.IEntityTool Create( CToolEntity tool );
|
|
}
|
|
|
|
native class CToolEntity
|
|
{
|
|
void StartBlockEntityCreation( string className );
|
|
}
|
|
|