From 902a10e14cd00c8db894c08f4455e60ddd0af8c4 Mon Sep 17 00:00:00 2001 From: wangguan <wangguan@kt007.com> Date: Thu, 10 Dec 2020 10:20:26 +0800 Subject: [PATCH] 增加对是否使用SDK的判断 GameConfig.useSDK --- Assets/Scripts/Net/NetExtends/Table.cs | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/Assets/Scripts/Net/NetExtends/Table.cs b/Assets/Scripts/Net/NetExtends/Table.cs index eb4a053..88b476e 100644 --- a/Assets/Scripts/Net/NetExtends/Table.cs +++ b/Assets/Scripts/Net/NetExtends/Table.cs @@ -1103,6 +1103,9 @@ // 等级底框 public int rank_img; + // 缩放比例 + public float zoom; + public static elf_upgrade CreateFromJson(JsonData item) @@ -1113,6 +1116,7 @@ _elf_upgrade.id = int.Parse(GameUtils.GetString(item[index++].ToString())); _elf_upgrade.ratio = int.Parse(GameUtils.GetString(item[index++].ToString())); _elf_upgrade.rank_img = int.Parse(GameUtils.GetString(item[index++].ToString())); + _elf_upgrade.zoom = float.Parse(GameUtils.GetString(item[index++].ToString())); return _elf_upgrade; } -- Gitblit v1.9.1