PSSGManager.CNodeInfo.CNodeInfo C# (CSharp) Méthode

CNodeInfo() public méthode

public CNodeInfo ( EndianBinaryReaderEx reader, CPSSGFile file ) : System
reader EndianBinaryReaderEx
file CPSSGFile
Résultat System
        public CNodeInfo(EndianBinaryReaderEx reader, CPSSGFile file)
        {
            attributeInfo = new Dictionary<int, CAttributeInfo>();

            id = reader.ReadInt32();
            name = reader.ReadPSSGString();
            int attributeInfoCount = reader.ReadInt32();
            CAttributeInfo ai;
            for (int i = 0; i < attributeInfoCount; i++) {
                ai = new CAttributeInfo(reader);
                attributeInfo.Add(ai.id, ai);

                file.attributeInfo[ai.id - 1] = ai;
            }
        }
CNodeInfo