mirror of
https://gitea.tendokyu.moe/beerpsi/sinmai-mods.git
synced 2025-02-11 16:32:59 +01:00
22 lines
570 B
C#
22 lines
570 B
C#
// ReSharper disable CheckNamespace
|
|
// ReSharper disable InconsistentNaming
|
|
|
|
using System.Globalization;
|
|
using MonoMod;
|
|
|
|
namespace MAI2System;
|
|
|
|
class patch_IniSection : IniSection
|
|
{
|
|
[MonoModIgnore]
|
|
public patch_IniSection(ref IniSection head, ref IniSection tail, string name, string value) : base(ref head, ref tail, name, value)
|
|
{
|
|
}
|
|
|
|
[MonoModReplace]
|
|
public new bool getFloatValue(out float value)
|
|
{
|
|
return float.TryParse(_variableValue, NumberStyles.Float, CultureInfo.InvariantCulture, out value);
|
|
}
|
|
}
|