Replaces partial EffectMgr.EffectType with all 226 decomp values; copies the IsNotNullOrEmpty/EquelsID/FindFromCardId/GetAllFuncVfxResults extension files + UI extensions; adds Renderer/MeshFilter shared-material/mesh/sortingOrder. Compile loop then closed the revealed deps (3242 files). 9.1k -> 18 errors.
42 lines
1.1 KiB
C#
42 lines
1.1 KiB
C#
using UnityEngine;
|
|
using Wizard;
|
|
using Wizard.Dialog.Setting;
|
|
|
|
public class DeckDecisionCompetition : MonoBehaviour
|
|
{
|
|
[SerializeField]
|
|
private UILabel _descTextLabel;
|
|
|
|
[SerializeField]
|
|
private UILabel _deckNameTextLabel;
|
|
|
|
[SerializeField]
|
|
private UILabel _descText2Label;
|
|
|
|
[SerializeField]
|
|
private ItemToggle _toggle;
|
|
|
|
public void Init(DeckData inDeck)
|
|
{
|
|
_descTextLabel.text = Data.SystemText.Get("Card_0006");
|
|
_deckNameTextLabel.text = Data.SystemText.Get("Card_0299", inDeck.GetDeckName());
|
|
_descText2Label.text = Data.SystemText.Get("Colosseum_0081");
|
|
SettingToggle();
|
|
}
|
|
|
|
protected ItemToggle SettingToggle()
|
|
{
|
|
SystemText systemText = Data.SystemText;
|
|
ItemToggle item = _toggle;
|
|
item.SetTitleLabel(systemText.Get("Colosseum_0085"));
|
|
item.SetValue(PlayerPrefsWrapper.GetBool(PlayerPrefsWrapper.COMPETITION_PUBLISHED_SETTING));
|
|
item.AddChangeCallback(delegate
|
|
{
|
|
bool value = item.GetValue();
|
|
PlayerPrefsWrapper.SetBool(PlayerPrefsWrapper.COMPETITION_PUBLISHED_SETTING, value);
|
|
});
|
|
item.SetActive_SeparatorLine(isActive: true);
|
|
return item;
|
|
}
|
|
}
|