Ejemplo n.º 1
0
        public void TestCollGroup()
        {
            var collGroup = new CollGroup();

            collGroup.unknown1 = new byte[] { 1, 2, 3, 4 };

            TestGcnSerializableExisting(collGroup);
        }
Ejemplo n.º 2
0
        public void TestCollGrid()
        {
            var collGrid = new CollGrid();

            collGrid.boundsMin.Set(1, 2, 3);
            collGrid.boundsMax.Set(4, 5, 6);
            collGrid.unknown1 = 7;
            collGrid.gridX    = 2;
            collGrid.gridY    = 3;
            for (var i = 0; i < 2 * 3; ++i)
            {
                collGrid.unknown2.Add(i);
            }

            var collGroup = new CollGroup();

            collGroup.unknown1 = new byte[] { 1, 2, 3, 4 };

            collGrid.groups.Add(collGroup);
            collGrid.groups.Add(collGroup);

            TestGcnSerializableExisting(collGrid);
        }