15 return this.source.GetName(
null,
true);
25 return EClass.sources.charas.map[this.id];
40 this._ints[0] = value;
55 this._ints[2] = value;
70 this._ints[3] = value;
85 this._ints[4] = value;
91 public int BonusDropLv
97 return (
int)Mathf.Sqrt((
float)this.numCard * 1.5f);
106 public bool droppedCard
110 return (this._ints[1] & 2) != 0;
114 this._ints[1] = (value ? (this._ints[1] | 2) : (this._ints[1] & -3));
119 public void SetImage(Image image,
bool nativeSize =
false)
121 this.source.SetImage(image,
null, 0, nativeSize, 0, 0);
122 image.SetActive(
true);
126 public string GetTextBonus()
128 string result =
"noItem".lang();
129 if (this.BonusDropLv > 0)
131 result =
"codexBonus1".lang(this.BonusDropLv.ToString() ??
"",
null,
null,
null,
null);
141 public int[] _ints =
new int[5];