C# Class AoMBrgEditor.PssgNode

Afficher le fichier Open project: Ryder25/Age-of-Mythology Class Usage Examples

Méthodes publiques

Свойство Type Description
ParentNode PssgNode
TreeNode System.Windows.Forms.TreeNode
attributes PssgAttribute>.Dictionary
data byte[]
id int
isDataNode bool
subNodes AoMBrgEditor.PssgNode[]

Méthodes publiques

Méthode Description
AddAttributeInfo ( int id ) : void
FindNodes ( string nodeName, string attributeName = null, string attributeValue = null ) : List
HasAttribute ( int attributeID ) : bool

Determines whether the current node has an attribute with the specified id.

HasAttribute ( string attributeName ) : bool
PssgNode ( PssgBinaryReader reader, PssgFile file, PssgNode node, bool useDataNodeCheck ) : System
PssgNode ( PssgNode nodeToCopy ) : System
PssgNode ( int id, PssgFile file, PssgNode node, bool isDataNode ) : System
RemoveAttributeInfo ( int id ) : void
RemoveNodeInfo ( int id ) : void
ToString ( ) : string
UpdateSize ( ) : void
Write ( PssgBinaryWriter writer ) : void
this ( int attributeID ) : PssgAttribute

Gets or sets the node attribute associated with the specified attribute id.

this ( string attributeName ) : PssgAttribute

Method Details

AddAttributeInfo() public méthode

public AddAttributeInfo ( int id ) : void
id int
Résultat void

FindNodes() public méthode

public FindNodes ( string nodeName, string attributeName = null, string attributeValue = null ) : List
nodeName string
attributeName string
attributeValue string
Résultat List

HasAttribute() public méthode

Determines whether the current node has an attribute with the specified id.
public HasAttribute ( int attributeID ) : bool
attributeID int The id of the attribute to find.
Résultat bool

HasAttribute() public méthode

public HasAttribute ( string attributeName ) : bool
attributeName string
Résultat bool

PssgNode() public méthode

public PssgNode ( PssgBinaryReader reader, PssgFile file, PssgNode node, bool useDataNodeCheck ) : System
reader PssgBinaryReader
file PssgFile
node PssgNode
useDataNodeCheck bool
Résultat System

PssgNode() public méthode

public PssgNode ( PssgNode nodeToCopy ) : System
nodeToCopy PssgNode
Résultat System

PssgNode() public méthode

public PssgNode ( int id, PssgFile file, PssgNode node, bool isDataNode ) : System
id int
file PssgFile
node PssgNode
isDataNode bool
Résultat System

RemoveAttributeInfo() public méthode

public RemoveAttributeInfo ( int id ) : void
id int
Résultat void

RemoveNodeInfo() public méthode

public RemoveNodeInfo ( int id ) : void
id int
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

UpdateSize() public méthode

public UpdateSize ( ) : void
Résultat void

Write() public méthode

public Write ( PssgBinaryWriter writer ) : void
writer PssgBinaryWriter
Résultat void

this() public méthode

Gets or sets the node attribute associated with the specified attribute id.
public this ( int attributeID ) : PssgAttribute
attributeID int The id of the attribute to get or set.
Résultat PssgAttribute

this() public méthode

public this ( string attributeName ) : PssgAttribute
attributeName string
Résultat PssgAttribute

Property Details

ParentNode public_oe property

public PssgNode,AoMBrgEditor ParentNode
Résultat PssgNode

TreeNode public_oe property

public TreeNode,System.Windows.Forms TreeNode
Résultat System.Windows.Forms.TreeNode

attributes public_oe property

public Dictionary attributes
Résultat PssgAttribute>.Dictionary

data public_oe property

public byte[] data
Résultat byte[]

id public_oe property

public int id
Résultat int

isDataNode public_oe property

public bool isDataNode
Résultat bool

subNodes public_oe property

public PssgNode[],AoMBrgEditor subNodes
Résultat AoMBrgEditor.PssgNode[]