8000 Added id debug infos when option is enabled on diva/costume/valkyrie by Xele02 · Pull Request #249 · Xele02/UMO · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Added id debug infos when option is enabled on diva/costume/valkyrie #249

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 14 additions & 5 deletions Unity/Assets/UMAssets/Scripts/CKFGMNAIBNG.cs
Original file line number Diff line number Diff line change
Expand Up @@ -141,12 +141,21 @@ public void OHGOPFEOJOG_GetSkillInfo(int GHDGALFNGFJ, ref string OPFGFINHFCE, re
// // RVA: 0x107EFCC Offset: 0x107EFCC VA: 0x107EFCC
public string HCPCHEPCFEA_GetCostumeName(int LEHGKNOCLBG)
{
string res = "";
if (LEHGKNOCLBG == 0)
return OPFGFINHFCE_Name;
MessageBank bank = MessageManager.Instance.GetBank("master");
StringBuilder str = new StringBuilder(16);
str.SetFormat("cos_{0:D4}_{1:D2}", JPIDIENBGKH_CostumeId, LEHGKNOCLBG);
return bank.GetMessageByLabel(str.ToString());
{
res = OPFGFINHFCE_Name;
}
else
{
MessageBank bank = MessageManager.Instance.GetBank("master");
StringBuilder str = new StringBuilder(16);
str.SetFormat("cos_{0:D4}_{1:D2}", JPIDIENBGKH_CostumeId, LEHGKNOCLBG);
res = bank.GetMessageByLabel(str.ToString());
}
if(RuntimeSettings.CurrentSettings.DisplayIdInName)
res = "[" + JPIDIENBGKH_CostumeId + "/"+ DAJGPBLEEOB_PrismCostumeId +"] "+res;
return res;
}

// // RVA: 0x107ECCC Offset: 0x107ECCC VA: 0x107ECCC
Expand Down
4 changes: 4 additions & 0 deletions Unity/Assets/UMAssets/Scripts/FFHPBEPOMAK.cs
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ public void KHEKNNFCAOI(int AHHJLDLAPAN_DivaId, BBHNACPENDM_ServerSaveData NIMOG
CIEOBFIIPLD_Level = LDEGEHAEALK.DGCJCAHIAPP_Diva.NBIGLBMHEDC_DivaList[AHHJLDLAPAN_DivaId - 1].OKMELNIIMMO_GetDivaLevel();
AIHCEGFANAM_Serie = IMMAOANGPNK.HHCJCDFCLOB.NKEBMCIMJND_Database.MGFMPKLLGHE_Diva.CDENCMNHNGA_Divas[AHHJLDLAPAN_DivaId - 1].AIHCEGFANAM_Attr;
OPFGFINHFCE_DivaName = EJOJNFDHDHN_GetName(AHHJLDLAPAN_DivaId);
if(RuntimeSettings.CurrentSettings.DisplayIdInName)
OPFGFINHFCE_DivaName = "[" + AHHJLDLAPAN_DivaId + "] "+ OPFGFINHFCE_DivaName;
DJICAKGOGFO_SubSceneIds = new List<int>();
for(int i = 0; i < LDEGEHAEALK.DGCJCAHIAPP_Diva.NBIGLBMHEDC_DivaList[AHHJLDLAPAN_DivaId - 1].JCHHIPOPNIN; i++)
{
Expand Down Expand Up @@ -211,6 +213,8 @@ public void KHEKNNFCAOI(int AHHJLDLAPAN_DivaId, int PAOGPLDOMMI_Level, int PDEEM
FJODMPGPDDD = false;
IPJMPBANBPP_Enabled = d.PPEGAKEIEGM_Enabled == 2;
OPFGFINHFCE_DivaName = EJOJNFDHDHN_GetName(AHHJLDLAPAN_DivaId);
if(RuntimeSettings.CurrentSettings.DisplayIdInName)
OPFGFINHFCE_DivaName = "[" + AHHJLDLAPAN_DivaId + "] "+ OPFGFINHFCE_DivaName;
if(HDJOHAJPGBA_SubScene != null)
{
DJICAKGOGFO_SubSceneIds = new List<int>();
Expand Down
2 changes: 2 additions & 0 deletions Unity/Assets/UMAssets/Scripts/PNGOLKLFFLH.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ public void KHEKNNFCAOI_Init(int GPPEFLKGGGJ_ValkyrieId, int IGBFFCLMAMM_Form =
AIHCEGFANAM_Serie = valkDb.AIHCEGFANAM_Sa;
LFPHDOFDOOE = valkDb.DAJGPBLEEOB_ModelId;
IJBLEJOKEFH_ValkyrieName = MessageManager.Instance.GetMessage("master", "vn_" + GPPEFLKGGGJ_ValkyrieId.ToString("D4"));
if(RuntimeSettings.CurrentSettings.DisplayIdInName)
IJBLEJOKEFH_ValkyrieName = "["+GPPEFLKGGGJ_ValkyrieId+"] "+IJBLEJOKEFH_ValkyrieName;
MJJCKMPICIK_PilotName = MessageManager.Instance.GetMessage("master", "v_pn_" + GPPEFLKGGGJ_ValkyrieId.ToString("D4"));
KLMPFGOCBHC_ValkyrieDesc = MessageManager.Instance.GetMessage("master", "v_dsc_" + GPPEFLKGGGJ_ValkyrieId.ToString("D4"));
GJHJBLCPPKE_FormNames[0] = "" + IJBLEJOKEFH_ValkyrieName + "(F)";
Expand Down
0