Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Set()

override void System.Data.Common.Int32Storage.Set ( int record,
object value )
inline

Definition at line 220 of file Int32Storage.cs.

221 {
222 if (_nullValue == value)
223 {
224 _values[record] = 0;
225 SetNullBit(record, flag: true);
226 }
227 else
228 {
229 _values[record] = ((IConvertible)value).ToInt32(base.FormatProvider);
230 SetNullBit(record, flag: false);
231 }
232 }
void SetNullBit(int recordNo, bool flag)

References System.Data.Common.DataStorage._nullValue, System.Data.Common.Int32Storage._values, System.Xml.Dictionary, System.Data.Common.DataStorage.SetNullBit(), and System.value.