2020-02-10 22:03:28 +00:00
|
|
|
|
using OWML.Common;
|
|
|
|
|
using OWML.ModHelper;
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
using UnityEngine.Networking;
|
|
|
|
|
|
2020-02-15 19:48:02 +00:00
|
|
|
|
namespace QSB
|
|
|
|
|
{
|
|
|
|
|
public class QSB : ModBehaviour
|
|
|
|
|
{
|
2020-02-13 19:34:51 +00:00
|
|
|
|
public static IModHelper Helper;
|
2020-02-10 22:03:28 +00:00
|
|
|
|
|
2020-02-15 19:48:02 +00:00
|
|
|
|
private void Awake()
|
|
|
|
|
{
|
2020-02-10 22:03:28 +00:00
|
|
|
|
Application.runInBackground = true;
|
|
|
|
|
}
|
|
|
|
|
|
2020-02-15 19:48:02 +00:00
|
|
|
|
private void Start()
|
|
|
|
|
{
|
2020-02-13 19:34:51 +00:00
|
|
|
|
Helper = ModHelper;
|
2020-02-10 22:03:28 +00:00
|
|
|
|
|
2020-02-14 21:14:24 +00:00
|
|
|
|
gameObject.AddComponent<DebugLog>();
|
2020-02-13 19:34:51 +00:00
|
|
|
|
gameObject.AddComponent<QSBNetworkManager>();
|
2020-02-13 19:23:26 +00:00
|
|
|
|
gameObject.AddComponent<NetworkManagerHUD>();
|
2020-02-28 20:32:21 +00:00
|
|
|
|
gameObject.AddComponent<RespawnOnDeath>();
|
2020-02-10 22:03:28 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|