.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
IVNodes in aVMF
In the following Example, Name = visgroup, and Body will contain a list of the VProperys
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
VBlockclass from its name and a list ofIVNodes.
- Initializes a new instance of the
VBlockclass 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
VPropertyclass from the name and value of a property.
- Initializes a new instance of the
VPropertyclass 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
VMFclass.
- Initializes a new instance of the
VMFclass from a list of IVNodes.
- Initializes a new instance of the
VMFclass from the VMF text.
- Generates the VMF text from the body of
IVNodes.