Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathPolyTechMod.cs
More file actions
Latest commit
54 lines (47 loc) · 2.19 KB
/
Copy pathPolyTechMod.cs
File metadata and controls
54 lines (47 loc) · 2.19 KB
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
usingBepInEx;
usingSystem;
usingSystem.Collections.Generic;
usingSystem.Text;
namespacePolyTechFramework
{
publicabstractclassPolyTechMod:BaseUnityPlugin
{
publicstaticstringPluginGuid;
publicstaticstringPluginName;
publicstaticstringPluginVersion;
publicvirtualvoidenableMod()
{
Logger.LogError("enableMod() Function Not Implemented, Please Have Mod Author Fix");
if(Profile.m_NeverShowAgain.Contains(PopUpWarningCategory.OLDER_PHYSICS_ENGINE))return;
PopUpWarning.Display("Something tried to automatically enable a mod, but the mod doesn't support this feature. Try setting them manually.",PopUpWarningCategory.OLDER_PHYSICS_ENGINE);
}
publicvirtualvoiddisableMod()
{
Logger.LogError("disableMod() Function Not Implemented, Please Have Mod Author Fix");
if(Profile.m_NeverShowAgain.Contains(PopUpWarningCategory.OLDER_PHYSICS_ENGINE))return;
PopUpWarning.Display("Something tried to automatically disable a mod, but the mod doesn't support this feature. Try setting them manually.",PopUpWarningCategory.OLDER_PHYSICS_ENGINE);
}
publicvirtualstringgetSettings()
{
Logger.LogError("getSettings() Function Not Implemented, Please Have Mod Author Fix");
returnnull;
}
publicvirtualvoidsetSettings(stringsettings)
{
Logger.LogError("setSettings() Function Not Implemented, Please Have Mod Author Fix");
if(Profile.m_NeverShowAgain.Contains(PopUpWarningCategory.OLDER_PHYSICS_ENGINE))return;
PopUpWarning.Display("Something tried to automatically set the settings for a mod, but the mod doesn't support this feature. Try setting them manually.",PopUpWarningCategory.OLDER_PHYSICS_ENGINE);
}
publicvirtualbyte[]saveData(){
returnnewbyte[]{};
}
publicvirtualvoidloadData(byte[]bytes){
return;
}
publicboolisEnabled;
publicboolisCheat;
publicstringrepositoryUrl;
publicstring[]authors;
publicboolshouldSaveData;
}
}