-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathImmersiveConfig.h
44 lines (37 loc) · 1007 Bytes
/
ImmersiveConfig.h
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
#pragma once
#include "Config.h"
class ImmersiveConfig
{
public:
ImmersiveConfig();
static ImmersiveConfig& instance()
{
static ImmersiveConfig instance;
return instance;
}
public:
bool Initialize();
int serverPort;
bool manualAttributes;
float manualAttributesPercent;
int manualAttributesIncrease;
float sharedXpPercent;
float sharedMoneyPercent;
float sharedRepPercent;
bool sharedQuests;
bool fishingBaubles;
int sharedPercentRaceRestiction;
int sharedPercentClassRestiction;
int sharedPercentGuildRestiction;
int sharedPercentFactionRestiction;
float sharedPercentMinLevel;
int attributeLossPerDeath;
float fallDamageMultiplier;
int sharedXpPercentLevelDiff;
bool scaleModifierWorkaround;
int sharedRandomPercent;
float pauseRange;
private:
Config config;
};
#define sImmersiveConfig MaNGOS::Singleton<ImmersiveConfig>::Instance()