Beispiel #1
0
 /// <summary>
 /// Sets the requested data array element in the specified bank
 /// to the integer value <CODE>i</CODE>. </summary>
 /// <param name="bank"> The bank in which you want to set the data array element. </param>
 /// <param name="i"> The data array element you want to set. </param>
 /// <param name="val"> The integer value to which you want to set the specified data array element. </param>
 /// <seealso cref= #getElem(int) </seealso>
 /// <seealso cref= #getElem(int, int) </seealso>
 public override void SetElem(int bank, int i, int val)
 {
     Bankdata[bank][i + Offsets_Renamed[bank]] = (int)val;
     TheTrackable.markDirty();
 }
Beispiel #2
0
 /// <summary>
 /// Sets the requested data array element in the first (default) bank
 /// to the specified value.
 /// </summary>
 /// <param name="i"> The data array element you want to set. </param>
 /// <param name="val"> The integer value to which you want to set the data array element. </param>
 /// <seealso cref= #getElem(int) </seealso>
 /// <seealso cref= #getElem(int, int) </seealso>
 public override void SetElem(int i, int val)
 {
     Data_Renamed[i + Offset_Renamed] = val;
     TheTrackable.markDirty();
 }
 /// <summary>
 /// Sets the requested data array element in the first (default)
 /// bank to the given <code>double</code>.
 /// </summary>
 /// <param name="i"> The desired data array element. </param>
 /// <param name="val"> The value to be set. </param>
 /// <seealso cref= #getElemDouble(int) </seealso>
 /// <seealso cref= #getElemDouble(int, int) </seealso>
 public override void SetElemDouble(int i, double val)
 {
     Data_Renamed[i + Offset_Renamed] = (float)val;
     TheTrackable.markDirty();
 }
 /// <summary>
 /// Sets the requested data array element in the specified bank
 /// from the given integer. </summary>
 /// <param name="bank"> The bank in which you want to set the data array element. </param>
 /// <param name="i"> The data array element you want to set. </param>
 /// <param name="val"> The integer value to which you want to set the specified data array element. </param>
 /// <seealso cref= #getElem(int) </seealso>
 /// <seealso cref= #getElem(int, int) </seealso>
 public override void SetElem(int bank, int i, int val)
 {
     Bankdata[bank][i + Offsets_Renamed[bank]] = unchecked ((short)(val & 0xffff));
     TheTrackable.markDirty();
 }
 /// <summary>
 /// Sets the requested data array element in the first (default) bank
 /// to the specified value.
 /// </summary>
 /// <param name="i"> The data array element you want to set. </param>
 /// <param name="val"> The integer value to which you want to set the data array element. </param>
 /// <seealso cref= #getElem(int) </seealso>
 /// <seealso cref= #getElem(int, int) </seealso>
 public override void SetElem(int i, int val)
 {
     Data_Renamed[i + Offset_Renamed] = unchecked ((short)(val & 0xffff));
     TheTrackable.markDirty();
 }
Beispiel #6
0
 /// <summary>
 /// Sets the requested data array element in the first (default)
 /// bank to the given <code>float</code>.
 /// </summary>
 /// <param name="i"> The desired data array element. </param>
 /// <param name="val"> The value to be set. </param>
 /// <seealso cref= #getElemFloat(int) </seealso>
 /// <seealso cref= #getElemFloat(int, int) </seealso>
 public override void SetElemFloat(int i, float val)
 {
     Data_Renamed[i + Offset_Renamed] = (double)val;
     TheTrackable.markDirty();
 }