예제 #1
0
        private static void BuildFighterDataNodes(TreeNode parent, UInt32 offset)
        {
            var newFighterDataNode = new FighterDataNode(file, offset);

            var newTreeNode = new TreeNode("FighterDataNode");

            newTreeNode.Tag = newFighterDataNode;
            parent.Nodes.Add(newTreeNode);

            if (newFighterDataNode.unknownOffset0x20 != 0)
            {
                var nodeOffset = ReadUInt32(newFighterDataNode.unknownOffset0x20 + dataOffset);

                if (nodeOffset != 0)
                {
                    BuildJointNodes(newTreeNode, nodeOffset + dataOffset);
                }
            }

            if (newFighterDataNode.unknownOffset0x5C != 0)
            {
                BuildJointNodes(newTreeNode, newFighterDataNode.unknownOffset0x5C + dataOffset);
            }
        }
예제 #2
0
        private static void BuildFighterDataNodes(TreeNode parent, UInt32 offset)
        {
            var newFighterDataNode = new FighterDataNode(file, offset);

            var newTreeNode = new TreeNode("FighterDataNode");
            newTreeNode.Tag = newFighterDataNode;
            parent.Nodes.Add(newTreeNode);

            if (newFighterDataNode.unknownOffset0x20 != 0)
            {
                var nodeOffset = ReadUInt32(newFighterDataNode.unknownOffset0x20 + dataOffset);

                if (nodeOffset != 0)
                {
                    BuildJointNodes(newTreeNode, nodeOffset + dataOffset);
                }
            }

            if (newFighterDataNode.unknownOffset0x5C != 0)
            {
                BuildJointNodes(newTreeNode, newFighterDataNode.unknownOffset0x5C + dataOffset);
            }

        }