当前位置: 首页>>代码示例>>C#>>正文


C# ISerializableNode类代码示例

本文整理汇总了C#中ISerializableNode的典型用法代码示例。如果您正苦于以下问题:C# ISerializableNode类的具体用法?C# ISerializableNode怎么用?C# ISerializableNode使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


ISerializableNode类属于命名空间,在下文中一共展示了ISerializableNode类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: save

        public override void save(ISerializableNode node)
        {
            base.save(node);

            CSerializationID triggeredId = new CSerializationID("triggered");
            node.setAttr(triggeredId, this.m_bTriggered);
        }
开发者ID:675492062,项目名称:behaviac,代码行数:7,代码来源:Waitforsignal.cs

示例2: save

            public override void save(ISerializableNode node)
            {
                base.save(node);

                CSerializationID setId = new CSerializationID("set");
                node.setAttr(setId, this.m_set);
            }
开发者ID:Just4F,项目名称:behaviac,代码行数:7,代码来源:Compositestochastic.cs

示例3: save

            public override void save(ISerializableNode node)
            {
                base.save(node);

                CSerializationID countId = new CSerializationID("count");
                node.setAttr(countId, this.m_n);
            }
开发者ID:haolly,项目名称:behaviac,代码行数:7,代码来源:Decoratorcount.cs

示例4: save

            public override void save(ISerializableNode node)
            {
                base.save(node);

                CSerializationID activeChildId = new CSerializationID("activeChild");
                node.setAttr(activeChildId, this.m_activeChildIndex);
            }
开发者ID:Just4F,项目名称:behaviac,代码行数:7,代码来源:Selectorloop.cs

示例5: save

            public override void save(ISerializableNode node)
            {
                base.save(node);

                CSerializationID initId = new CSerializationID("inited");
                node.setAttr(initId, this.m_bInited);
            }
开发者ID:675492062,项目名称:behaviac,代码行数:7,代码来源:Decoratorcountlimit.cs

示例6: save

            public override void save(ISerializableNode node)
            {
                base.save(node);

                CSerializationID startId = new CSerializationID("start");
                node.setAttr(startId, this.m_start);

                CSerializationID timeId = new CSerializationID("time");
                node.setAttr(timeId, this.m_time);
            }
开发者ID:675492062,项目名称:behaviac,代码行数:10,代码来源:Decoratortime.cs

示例7: save

            public override void save(ISerializableNode node)
            {
                base.save(node);

                CSerializationID startId = new CSerializationID("start");
                node.setAttr(startId, this.m_start);

                CSerializationID framesId = new CSerializationID("frames");
                node.setAttr(framesId, this.m_frames);
            }
开发者ID:Just4F,项目名称:behaviac,代码行数:10,代码来源:Decoratorframes.cs

示例8: save

        public virtual void save(ISerializableNode node)
        {
            //CSerializationID  classId = new CSerializationID("class");
            //node.setAttr(classId, this.GetClassNameString());

            //CSerializationID  idId = new CSerializationID("id");
            //node.setAttr(idId, this.GetId());

            //CSerializationID  statusId = new CSerializationID("status");
            //node.setAttr(statusId, this.m_status);
        }
开发者ID:wuzhen,项目名称:behaviac,代码行数:11,代码来源:BehaviorTree_task.cs

示例9: load

 public virtual void load(ISerializableNode node)
 {
 }
开发者ID:wuzhen,项目名称:behaviac,代码行数:3,代码来源:BehaviorTree_task.cs

示例10: save

        public override void save(ISerializableNode node)
        {
            base.save(node);

            if (this.m_root != null)
            {
                //CSerializationID  nodeId = new CSerializationID("root");
                //ISerializableNode chidlNode = node.newChild(nodeId);
                //this.m_root.save(chidlNode);
            }
        }
开发者ID:wuzhen,项目名称:behaviac,代码行数:11,代码来源:BehaviorTree_task.cs

示例11: Load

        void Load(ISerializableNode node)
        {

        }
开发者ID:KeyleXiao,项目名称:behaviac,代码行数:4,代码来源:Properties.cs

示例12: load

 public override void load(ISerializableNode node)
 {
     base.load(node);
 }
开发者ID:godsonhand,项目名称:behaviac,代码行数:4,代码来源:Action.cs

示例13: Save

        public void Save(ISerializableNode node)
        {
            //base.Save(node);

            CSerializationID variableId = new CSerializationID("var");
            ISerializableNode varNode = node.newChild(variableId);

            CSerializationID nameId = new CSerializationID("name");
            varNode.setAttr(nameId, this.m_name);

            CSerializationID valueId = new CSerializationID("value");
            varNode.setAttr(valueId, this.m_value);
        }
开发者ID:KeyleXiao,项目名称:behaviac,代码行数:13,代码来源:Properties.cs

示例14: Save

        private void Save(ISerializableNode node)
        {
            CSerializationID variablesId = new CSerializationID("vars");
            ISerializableNode varsNode = node.newChild(variablesId);

            var e = this.m_variables.Values.GetEnumerator();
            while (e.MoveNext())
            {
                e.Current.Save(varsNode);
            }
        }
开发者ID:Just4F,项目名称:behaviac,代码行数:11,代码来源:AgentState.cs

示例15: Load

 public void Load(ISerializableNode node)
 {
     this.load(node);
 }
开发者ID:wuzhen,项目名称:behaviac,代码行数:4,代码来源:BehaviorTree_task.cs


注:本文中的ISerializableNode类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。