MCPcopy Create free account
hub / github.com/TheRealMJP/Shadows / IntSetting

Method IntSetting

Shadows/SettingsCompiler/SettingTypes.cs:234–240  ·  view source on GitHub ↗
(int value, FieldInfo field, string group)

Source from the content-addressed store, hash-verified

232 public int MaxValue = int.MaxValue;
233
234 public IntSetting(int value, FieldInfo field, string group)
235 : base(field, SettingType.Int, group)
236 {
237 Value = value;
238 MinValueAttribute.GetMinValue(field, ref MinValue);
239 MaxValueAttribute.GetMaxValue(field, ref MaxValue);
240 }
241
242 public override void WriteDeclaration(List<string> lines)
243 {

Callers

nothing calls this directly

Calls 2

GetMinValueMethod · 0.80
GetMaxValueMethod · 0.80

Tested by

no test coverage detected