示例#1
0
            public void FromJson(string content)
            {
                ListTmp tmp = new ListTmp(content);

                use     = tmp.GetAsBool(0);
                address = tmp.Get(1);
                port    = tmp.GetAsInt(1);
                domain  = tmp.Get(1);
                user    = tmp.Get(1);
                pwd     = tmp.Get(1);
            }
示例#2
0
        public void FromJson(string content)
        {
            ListTmp tmp = new ListTmp(content);

            Id          = tmp.GetAsInt(0);
            Name        = tmp.Get(1);
            Damage      = tmp.GetAsInt(2);
            Effect      = tmp.GetAsInt(3);
            Range       = tmp.GetAsInt(4);
            Cost        = tmp.GetAsInt(5);
            IsExclusive = tmp.GetAsBool(6);
        }