36 lines
963 B
C#
36 lines
963 B
C#
public class PCJobUI : PCUIMenu
|
|
{
|
|
public static PCJobUI Ins;
|
|
private void Awake()
|
|
{
|
|
Ins = this;
|
|
}
|
|
|
|
public PCJobCard[] arr_jobCards;
|
|
public PCJobUI_Class m_PCJobUI_Class;
|
|
public PCJobUI_Skill m_PCJobUI_Skill;
|
|
public PCJobUI_StatBonus m_PCJobUI_StatBonus;
|
|
public PCJobUI_OpenCondition m_PCJobUI_OpenCondition;
|
|
|
|
public override void Set()
|
|
{
|
|
base.Set();
|
|
|
|
NewGameUI.Ins.m_PCUI.Set_Money(table_GlobalValue.Ins.Get_Int("n_JobMaterialID"), 0);
|
|
|
|
var lst = table_classopencondition.Ins.Get_DataList();
|
|
for (int i = 0; i < lst.Count; i++)
|
|
arr_jobCards[i].Set(lst[i]);
|
|
|
|
var id = ServerInfo.Ins.m_ServerData.Get_EqiupmentEquip(eItem.PC);
|
|
Set(id);
|
|
}
|
|
|
|
public void Set(int classid)
|
|
{
|
|
m_PCJobUI_Class.Set(classid);
|
|
m_PCJobUI_Skill.Set(classid);
|
|
m_PCJobUI_StatBonus.Set(classid);
|
|
m_PCJobUI_OpenCondition.Set(classid);
|
|
}
|
|
} |