Exemple #1
0
        protected override void InitNodes(TreeNode node)
        {
            _ParentNode = AddSectionNode(node, typeof(UStruct).Name);
            if (IsPureStruct())
            {
                var sFlagsNode = AddTextNode(_ParentNode, "Struct Flags:" + UnrealMethods.FlagToString(StructFlags));
                sFlagsNode.ToolTipText = UnrealMethods.FlagsListToString(UnrealMethods.FlagsToList(typeof(Flags.StructFlags), StructFlags));
            }

            AddTextNode(_ParentNode, "Script Size:" + DataScriptSize);
            base.InitNodes(_ParentNode);
        }
        protected override void InitNodes(TreeNode node)
        {
            _ParentNode = AddSectionNode(node, typeof(UState).Name);

            if (GetType() == typeof(UState))
            {
                var stateFlagsNode = AddTextNode(_ParentNode, "State Flags:" + UnrealMethods.FlagToString(_StateFlags));
                stateFlagsNode.ToolTipText = UnrealMethods.FlagsListToString(UnrealMethods.FlagsToList(typeof(Flags.StateFlags), _StateFlags));
            }

            base.InitNodes(_ParentNode);
        }
        protected virtual void InitNodes(TreeNode node)
        {
            _ParentNode = AddSectionNode(node, typeof(UObject).Name);
            var flagNode = AddTextNode(_ParentNode, "ObjectFlags:" + UnrealMethods.FlagToString(_ObjectFlags));

            flagNode.ToolTipText = UnrealMethods.FlagsListToString(
                UnrealMethods.FlagsToList(typeof(Flags.ObjectFlagsLO), typeof(Flags.ObjectFlagsHO), _ObjectFlags)
                );

            AddTextNode(_ParentNode, "Size:" + ExportTable.SerialSize);
            AddTextNode(_ParentNode, "Offset:" + ExportTable.SerialOffset);
        }
        protected override void InitNodes(TreeNode node)
        {
            _ParentNode = AddSectionNode(node, typeof(UClass).Name);
            AddSimpleObjectNode(_ParentNode, Within, "Within", Within != null ? Within.GetImageName() : "");

            var classFlagsNode = AddTextNode(_ParentNode, "Class Flags:" + UnrealMethods.FlagToString(ClassFlags));

            classFlagsNode.ToolTipText = UnrealMethods.FlagsListToString(
                UnrealMethods.FlagsToList(typeof(Flags.ClassFlags), ClassFlags)
                );

            base.InitNodes(_ParentNode);
        }
        protected override void InitNodes(TreeNode node)
        {
            node.ToolTipText = FormatHeader();
            _ParentNode      = AddSectionNode(node, typeof(UFunction).Name);

            var funcFlagsNode = AddTextNode(_ParentNode, "FunctionFlags:" + UnrealMethods.FlagToString(FunctionFlags));

            funcFlagsNode.ToolTipText = UnrealMethods.FlagsListToString(UnrealMethods.FlagsToList(typeof(Flags.FunctionFlags), FunctionFlags));

            if (RepOffset > 0)
            {
                AddTextNode(_ParentNode, "Replication Offset:" + RepOffset);
            }
            base.InitNodes(_ParentNode);
        }
Exemple #6
0
        protected override void InitNodes(TreeNode node)
        {
            _ParentNode = AddSectionNode(node, typeof(UProperty).Name);
            var propertyFlagsNode = AddTextNode(_ParentNode,
                                                "Property Flags:" + UnrealMethods.FlagToString(PropertyFlags)
                                                );

            propertyFlagsNode.ToolTipText = UnrealMethods.FlagsListToString(UnrealMethods.FlagsToList(
                                                                                typeof(Flags.PropertyFlagsLO),
                                                                                typeof(Flags.PropertyFlagsHO), PropertyFlags)
                                                                            );

            if (RepOffset > 0)
            {
                AddTextNode(_ParentNode, "Replication Offset:" + RepOffset);
            }
            base.InitNodes(_ParentNode);
        }