예제 #1
0
            public override void save(ISerializableNode node)
            {
                base.save(node);
                CSerializationID attrId = new CSerializationID("activeChild");

                node.setAttr <int>(attrId, base.m_activeChildIndex);
            }
예제 #2
0
            public override void save(ISerializableNode node)
            {
                base.save(node);
                CSerializationID attrId = new CSerializationID("set");

                node.setAttr <List <int> >(attrId, this.m_set);
            }
예제 #3
0
        public override void save(ISerializableNode node)
        {
            base.save(node);
            CSerializationID attrId = new CSerializationID("triggered");

            node.setAttr <bool>(attrId, this.m_bTriggered);
        }
            public override void save(ISerializableNode node)
            {
                base.save(node);
                CSerializationID attrId = new CSerializationID("count");

                node.setAttr <int>(attrId, this.m_n);
            }
예제 #5
0
            public override void save(ISerializableNode node)
            {
                base.save(node);

                CSerializationID setId = new CSerializationID("set");

                node.setAttr(setId, this.m_set);
            }
예제 #6
0
            public override void save(ISerializableNode node)
            {
                base.save(node);

                CSerializationID initId = new CSerializationID("inited");

                node.setAttr(initId, this.m_bInited);
            }
예제 #7
0
            public override void save(ISerializableNode node)
            {
                base.save(node);
                CSerializationID attrId = new CSerializationID("start");

                node.setAttr <float>(attrId, this.m_start);
                CSerializationID attrId2 = new CSerializationID("time");

                node.setAttr <float>(attrId2, this.m_time);
            }
            public override void save(ISerializableNode node)
            {
                base.save(node);
                CSerializationID attrId = new CSerializationID("start");

                node.setAttr <int>(attrId, this.m_start);
                CSerializationID attrId2 = new CSerializationID("frames");

                node.setAttr <int>(attrId2, this.m_frames);
            }
예제 #9
0
파일: Properties.cs 프로젝트: i17c/behaviac
        void Save(ISerializableNode node)
        {
            CSerializationID  variablesId = new CSerializationID("vars");
            ISerializableNode varsNode    = node.newChild(variablesId);

            foreach (IVariable pVar in this.m_variables.Values)
            {
                pVar.Save(varsNode);
            }
        }
예제 #10
0
        public void Save(ISerializableNode node)
        {
            CSerializationID  chidlId          = new CSerializationID("var");
            ISerializableNode serializableNode = node.newChild(chidlId);
            CSerializationID  attrId           = new CSerializationID("name");

            serializableNode.setAttr(attrId, this.m_name);
            CSerializationID attrId2 = new CSerializationID("value");

            serializableNode.setAttr <object>(attrId2, this.m_value);
        }
예제 #11
0
            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);
            }
예제 #12
0
            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);
            }
예제 #13
0
        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);
            }
        }
예제 #14
0
파일: Properties.cs 프로젝트: i17c/behaviac
        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);
        }