Пример #1
0
        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);
        }
Пример #2
0
        private void OnArenaLogsListener(string path, INodeData data)
        {
            ArenaBattleLogs logs = data as ArenaBattleLogs;

            logScroll.SetDataItems(logs.logs);
        }