Ejemplo n.º 1
0
        public Filter(string _name)
        {
            m_name = _name;
            filters.Add(m_name, this);
            FilterList fl = new FilterList(m_name);

            fl.filters.Add(this);
        }
Ejemplo n.º 2
0
        public Filter(SerializationInfo info, StreamingContext context)
        {
            m_name        = (string)info.GetValue("Name", typeof(string));
            uintpar       = (uint)info.GetValue("uintpar", typeof(uint));
            uintpar2      = (uint)info.GetValue("uintpar2", typeof(uint));
            type          = (FilterType)(uint)info.GetValue("type", typeof(uint));
            filterlistpar = (FilterList)info.GetValue("filterlistpar", typeof(FilterList));
            enumpar       = (uint)info.GetValue("enumpar", typeof(uint));
            filters.Add(name, this);
            FilterList fl = new FilterList(m_name);

            fl.filters.Add(this);
        }
Ejemplo n.º 3
0
 public Action(SerializationInfo info, StreamingContext context)
 {
     name      = (string)info.GetValue("Name", typeof(string));
     boolpar   = (bool)info.GetValue("boolpar", typeof(bool));
     uintpar   = (uint)info.GetValue("uintpar", typeof(uint));
     knownpar  = (UOCallibration.CallibratedFeatures)(uint) info.GetValue("knownpar", typeof(uint));
     knownpar2 = (UOCallibration.CallibratedFeatures)(uint) info.GetValue("knownpar2", typeof(uint));
     m_type    = (ActionType)(uint)info.GetValue("type", typeof(uint));
     seqpar    = (Sequence)info.GetValue("sequence", typeof(Sequence));
     actlist   = (ActionList)info.GetValue("actlist", typeof(ActionList));
     ontrue    = (ActionList)info.GetValue("ontrue", typeof(ActionList));
     onfalse   = (ActionList)info.GetValue("onfalse", typeof(ActionList));
     tocheck   = (FilterList)info.GetValue("tocheck", typeof(FilterList));
     actions.Add(name, this);
 }