Esempio n. 1
0
        public new static object Serialise(object o, Serialiser s)
        {
            if (s == null)
            {
                return((object)new ParserOldAction());
            }
            ParserOldAction parserOldAction = (ParserOldAction)o;

            if (s.Encode)
            {
                ParserAction.Serialise((object)parserOldAction, s);
                s.Serialise((object)parserOldAction.m_action);
                return((object)null);
            }
            ParserAction.Serialise((object)parserOldAction, s);
            parserOldAction.m_action = (int)s.Deserialise();
            return((object)parserOldAction);
        }