Exemplo n.º 1
0
            public override void save(ISerializableNode node)
            {
                base.save(node);
                CSerializationID attrId = new CSerializationID("activeChild");

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

                node.setAttr <List <int> >(attrId, this.m_set);
            }
Exemplo n.º 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);
            }
Exemplo n.º 5
0
            public override void save(ISerializableNode node)
            {
                base.save(node);

                CSerializationID setId = new CSerializationID("set");

                node.setAttr(setId, this.m_set);
            }
Exemplo n.º 6
0
            public override void save(ISerializableNode node)
            {
                base.save(node);

                CSerializationID initId = new CSerializationID("inited");

                node.setAttr(initId, this.m_bInited);
            }
Exemplo n.º 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);
            }
Exemplo n.º 9
0
        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);
            }
        }
Exemplo n.º 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);
        }
Exemplo n.º 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);
            }
Exemplo n.º 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);
            }
Exemplo n.º 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);
            }
        }
Exemplo n.º 14
0
        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);
        }