| | |
| | | // 资源id |
| | | public int resource; |
| | | |
| | | // 击杀得分 |
| | | public int point; |
| | | |
| | | |
| | | |
| | | public static endless_enemy CreateFromJson(JsonData item) |
| | |
| | | _endless_enemy.speed_rate = float.Parse(GameUtils.GetString(item[index++].ToString())); |
| | | _endless_enemy.coin_rate = int.Parse(GameUtils.GetString(item[index++].ToString())); |
| | | _endless_enemy.resource = int.Parse(GameUtils.GetString(item[index++].ToString())); |
| | | _endless_enemy.point = int.Parse(GameUtils.GetString(item[index++].ToString())); |
| | | |
| | | return _endless_enemy; |
| | | } |
| | |
| | | // 法阵图片 |
| | | public int tunel_bg; |
| | | |
| | | // 过关得分 |
| | | public int bonus; |
| | | |
| | | |
| | | |
| | | public static endless_port CreateFromJson(JsonData item) |
| | |
| | | _endless_port.drop = GameUtils.GetRewardList(item[index++]); |
| | | _endless_port.drop_rate = GameUtils.GetIntList(item[index++]); |
| | | _endless_port.tunel_bg = int.Parse(GameUtils.GetString(item[index++].ToString())); |
| | | _endless_port.bonus = int.Parse(GameUtils.GetString(item[index++].ToString())); |
| | | |
| | | return _endless_port; |
| | | } |
| | |
| | | // 限购次数 |
| | | public int purchaselimit; |
| | | |
| | | // 图片资源编号 |
| | | public string img; |
| | | |
| | | |
| | | |
| | | public static scoreshop CreateFromJson(JsonData item) |
| | |
| | | _scoreshop.price = int.Parse(GameUtils.GetString(item[index++].ToString())); |
| | | _scoreshop.rewardlimit = int.Parse(GameUtils.GetString(item[index++].ToString())); |
| | | _scoreshop.purchaselimit = int.Parse(GameUtils.GetString(item[index++].ToString())); |
| | | _scoreshop.img = GameUtils.GetString(item[index++].ToString()); |
| | | |
| | | return _scoreshop; |
| | | } |
| | |
| | | // 限购次数 |
| | | public int purchaselimit; |
| | | |
| | | // 商品描述 |
| | | public string info; |
| | | |
| | | |
| | | |
| | | public static donateshop CreateFromJson(JsonData item) |
| | |
| | | _donateshop.reward = GameUtils.GetRewardList(item[index++]); |
| | | _donateshop.price = int.Parse(GameUtils.GetString(item[index++].ToString())); |
| | | _donateshop.purchaselimit = int.Parse(GameUtils.GetString(item[index++].ToString())); |
| | | _donateshop.info = GameUtils.GetString(item[index++].ToString()); |
| | | |
| | | return _donateshop; |
| | | } |