MapClassclass

Represents an entity class used by the map editor

objectMapClass
Namespace
Editor
Assembly
Sandbox.Tools
Declaration
public class Editor.MapClass

Constructors1

Showing 1 constructors

public MapClass(string name)PUBLICCONSTRUCTOR

ParameterTypeDescription
namestring

Properties18

Showing 18 properties

public string Editor.MapClass.Category { get; set; }PUBLICGETSET

Category

Returns:string

public string Editor.MapClass.Description { get; set; }PUBLICGETSET

Human readable name e.g Physics Prop

Returns:string

public string Editor.MapClass.DisplayName { get; set; }PUBLICGETSET

Display name e.g Physics Prop

Returns:string

public System.Collections.Generic.List`1<System.Tuple`2<string,string[]>> Editor.MapClass.EditorHelpers { get; set; }PUBLICGETSET

In-editor helpers for this class, such as box visualizers for certain properties, etc.

Returns:List<Tuple<string,string[]>>

public string Editor.MapClass.GameIdent { get; set; }PUBLICGETSET

What game does this belong to? ( TODO: Might not be best place for this? )

Returns:string

public string Editor.MapClass.Icon { get; set; }PUBLICGETSET

Icon ( Material )

Returns:string

public System.Collections.Generic.List`1<Editor.Input> Editor.MapClass.Inputs { get; set; }PUBLICGETSETINGEST

List of inputs for this class.

Returns:List<Input>

public bool Editor.MapClass.IsCableClass { get; set; }PUBLICGETSET

A cable entity, will appear in the Path Tool.

Returns:bool

public bool Editor.MapClass.IsPathClass { get; set; }PUBLICGETSET

A path entity, will appear in the Path Tool.

Returns:bool

public bool Editor.MapClass.IsPointClass { get; set; }PUBLICGETSET

A point entity, i.e. a model entity, etc.

Returns:bool

public bool Editor.MapClass.IsSolidClass { get; set; }PUBLICGETSET

A solid class entity, triggers, etc., entities that are tied to from a mesh in Hammer

Returns:bool

public System.Collections.Generic.Dictionary`2<string,object> Editor.MapClass.Metadata { get; set; }PUBLICGETSET

General purpose key-value store to alter functionality of UI, map compilation, editor helpers, etc.

Returns:Dictionary<string,object>

public string Editor.MapClass.Name { get; set; }PUBLICGETSET

Class name e.g prop_physics

Returns:string

public System.Collections.Generic.List`1<Editor.Output> Editor.MapClass.Outputs { get; set; }PUBLICGETSET

List of outputs for this class.

Returns:List<Output>

public System.Collections.Generic.List`1<string> Editor.MapClass.Tags { get; set; }PUBLICGETSET

General purpose tags, some with special meanings within Hammer and map compilers.

Returns:List<string>

public System.Type Editor.MapClass.Type { get; set; }PUBLICGETSET

C# Type of this class

Returns:Type

public System.Collections.Generic.List`1<Editor.MapClassVariable> Editor.MapClass.Variables { get; set; }PUBLICGETSET

List of properties exposed to tools for this class.

Returns:List<MapClassVariable>

On this page