public override void onEndGame(string str)
    {
        // 緩存資料
        JsonData jd = JsonMapper.ToObject(str);

        if (!(bool)jd[0]["event"])
        {
            // 錯誤資訊
        }
        else
        {
            // 剖析 Cards 欄位
            string   cards    = (m_jd_onBegingame[0]["data"]["Cards"]).ToString();
            string[] tileinfo = cards.Split(',', '-');

            string str_show = "";
            for (int i = 0; i < tileinfo.Length; i++)
            {
                int num = Convert.ToInt32(tileinfo[i]);
                tileinfo[i] = num.ToString("000");
                str_show   += tileinfo[i] + " ";
            }
            LogServer.Instance.print("[Debug] tileinfo " + str_show);

            // 將資料塞入拉霸機
            slotmachine.SetTileSpriteInfo(tileinfo);

            // 依拉霸機的狀態選擇下一個按鈕的種類
            if (m_GameAppInfo.f_sm_state == SM_State.AUTOSPIN)
            {
                slotmachine.OnClick_StartStop_Immediate();
                // 顯示停止自動轉的按鍵
                guiManager.AllowAutoStop();
            }
            else
            {
                slotmachine.OnClick_StartStop();

                // 顯示 停止鍵
                guiManager.AllowStop();
            }

            string[] values = (jd[0]["data"]["Credit"]).ToString().Split('.');

            m_GameAppInfo.credit_endgame = Convert.ToInt32(values[0]);
        }
    }