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

            Id   = tmp.GetAsInt(0);
            Name = tmp.Get(1);
        }
Exemple #2
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);
            }
Exemple #3
0
        public void FromJson(string content)
        {
            ListTmp tmp = new ListTmp(content);

            Clear();
            for (int i = 0; i < tmp.Count; i++)
            {
                Weapon it = new Weapon();
                it.FromJson(tmp[i]);
                Add(it);
            }
        }
Exemple #4
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);
        }
Exemple #5
0
        public void FromJson(string content)
        {
            ListTmp tmp = new ListTmp(content);

            Id            = tmp.GetAsInt(0);
            Name          = tmp.Get(1);
            WeaponClassId = tmp.GetAsInt(2);
            MoveTypeId    = tmp.GetAsInt(3);
            Weapon[0]     = tmp.GetAsInt(4);
            Weapon[1]     = tmp.GetAsInt(5);
            Weapon[2]     = tmp.GetAsInt(6);
            Weapon[3]     = tmp.GetAsInt(7);
            Weapon[4]     = tmp.GetAsInt(8);
        }
Exemple #6
0
        public void FromJson(string content)
        {
            ListTmp tmp = new ListTmp(content);

            heroes        = new Heroes();
            stats         = new HeroEntities();
            weaponclasses = new KeyValueArray();
            movetypes     = new KeyValueArray();
            weapons       = new Weapons();
            heroes.FromJson(tmp.Get(0));
            stats.FromJson(tmp.Get(1));
            weaponclasses.FromJson(tmp.Get(2));
            movetypes.FromJson(tmp.Get(3));
            weapons.FromJson(tmp.Get(4));
        }
Exemple #7
0
        public void FromJson(string content)
        {
            ListTmp tmp = new ListTmp(content);

            proxy.FromJson(tmp.Get(0));
        }