.Net Library written in C#. Useful for generating or parsing in an existing VMF into a tree like structure. Tree can be written to a new VMF file.
- Represents an entry in a
VMF
.
- Represents the title of a node.
- Represents a block containing other
IVNode
s in aVMF
In the following Example, Name
= visgroup, and Body
will contain a list of the VPropery
s
visgroup
{
"name" "Tree_1"
"visgroupid" "5"
"color" "65 45 0"
}
- Represents the title of the Body, it is the top-level text before the
{ }
.
- Holds subnodes of this
VBlock
.
- Initializes a new instance of the
VBlock
class from its name and a list ofIVNode
s.
- Initializes a new instance of the
VBlock
class from VMF text.
- Generates the VMF text representation of this block.
- Returns base ToString with "(Name)" to help with debugging.
- Represents a single property name and value.
In the following example, Name
= visgroupid, and the Value
= 5
"visgroupid" "5"
- Represents the title/name of the property.
- Holds the text value of this property.
- Initializes a new instance of the
VProperty
class from the name and value of a property.
- Initializes a new instance of the
VProperty
class from vmf text line.
- Generates the VMF text representation of this Property.
- Returns base ToString with "(
Name
)" to help with debugging.
- Represents the full contents of a VMF file, this is similar to a
VBLock
, but with noName
.
- Holds all the subnodes (
IVNode
) in aVMF
- Initializes a new instance of the
VMF
class.
- Initializes a new instance of the
VMF
class from a list of IVNodes.
- Initializes a new instance of the
VMF
class from the VMF text.
- Generates the VMF text from the body of
IVNode
s.