Ejemplo n.º 1
0
    public void gameEnd(Table.GameEnd end)
    {
        //QuickTips.ShowRedQuickTips("gameEnd");
        //HallPanel.Instance.load();
        //RoomPanel.Instance.DestoryPanel();

        for (int i = 0; i < end.player_records.Count; i++)
        {
            Table.PlayerRecords record = end.player_records[i];
            JiesuanController.Instance._info[record.id.idToPos()].Clear();
            JiesuanController.Instance._info[record.id.idToPos()].Add("自摸次数:" + record.zm_count);
            JiesuanController.Instance._info[record.id.idToPos()].Add("吃胡次数:" + record.hp_count);
            JiesuanController.Instance._info[record.id.idToPos()].Add("点炮次数:" + record.dp_count);
            JiesuanController.Instance._info[record.id.idToPos()].Add("暗杠次数:" + record.ag_count);
            JiesuanController.Instance._info[record.id.idToPos()].Add("明杠次数:" + record.mg_count);
            JiesuanController.Instance._info[record.id.idToPos()].Add("中马次数:" + record.mm_count);
            JiesuanController.Instance._info[record.id.idToPos()].Add("总成绩:" + record.total_score);
        }
        //GlobleTimer.Instance.SetTimer(GameConst.jiesuan,1, delegate
        //{
        //    DanjuPanel.Instance.ClosePanel();
        //    JiesuanPanel.Instance.load(end.index);
        //});
        Timer time = new Timer(delegate
        {
            Loom.QueueOnMainThread(() => {
                DanjuPanel.Instance.ClosePanel();
                JiesuanPanel.Instance.load(end.index);
            });
        }, this, GameConst.jiesuan, 0);
    }
Ejemplo n.º 2
0
 public void record(Table.PlayerRecords record)
 {
     //QuickTips.ShowRedQuickTips("收到总结算");
 }