Beispiel #1
0
    private void CostumeRoomRefresh(bool refreshMyCharList, bool refreshCostumeSaleList)
    {
        CostumeRoom_Dlg costumeRoom_Dlg = NrTSingleton <FormsManager> .Instance.GetForm(G_ID.COSTUMEROOM_DLG) as CostumeRoom_Dlg;

        if (costumeRoom_Dlg == null)
        {
            return;
        }
        costumeRoom_Dlg.Refresh(refreshMyCharList, refreshCostumeSaleList);
    }
    private void UpdateMyCostumeInfo(GS_COSTUME_BUY_ACK ack)
    {
        if (ack == null)
        {
            return;
        }
        this.ShowBuyCostumeMessage(ack.i32CostumeUnique);
        NrTSingleton <NrCharCostumeTableManager> .Instance.UpdateCostumeCount(ack.i32CostumeUnique, 1, 1);

        CostumeRoom_Dlg costumeRoom_Dlg = NrTSingleton <FormsManager> .Instance.GetForm(G_ID.COSTUMEROOM_DLG) as CostumeRoom_Dlg;

        if (costumeRoom_Dlg != null)
        {
            costumeRoom_Dlg.Refresh(true, true);
        }
        Debug.Log("BuyCostumeUnique : " + ack.i32CostumeUnique);
    }