Exemple #1
0
    public void Bind(BattleModel battleModel, BattleScrollList battleScrollList)
    {
        model      = battleModel;
        scrollList = battleScrollList;

        battleNumText.text   = "第" + ConvertHelper.convertNumToStr(model.order) + "关";
        battleTitleText.text = model.battleTitle;
        statusText.text      = PrefDefine.BATTLE_STATUS[model.status];
    }
Exemple #2
0
 public void getAllBattleByChapterId(int chapterId, BattleScrollList controller)
 {
     battleController = controller;
     StartCoroutine(HttpGetAllBattleByChapterId(chapterId));
 }