-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAutoSaveConfig.cs
More file actions
33 lines (30 loc) · 930 Bytes
/
AutoSaveConfig.cs
File metadata and controls
33 lines (30 loc) · 930 Bytes
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
using Rocket.API;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
using UnityEngine;
namespace educatalan02.AutoSaveKingModdingNetwork
{
public class AutoSaveConfig : IRocketPluginConfiguration
{
public float SaveVehiclesInterval;
public float SaveServerInterval;
public string Color;
public bool SaveServerEnabled;
public bool SaveVehiclesEnabled;
public string SaveServerMsg;
public string SaveVehiclesMsg;
public void LoadDefaults()
{
SaveServerMsg = "Saving Server...";
SaveVehiclesMsg = "Saving Vehicles...";
SaveServerEnabled = true;
SaveVehiclesEnabled = true;
SaveServerInterval = 600f;
SaveVehiclesInterval = 600f;
Color = "yellow";
}
}
}