private void OnIcon(Int32 oneParameterFromTag) { String text4; Boolean flag = true; Int32 num3 = oneParameterFromTag; switch (num3) { case 34: text4 = "[sub]0[/sub]"; break; case 35: text4 = "[sub]1[/sub]"; break; case 36: case 37: case 38: IL_D2: switch (num3) { case 159: text4 = "[sup]" + Localization.Get("Miss") + "[/sup]"; break; case 160: text4 = "[sup]" + Localization.Get("Death") + "[/sup]"; break; case 161: text4 = "[sup]" + Localization.Get("Guard") + "[/sup]"; break; case 162: text4 = "[B880E0][sup]" + Localization.Get("Critical") + "[/sup][C8C8C8]"; break; case 163: text4 = "[sup]MP[/sup]"; break; default: if (num3 == 173) { text4 = "9"; } else { if (num3 == 174) { text4 = "/"; } else { if (num3 == 45) { text4 = "[sub]/[/sub]"; } else { text4 = String.Concat("[ICON", "=", oneParameterFromTag, "] "); flag = false; } } } break; } break; case 39: text4 = "[sub]5[/sub]"; break; default: goto IL_D2; } _sb.Append(text4); if (flag) { _currentWidth += NGUIText.GetTextWidthFromFF9Font(_label, FF9TextTool.RemoveOpCode(text4)); } else { _currentWidth += FF9UIDataTool.GetIconSize(oneParameterFromTag).x; } }
private void OnMobileIcon(Int32 oneParameterFromTag2) { DialogBoxConstructor.KeepMobileIcon(_sb, oneParameterFromTag2); _currentWidth += FF9UIDataTool.GetIconSize(oneParameterFromTag2).x; }