Example #1
0
        public void WriteToFile(XBinWriter writer)
        {
            writer.PushObjectPtr("GuiInputMapPtr");
            writer.PushObjectPtr("FlashInputMapPtr");
            writer.PushObjectPtr("GuiFontMapPtr");
            writer.PushObjectPtr("GuiSoundMapPtr");
            writer.PushObjectPtr("GuiLanguageMapPtr");

            // Write GuiInputMap table
            writer.FixUpObjectPtr("GuiInputMapPtr");
            writer.Write(0xC);
            GuiInputMap.WriteToFile(writer);

            // Write FlashInputMap table
            writer.FixUpObjectPtr("FlashInputMapPtr");
            writer.Write(0xC);
            FlashInputMap.WriteToFile(writer);

            // Write GuiFontMap table
            writer.FixUpObjectPtr("GuiFontMapPtr");
            writer.Write(0xC);
            GuiFontMap.WriteToFile(writer);

            // Write GuiSoundMap table
            writer.FixUpObjectPtr("GuiSoundMapPtr");
            writer.Write(0xC);
            GuiSoundMap.WriteToFile(writer);

            // Write GuiLanguageMap table
            writer.FixUpObjectPtr("GuiLanguageMapPtr");
            writer.Write(0xC);
            GuiLanguageMap.WriteToFile(writer);
        }
Example #2
0
 public void SetFromTreeNodes(TreeNode Root)
 {
     GuiInputMap.SetFromTreeNodes(Root.Nodes[0]);
     FlashInputMap.SetFromTreeNodes(Root.Nodes[1]);
     GuiFontMap.SetFromTreeNodes(Root.Nodes[2]);
     GuiSoundMap.SetFromTreeNodes(Root.Nodes[3]);
     GuiLanguageMap.SetFromTreeNodes(Root.Nodes[4]);
 }
Example #3
0
        public TreeNode GetAsTreeNodes()
        {
            TreeNode Root = new TreeNode();

            Root.Text = "GameGui Container";
            Root.Nodes.Add(GuiInputMap.GetAsTreeNodes());
            Root.Nodes.Add(FlashInputMap.GetAsTreeNodes());
            Root.Nodes.Add(GuiFontMap.GetAsTreeNodes());
            Root.Nodes.Add(GuiSoundMap.GetAsTreeNodes());
            Root.Nodes.Add(GuiLanguageMap.GetAsTreeNodes());

            return(Root);
        }