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

◆ Set()

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

Definition at line 132 of file BooleanStorage.cs.

133 {
134 if (_nullValue == value)
135 {
136 _values[record] = false;
137 SetNullBit(record, flag: true);
138 }
139 else
140 {
141 _values[record] = ((IConvertible)value).ToBoolean(base.FormatProvider);
142 SetNullBit(record, flag: false);
143 }
144 }
void SetNullBit(int recordNo, bool flag)

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