// Token: 0x060003C7 RID: 967 RVA: 0x0001DEAC File Offset: 0x0001C0AC public string getOptionString() { if (this.optionString == null) { this.optionString = NinjaUtil.replace(this.optionTemplate.name, "#", string.Empty + this.param); } return(this.optionString); }
// Token: 0x06000333 RID: 819 RVA: 0x00018B50 File Offset: 0x00016D50 public string getOptionShopstring() { string result = string.Empty; if (this.optionTemplate.id == 0 || this.optionTemplate.id == 1 || this.optionTemplate.id == 21 || this.optionTemplate.id == 22 || this.optionTemplate.id == 23 || this.optionTemplate.id == 24 || this.optionTemplate.id == 25 || this.optionTemplate.id == 26) { int num = this.param - 50 + 1; result = string.Concat(new object[] { NinjaUtil.replace(this.optionTemplate.name, "#", this.param + string.Empty), " (", num, "-", this.param, ")" }); } else if (this.optionTemplate.id == 6 || this.optionTemplate.id == 7 || this.optionTemplate.id == 8 || this.optionTemplate.id == 9 || this.optionTemplate.id == 19) { int num = this.param - 10 + 1; result = string.Concat(new object[] { NinjaUtil.replace(this.optionTemplate.name, "#", this.param + string.Empty), " (", num, "-", this.param, ")" }); } else if (this.optionTemplate.id == 2 || this.optionTemplate.id == 3 || this.optionTemplate.id == 4 || this.optionTemplate.id == 5 || this.optionTemplate.id == 10 || this.optionTemplate.id == 11 || this.optionTemplate.id == 12 || this.optionTemplate.id == 13 || this.optionTemplate.id == 14 || this.optionTemplate.id == 15 || this.optionTemplate.id == 17 || this.optionTemplate.id == 18 || this.optionTemplate.id == 20) { int num = this.param - 5 + 1; result = string.Concat(new object[] { NinjaUtil.replace(this.optionTemplate.name, "#", this.param + string.Empty), " (", num, "-", this.param, ")" }); } else if (this.optionTemplate.id == 16) { int num = this.param - 3 + 1; result = string.Concat(new object[] { NinjaUtil.replace(this.optionTemplate.name, "#", this.param + string.Empty), " (", num, "-", this.param, ")" }); } else { result = NinjaUtil.replace(this.optionTemplate.name, "#", this.param + string.Empty); } return(result); }
// Token: 0x06000332 RID: 818 RVA: 0x00004EDD File Offset: 0x000030DD public string getOptiongColor() { return(NinjaUtil.replace(this.optionTemplate.name, "$", string.Empty)); }
// Token: 0x06000331 RID: 817 RVA: 0x00004EC1 File Offset: 0x000030C1 public string getOptionName() { return(NinjaUtil.replace(this.optionTemplate.name, "+#", string.Empty)); }
// Token: 0x06000330 RID: 816 RVA: 0x00004E95 File Offset: 0x00003095 public string getOptionString() { return(NinjaUtil.replace(this.optionTemplate.name, "#", this.param + string.Empty)); }
// Token: 0x06000434 RID: 1076 RVA: 0x00005A07 File Offset: 0x00003C07 public static string replace(string str, string replacement) { return(NinjaUtil.replace(str, "#", replacement)); }