cull(engine-cleanup): pass-8 phase-2 cascade round 1 after GachaUI stub
This commit is contained in:
@@ -134,20 +134,6 @@ public class PurchaseConfirm : MonoBehaviour
|
||||
HideJpnLawObj();
|
||||
}
|
||||
|
||||
public void ChangePurchaceConfirmTextWidth()
|
||||
{
|
||||
}
|
||||
|
||||
public void SetTicketConfirmDialog(int useItemNum, string purchaseText, int haveItemCnt, Texture icon)
|
||||
{
|
||||
SetIconImage(UserGoods.Type.Item, Item.Type.CardPackTicket, icon);
|
||||
int afterItemNum = haveItemCnt - useItemNum;
|
||||
string unit = Data.SystemText.Get("Common_0117");
|
||||
string useItemNumText = Data.SystemText.Get("Shop_0042", useItemNum.ToString());
|
||||
SetLabelText(Data.SystemText.Get("Common_0114"), useItemNumText, afterItemNum, unit, purchaseText, haveItemCnt);
|
||||
HideJpnLawObj();
|
||||
}
|
||||
|
||||
public void SetRupyConfirmDialog(int useItemNum, string purchaseText, int haveItemCnt)
|
||||
{
|
||||
SetIconImage(UserGoods.Type.Rupy);
|
||||
@@ -373,63 +359,6 @@ public class PurchaseConfirm : MonoBehaviour
|
||||
_haveObj.transform.localPosition = new Vector3(0f, -40f, 0f);
|
||||
}
|
||||
|
||||
public IEnumerator SetCardPackPoint(int beforePoint, int afterPoint)
|
||||
{
|
||||
_tablePackPoint.gameObject.SetActive(value: true);
|
||||
_labelBeforPackPoint.text = beforePoint.ToString();
|
||||
_labelAfterPackPoint.text = afterPoint.ToString();
|
||||
_confirmObj.transform.localPosition = new Vector3(0f, -32f, 0f);
|
||||
_haveObj.transform.localPosition = new Vector3(0f, 0f, 0f);
|
||||
if (_nonItemRoot != null)
|
||||
{
|
||||
_nonItemRoot.localPosition = new Vector3(0f, -12f, 0f);
|
||||
}
|
||||
yield return null;
|
||||
_tablePackPoint.Reposition();
|
||||
}
|
||||
|
||||
public IEnumerator SetCardPackPointWithPreRelease(int beforePoint, int afterPoint, int beforePrereleasePoint, int afterPrereleasePoint, bool arleadyLimitPreReleasePoint)
|
||||
{
|
||||
_tablePackPoint.gameObject.SetActive(value: true);
|
||||
_labelBeforPackPoint.text = beforePoint.ToString();
|
||||
_labelAfterPackPoint.text = afterPoint.ToString();
|
||||
_preReleasePointArleadyMax.SetActive(arleadyLimitPreReleasePoint);
|
||||
if (!arleadyLimitPreReleasePoint)
|
||||
{
|
||||
_preReleasePointTable.gameObject.SetActive(value: true);
|
||||
}
|
||||
_preReleasePointBeforeLabel.text = beforePrereleasePoint.ToString();
|
||||
_preReleasePointAfterlabel.text = afterPrereleasePoint.ToString();
|
||||
_confirmObj.transform.localPosition = new Vector3(0f, -32f, 0f);
|
||||
_haveObj.transform.localPosition = new Vector3(0f, 0f, 0f);
|
||||
_tablePackPoint.transform.localPosition = new Vector3(0f, -60f, 0f);
|
||||
yield return null;
|
||||
_tablePackPoint.Reposition();
|
||||
_preReleasePointTable.Reposition();
|
||||
}
|
||||
|
||||
public void SetFreePacksConfirmDialog(string purchaseText, int useNum, int beforeCount, int buyPackCount, string campaignName)
|
||||
{
|
||||
HideIcon();
|
||||
m_LabelUseItemCnt.text = string.Empty;
|
||||
m_LabelBuyPack.text = purchaseText;
|
||||
_haveObj.SetActive(value: false);
|
||||
_nonItemRoot.gameObject.SetActive(value: true);
|
||||
_nonItemBeforeCountLabel.text = (beforeCount / buyPackCount).ToString();
|
||||
_nonItemAfterCountLabel.text = ((beforeCount - useNum) / buyPackCount).ToString();
|
||||
_nonItemRemainingLabel.text = Data.SystemText.Get("Shop_0224");
|
||||
_nonItemUnitLabel.text = Data.SystemText.Get("Shop_0221");
|
||||
_nonItemCentering.Reposition();
|
||||
HideJpnLawObj();
|
||||
SetCampaignName(campaignName);
|
||||
}
|
||||
|
||||
public void SetFreePacksLayout()
|
||||
{
|
||||
_confirmObj.transform.localPosition = new Vector3(0f, -45f, 0f);
|
||||
_nonItemRoot.localPosition = new Vector3(0f, -24f, 0f);
|
||||
}
|
||||
|
||||
private void SetCampaignName(string name)
|
||||
{
|
||||
if (!(_campaignNameLabel == null))
|
||||
|
||||
Reference in New Issue
Block a user