public override void Initialize(EB.Sparx.Config config) { Instance.Api = new LadderAPI(); Instance.Api.ErrorHandler += ErrorHandler; Config = GameDataSparxManager.Instance.Register <LadderConfig>(LadderConfigDataId); Info = GameDataSparxManager.Instance.Register <LadderInfo>(LadderInfoDataId); Logs = GameDataSparxManager.Instance.Register <ArenaBattleLogs>(LadderBattleLogsDataId); }
private void OnArenaLogsListener(string path, INodeData data) { ArenaBattleLogs logs = data as ArenaBattleLogs; logScroll.SetDataItems(logs.logs); }