Class CMapPrefab
Namespace: ValveResourceFormat.IO.ContentFormats.ValveMap
Assembly: ValveResourceFormat.dll
References another map file and places its contents at this node.
public class CMapPrefab : MapNode, IDictionary<string, object?>, ICollection<KeyValuePair<string, object?>>, IEnumerable<KeyValuePair<string, object?>>, IDictionary, ICollection, IEnumerable, IEquatable<Element>Inheritance
object ← AttributeList ← Element ← MapNode ← CMapPrefab
Implements
IDictionary<string, object?>, ICollection<KeyValuePair<string, object?>>, IEnumerable<KeyValuePair<string, object?>>, IDictionary, ICollection, IEnumerable, IEquatable<Element>
Inherited Members
MapNode.Origin, MapNode.Angles, MapNode.Scales, MapNode.NodeID, MapNode.ReferenceID, MapNode.Children, MapNode.EditorOnly, MapNode.ForceHidden, MapNode.TransformLocked, MapNode.VariableTargetKeys, MapNode.VariableNames, Element.GetPropertyDerivedAttributeList(), Element.Get<T>(string), Element.GetArray<T>(string), Element.Contains(string), Element.ToString(), Element.ContainsKey(string), Element.Equals(Element?), Element.ID, Element.Name, Element.ClassName, Element.Stub, Element.Owner, Element.this[string], AttributeList.Attribute_ChangeLock, AttributeList.Add(string, object?), AttributeList.GetPropertyDerivedAttributeList(), AttributeList.GetOverrideType(string), AttributeList.SetOverrideType(string, AttributeList.OverrideType?), AttributeList.Remove(string), AttributeList.TryGetValue(string, out object?), AttributeList.ContainsKey(string), AttributeList.RemoveAt(int), AttributeList.IndexOf(string), AttributeList.Clear(), AttributeList.GetAllAttributesForSerialization(), AttributeList.GetEnumerator(), AttributeList.OnPropertyChanged(string), AttributeList.OnCollectionChanged(NotifyCollectionChangedEventArgs), AttributeList.Owner, AttributeList.Keys, AttributeList.Values, AttributeList.this[string], AttributeList.this[int], AttributeList.Count, AttributeList.IsFixedSize, AttributeList.IsReadOnly, AttributeList.IsSynchronized, AttributeList.SyncRoot, AttributeList.PropertyChanged, AttributeList.CollectionChanged
Properties
FixupEntityNames
Whether entity names inside the prefab are prefixed to keep them unique.
public bool FixupEntityNames { get; set; }Property Value
LoadAtRuntime
Whether the prefab is spawned at runtime instead of merged at compile time.
public bool LoadAtRuntime { get; set; }Property Value
LoadIfNested
Whether the prefab still loads when it sits inside another prefab.
public bool LoadIfNested { get; set; }Property Value
TargetMapPath
Path to the map file this prefab pulls in.
public string TargetMapPath { get; set; }Property Value
TargetName
Name given to the prefab instance.
public string TargetName { get; set; }
