Пример #1
0
        internal MCPTable2(MCP mcp, int index, AssetLoader loader)
            : base(mcp, index)
        {
            var reader = loader.Reader;

            Unknowns.ReadInt32s(reader, 1);
            loader.Expect(index);

            int count1  = reader.ReadInt32();
            int offset1 = reader.ReadInt32();

            Table1U1 = mcp.GetTable1Slice(count1, offset1);

            Box = loader.ReadCheckedAbsoluteBox3f();
        }
Пример #2
0
 /// <summary>
 /// Get a string representation of the content.
 /// </summary>
 /// <returns></returns>
 protected override string ToStringContent()
 {
     return(string.Format("{0}, {1}", MCP.Table1ToString(Table1U1), Box));
 }
Пример #3
0
 internal MCPTable1(MCP mcp, int index, AssetLoader loader)
     : base(mcp, index)
 {
     Unknowns.ReadInt32s(loader.Reader, 1);
 }
Пример #4
0
 internal MCPTable(MCP mcp, int index)
 {
     MCP      = mcp;
     Index    = index;
     Unknowns = new UnknownList();
 }