blob: cea45e98b07005cc8c374c8feb6cadc1e791b200 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
namespace StardewInjector
{
public static class Config
{
public static bool EnableDebugMode
{
get
{
bool val = false;
bool.TryParse(ConfigurationManager.AppSettings["EnableDebugMode"], out val);
return val;
}
}
public static bool EnableAlwaysSpawnFishingBubble
{
get
{
bool val = false;
bool.TryParse(ConfigurationManager.AppSettings["EnableAlwaysSpawnFishingBubble"], out val);
return val;
}
}
public static bool EnableEasyFishing
{
get
{
bool val = false;
bool.TryParse(ConfigurationManager.AppSettings["EnableEasyFishing"], out val);
return val;
}
}
public static int SecondsPerTenMinutes
{
get
{
int val = 7;
int.TryParse(ConfigurationManager.AppSettings["SecondsPerTenMinutes"], out val);
return val;
}
}
public static float RunSpeed
{
get
{
float val = 1f;
float.TryParse(ConfigurationManager.AppSettings["RunSpeed"], out val);
return val;
}
}
public static bool EnableTweakedDiagonalMovement
{
get
{
bool val = false;
bool.TryParse(ConfigurationManager.AppSettings["EnableTweakedDiagonalMovement"], out val);
return val;
}
}
}
}
|