API ReferenceEditorAPI Reference/Editor/GameDataGameDataclassLets all native and managed tools know about any engine / game entities.object→GameDataNamespaceEditorAssemblySandbox.ToolsDeclarationpublic static abstract sealed class Editor.GameDataMethods1Search methodsShowing 1 methodspublic static System.Threading.Tasks.Task LoadEntitiesFromPackage(Sandbox.Package package)PUBLICSTATICLoads the entity classes from a remote sbox.game game or addon into Hammer.ParameterTypeDescriptionpackagePackage—Returns:Task—No results match this filter.Properties2Search propertiesShowing 2 propertiespublic static System.Collections.Generic.IReadOnlyList`1<Editor.MapClass> Editor.GameData.EntityClasses { get; set; }PUBLICSTATICGETSETA list of all entity classes exposed to tools.Returns:IReadOnlyList<MapClass>—public static Sandbox.Package[] Editor.GameData.LoadedPackages { get; set; }PUBLICSTATICGETSETAll loaded sbox.game packages for this session to load entities for tools from.Returns:Package[]—No results match this filter.Frame.ctor()Previous PageEntityClassesNext Page
public static System.Threading.Tasks.Task LoadEntitiesFromPackage(Sandbox.Package package)PUBLICSTATICLoads the entity classes from a remote sbox.game game or addon into Hammer.ParameterTypeDescriptionpackagePackage—Returns:Task—
public static System.Collections.Generic.IReadOnlyList`1<Editor.MapClass> Editor.GameData.EntityClasses { get; set; }PUBLICSTATICGETSETA list of all entity classes exposed to tools.Returns:IReadOnlyList<MapClass>—
public static Sandbox.Package[] Editor.GameData.LoadedPackages { get; set; }PUBLICSTATICGETSETAll loaded sbox.game packages for this session to load entities for tools from.Returns:Package[]—