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

◆ Set()

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

Definition at line 182 of file BigIntegerStorage.cs.

183 {
184 if (_nullValue == value)
185 {
186 _values[record] = BigInteger.Zero;
187 SetNullBit(record, flag: true);
188 }
189 else
190 {
191 _values[record] = ConvertToBigInteger(value, base.FormatProvider);
192 SetNullBit(record, flag: false);
193 }
194 }
static BigInteger ConvertToBigInteger(object value, IFormatProvider formatProvider)
void SetNullBit(int recordNo, bool flag)
static BigInteger Zero
Definition BigInteger.cs:32

References System.Data.Common.DataStorage._nullValue, System.Data.Common.BigIntegerStorage._values, System.Data.Common.BigIntegerStorage.ConvertToBigInteger(), System.Data.Common.DataStorage.SetNullBit(), System.value, and System.Numerics.BigInteger.Zero.