27 return this.ints[1].ToEnum<PrefFlag>();
31 this.ints[1] = (int)value;
57 return (
float)this.ints[3] * 0.01f;
61 this.ints[3] = (int)(value * 100f);
76 this.ints[16] = value;
83 public int liquidModMax
91 this.ints[21] = value;
102 return (
float)this.ints[23] * 0.01f;
106 this.ints[23] = (int)(value * 100f);
117 return (
float)this.ints[17] * 0.01f;
121 this.ints[17] = (int)(value * 100f);
132 return (
float)this.ints[4] * 0.01f;
136 this.ints[4] = (int)(value * 100f);
147 return (
float)this.ints[5] * 0.01f;
151 this.ints[5] = (int)(value * 100f);
162 return (
float)this.ints[2] * 0.01f;
166 this.ints[2] = (int)(value * 100f);
181 this.ints[6] = value;
196 this.ints[7] = value;
211 this.ints[8] = value;
226 this.ints[9] = value;
237 return this.ints[10];
241 this.ints[10] = value;
252 return this.ints[11];
256 this.ints[11] = value;
267 return this.ints[12];
271 this.ints[12] = value;
282 return this.ints[13];
286 this.ints[13] = value;
297 return this.ints[14];
301 this.ints[14] = value;
312 return this.ints[15];
316 this.ints[15] = value;
327 return this.ints[18];
331 this.ints[18] = value;
342 return this.ints[19];
346 this.ints[19] = value;
357 return this.ints[20];
361 this.ints[20] = value;
368 public bool bypassShadow
372 return this._bits1[0];
376 this._bits1[0] = value;
386 return (this.ints[1] & 1) != 0;
396 return (this.ints[1] & 4) != 0;
406 return (this.ints[1] & 8) != 0;
411 public void OnAfterDeserialize()
413 if (this.ints.Length >= 25)
415 this._bits1.SetInt(this.ints[22]);
422 public void OnBeforeSerialize()
424 this.ints[22] = this._bits1.ToInt();
428 public void Validate()
430 if (this.ints.Length < 25)
432 Array.Resize<
int>(ref this.ints, 25);
438 public int[] ints =
new int[25];
441 public BitArray32 _bits1;