s&box docs

public static abstract sealed class Editor.GameData

Lets all native and managed tools know about any engine / game entities.

Methods

Showing 1 methods

public static System.Threading.Tasks.Task LoadEntitiesFromPackage(Sandbox.Package package)

Loads the entity classes from a remote sbox.game game or addon into Hammer.

Properties

Showing 2 properties

public static System.Collections.Generic.IReadOnlyList`1<Editor.MapClass> Editor.GameData.EntityClasses { get; set; }

A list of all entity classes exposed to tools.

public static Sandbox.Package[] Editor.GameData.LoadedPackages { get; set; }

All loaded sbox.game packages for this session to load entities for tools from.

Metadata

FieldValue
NamespaceEditor
Typeclass
AssemblySandbox.Tools
Doc IDT:Editor.GameData

On this page