feat(battle-engine): preserve ctor base-initializers + Event/Reward shims (1386->1226)

- Regenerate 31 VFX/View/UI/Touch stubs to keep their decomp ': base(...)' /
  ': this(...)' ctor initializers (m1_stub_gen was dropping them -> CS7036/CS1729
  when the copied base has no parameterless ctor). Whole base-ctor cluster cleared.
- UnityEngine.Event: add rawType/keyCode/modifiers/Use() + EventType enum (NGUI
  UIInput/UIInputOnGUI legacy IMGUI path).
- Reward: copy the real Wizard.Scripts.Network.Data.TaskData.Arena.Reward verbatim
  (was an empty ambiguous-name shim in LooseEnds); deps (UserGoods/JsonData) present.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
gamer147
2026-06-05 23:10:52 -04:00
parent 7e5ff0a58f
commit 795f7a6bc8
34 changed files with 79 additions and 36 deletions

View File

@@ -0,0 +1,28 @@
using LitJson;
namespace Wizard.Scripts.Network.Data.TaskData.Arena;
public class Reward
{
public int num;
public int _effectId;
public string _name;
public UserGoods UserGoodsData { get; private set; }
public Reward(JsonData data)
{
num = data["reward_number"].ToInt();
if (data.Keys.Contains("effect_id"))
{
_effectId = data["effect_id"].ToInt();
}
if (data.Keys.Contains("name"))
{
_name = data["name"].ToString();
}
UserGoodsData = new UserGoods((UserGoods.Type)data["reward_type"].ToInt(), data["reward_detail_id"].ToLong());
}
}