예제 #1
0
        public XbfAssembly(XbfReader xbf, BinaryReader reader)
        {
            Kind = (XbfAssemblyKind)reader.ReadInt32();
            int stringID = reader.ReadInt32();

            Name = xbf.StringTable[stringID];
        }
예제 #2
0
        public XbfTypeNamespace(XbfReader xbf, BinaryReader reader)
        {
            int assemblyID = reader.ReadInt32();

            Assembly = xbf.AssemblyTable[assemblyID];
            int nameID = reader.ReadInt32();

            Name = xbf.StringTable[nameID];
        }
예제 #3
0
        public XbfProperty(XbfReader xbf, BinaryReader reader)
        {
            Flags = (XbfPropertyFlags)reader.ReadInt32();
            int typeID = reader.ReadInt32();

            Type = xbf.TypeTable[typeID];
            int nameID = reader.ReadInt32();

            Name = xbf.StringTable[nameID];
        }
예제 #4
0
        public XbfType(XbfReader xbf, BinaryReader reader)
        {
            Flags = (XbfTypeFlags)reader.ReadInt32();
            int namespaceID = reader.ReadInt32();

            Namespace = xbf.TypeNamespaceTable[namespaceID];
            int nameID = reader.ReadInt32();

            Name = xbf.StringTable[nameID];
        }
예제 #5
0
 public XbfNodeSection(XbfReader xbf, BinaryReader reader)
 {
     NodeOffset       = reader.ReadInt32();
     PositionalOffset = reader.ReadInt32();
 }